We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I could not import correlation_cuda and got this error everytime I import it:
correlation_cuda-0.0.0-py3.6-linux-x86_64.egg/correlation_cuda.cpython-36m-x86_64-linux-gnu.so: undefined symbol: THPVariableClass
I use torch-1.7.1+cu110 torchaudio-0.7.2 torchvision-0.8.2+cu110
The text was updated successfully, but these errors were encountered:
I have the exact same issue. It seems you are constrained to use lower PyTorch versions
Sorry, something went wrong.
There are 3 steps to solve this issue in my environment :1. setup.py ,edit ‘nvcc_args’ like this :nvcc_args = [ # '-gencode', 'arch=compute_50,code=sm_50', # '-gencode', 'arch=compute_52,code=sm_52', # '-gencode', 'arch=compute_60,code=sm_60', # '-gencode', 'arch=compute_61,code=sm_61', # '-gencode', 'arch=compute_70,code=sm_70', # '-gencode', 'arch=compute_70,code=compute_70' '-gencode', 'arch=compute_86,code=sm_86', '-gencode', 'arch=compute_86,code=compute_86' ]; 2. setup.py ,edit ‘cxx_args’ like this :# cxx_args = ['-std=c++11'] cxx_args = ['-std=c++14']; 3. setup.py ,edit ‘cmdclass’ like this :# cmdclass={'build_ext': BuildExtension}, cmdclass={'build_ext': BuildExtension.with_options(use_ninja=False)}.
No branches or pull requests
I could not import correlation_cuda and got this error everytime I import it:
I use torch-1.7.1+cu110 torchaudio-0.7.2 torchvision-0.8.2+cu110
The text was updated successfully, but these errors were encountered: