Closed liyun-lu closed 3 years ago
You need to have a driver targeting your GPU installed.
Because I am running on a server. I cannot find the location of cuda. I don't have nvcc. But when I execute nvidia-smi, it shows that there is a driver430.50 and cuda 10.1. It's on lab machine so I don't know how it had been installed. How i should do? Thank.
@liyun-lu This is something you need to ask your server admin. If this is a cluster, it could be that you need to activate the CUDA environment on the compute nodes via module load
or some other mechanisms. Your admin knows the best. Once the driver is loaded correctly, nvidia-smi
should give you correct outputs anywhere that has an NVIDIA GPU, and the output of conda info
would contain a virtual package called __cuda
that captures the corresponding driver version.
Thank you very much for your reply! After I asked the administrator for the CUDA installation path, after adding the CUDA_PATH and LD_LIBRARY_PATH environment variables, the problem was resolved. By the way, if someone encounters the same problem as me, you can go to my blog to view the details of the solution. The link is: https://blog.csdn.net/qq_36484003/article/details/118369276
Glad to know your admin was able to help!
Issue:my order is: conda install -c conda-forge cupy cudatoolkit=10.1
but when I import cupy ,there are some error.
Environment (
conda list
):Details about
conda
and system (conda info
):Error (
import cupy
):