Pytorch-Correlation-extension
Pytorch-Correlation-extension copied to clipboard
Is it necessary to use CUDA10 and gcc7?
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!