-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Unable to build cuda extension with pytorch 1.5 #40663
Comments
Did you set -std=c++14 in setup.py? |
I have changed it from c++11 to c++14. It does not work. |
@lawpdas |
@glaringlee Yes, ninja 1.9.0 has been installed in my conda environment. |
Stuck with same error kindly help. PyTorch 1.5. |
@glaringlee Actually I have PyTorch 1.5.1 and I am working with VS Code , Windows 10. |
Can you guys post your cuda version, complier and version, and related env parameters? @nnuk can you try latest master brunch? and make sure you compiled your code with c++14 supported There is a similar error which is solved by upgrading cuda version. |
Cuda -> 10.1 |
@nnuk can you try pytorch in master brunch? |
@glaringlee I built it with pytorch1.5.1 and nightly. Both them are installed by `conda install'. I tried to clone the latest pytorch from master, but I got another error when I built it : ( I also found other errors
|
@lawpdas can you please share a full build log (including output from configure)? |
I cannot build pytorch source code with cuda10.2 #40909, but now I can build pytorch with cuda10.0. |
Hi, I tried to build an extension correlation layer. This extension can be built with pytorch1.4. However, I cannot build it with pytorch1.5 and nightly.
The error message:
cc @malfet @yf225 @glaringlee
The text was updated successfully, but these errors were encountered: