Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Err: source code compile #215

Open
chenbq18 opened this issue May 18, 2024 · 3 comments
Open

Err: source code compile #215

chenbq18 opened this issue May 18, 2024 · 3 comments

Comments

@chenbq18
Copy link

In conda ven, python setup.py install
but have sub err apper!!

/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h:409:113: error: use of deleted function ‘torch::jit::Module::Module(torch::jit::Module&&)’
409 | bool return_module) // if true include root itself as the first thing
| ^
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h:93:1: note: declared here
93 | Module(Module&&) noexcept = default;
| ^ ~~~~
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h: At global scope:
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:141:1: warning: attribute ignored [-Wattributes]
141 | STRONG_NODISCARD
| ^
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:141:1: note: an attribute that appertains to a type-specifier is ignored
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:143:1: warning: attribute ignored [-Wattributes]
143 | STRONG_NODISCARD
| ^
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:143:1: note: an attribute that appertains to a type-specifier is ignored
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:145:1: warning: attribute ignored [-Wattributes]
145 | STRONG_NODISCARD
| ^
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:145:1: note: an attribute that appertains to a type-specifier is ignored
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:222:1: warning: attribute ignored [-Wattributes]
222 | STRONG_NODISCARD
| ^
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:222:1: note: an attribute that appertains to a type-specifier is ignored
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:235:1: warning: attribute ignored [-Wattributes]
235 | STRONG_NODISCARD
| ^
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:235:1: note: an attribute that appertains to a type-specifier is ignored
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:258:1: warning: attribute ignored [-Wattributes]
258 | STRONG_NODISCARD
| ^
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:258:1: note: an attribute that appertains to a type-specifier is ignored
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:267:1: warning: attribute ignored [-Wattributes]
267 | STRONG_NODISCARD
| ^
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:267:1: note: an attribute that appertains to a type-specifier is ignored
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:276:1: warning: attribute ignored [-Wattributes]
276 | STRONG_NODISCARD
| ^
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:276:1: note: an attribute that appertains to a type-specifier is ignored
/pubhome/bqchen02/app/mambaforge/envs/torch/lib/python3.12/site-packages/torch/include/c10/util/strong_type.h:285:1: warning: attribute ignored [-Wattributes]
285 | STRONG_NODISCARD

@chenbq18 chenbq18 changed the title Err: source code complication Err: source code compile May 18, 2024
@rusty1s
Copy link
Owner

rusty1s commented May 19, 2024

Can you share a bit more information about your system (OS, Python PyTorch version)?

@chenbq18
Copy link
Author

Thank you reply!
I try install in super-computer. The linux kernel is 4.18.0-425.19.2.el8_7.x86_64!

@rusty1s
Copy link
Owner

rusty1s commented May 19, 2024

And your PyTorch version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants