-
Notifications
You must be signed in to change notification settings - Fork 76
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
Is it necessary to use CUDA10 and gcc7? #116
Comments
Hi, thank you for your interest in this repo. Yes you are right, this comment on the README is totally outdated, dates back from 2019 where it was an actual issue. I will remove it to avoid confusion. Now for your problem, I would suggest using the Try this command and see where we go from there.
|
Well, I added '-- no build dissolution', but running the project reported the same error 'ImportError:/home/hp/anaconda3/env/Ivy/lib/python3.8/site-packagingsampler_backend.cpyton-38-x86_64-linux-gnu.so: undefined symbol: _ZN3c104impl8GPUTrace13gpuTraceStateE'. I tried to lower Pytorch to 10.0 and gcc to 7.0, but some of the library packages on my virtual environment no longer work. I can't think of a better way. Thank you still for your help! |
From the comments, I suppose you could build the package, but the link did not happen against the right pytorch. If you have a mismatch between the running pytorch version and the version used for building, you will have this kind of error messages. I cannot help you much with only this info, but you probably want to investigate if you have multiple version of pytorch installed in your sessions, and which one is used a build time and at run time. |
Hello, thank you for your work!
My system is Ubuntu 22, and I want to add spatial-correction-sampler to the virtual environment of the project. However, I cannot directly use 'pip install spatial-correction-sampler'. Then I tried to find a solution and finally used the command 'CC=/var/bin/gcc-11 CXX=/var/bin/g++-11 CUDA-HOME=usr/local/CUDA-12.4/pip install spatial-correction-sampler' to complete the installation.
However, when I was running my project, the terminal reported an error saying: 'ImportError:/home/hp/anaconda3/env/Ivy/lib/python3.8/site-packagingsampler_backend.cpyton-38-x86_64-linux-gnu.so: undefined symbol: _ZN3c104impl8GPUTrace13gpuTraceStateE'. This may be because it is not compatible with certain library versions. I noticed that the homepage recommends using the specified versions of CUDA and gcc, such as CUDA10.0 requiring gcc7. However, some library packages in the project depend on higher versions of gcc and pytorch. I really hope that spatial correction sampler can coexist harmoniously with other libraries. Do you have any good suggestions on this? Looking forward to your reply, thank you!
The text was updated successfully, but these errors were encountered: