Closed Sissi-lu closed 1 day ago
please check the cuda version under the directory from torch.utils import cpp_extension; print(cpp_extension.CUDA_HOME)
.
Thank you for your quick response. I checked in this way and found out it is usr/local/cuda-10.1
.
So what can I do next?
Thanks again.
A simple workaround maybe creating a symbolic link to your installed cuda-11.7, i.e., cd /usr/local; sudo ln -s /your/path/to/cuda-11.7 cuda
.
Hi, thank you for your response. I cannot use the sudo order, so I found another way to solve this problem. Write in here to remind me:
conda install nvidia/label/cuda-11.7.0::cuda-nvcc
conda install nvidia/label/cuda-11.7.0::cuda-libraries-dev
export CUDA_HOME=/your/environment/path
export LD_LIBRARES_PATH=/xxxx/.conda/envs/NMRF/lib ls -la /xxx/.conda/envs/NMRF/lib/libcudart.so
Thank you again for helping me identify the difference between torch.version.cuda
and cpp_extension.CUDA_HOME
.
Hi, thanks for your wonderful work!
When I establish the environment for running the ops/make.sh. A error occurs as follows:
The detected CUDA version (10.1) mismatches the version that was used to compile PyTorch (11.7). Please make sure to use the same CUDA versions.
However, I have installed the exact pytorch==1.13 and cuda version==11.7.
How can I solve this problem?
Thanks in advance!