-
Notifications
You must be signed in to change notification settings - Fork 836
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
Error building cuda packages #125
Comments
I'm getting the same issue. Running CUDA 11 on WSL 2, if it helps. I'm also getting lots of compilation errors and warnings, likely due to Edit: just saw issue #118 and realized I was using PyTorch 1.7.1 while the latest supported version for DAIN is 1.4.0. Will be compiling PyTorch 1.4.0 from source for CUDA 11 and see if that fixes anything. Might want to update the README to reflect this version requirement |
Have you been able to compile 1.4.0 with CUDA 11? I am not able to do it yet. |
I appear to have been able to get it working. Here's what I had to do, based on a few issues I read up on.
|
Manually setting the cxx and nvcc parameters in
I am using
Moreover, remember change |
@YouweiLyu, is it too much to ask to share a walk-through on how to build/install it with CUDA 11.1? I am getting so many errors it would be useless to share them here (maybe)... Could you tell me which are the codes that need to be adapted for PyTorch 1.7.1.? I am using: Ubuntu 20.04 I changed the PyTorch as you recommended to my env name in ./build.sh but still does not work... All help is appreciated! |
|
Hey, thanks for that @michaelmaverick! But it is not the problem, as I had already changed what it states in your .txt file... And still nothing. |
If you do not want to build CUDA programs. |
I tried to build CUDA packages during the installation phases and I get a runtime error. Here are the commands I implemented:
After this, I get a runtime error:
How do I solve this?
Note: I see that the compilation is done using D_GLIBCXX_USE_CX11_ABI=0 but I know that my machine requires D_GLIBCXX_USE_CX11_ABI=1. This might solve the issue but I don't know how to set this flag in setup.py.
Any help is appreciated. Thanks!
The text was updated successfully, but these errors were encountered: