Today I installed anaconda 5.0.1 (Python 3.6) and Pytorch by command: conda install pytorch -c pytorch. It installs automatically cuda toolkit and pytorch. However, when I run my python program on GPU, I meet this error:
Yes, I’ve already restarted my PC, but there’s no change. Whether cuda 9 accompanied by Pytorch installation is not compatible with NVIDIA Card? How can I install Pytorch with default cuda which has been installed on PC instead of cuda 9 toolkit?
If you want to use default CUDA then installing from source is the only way I know of, because cuda is provided by default with conda/ pip wheel binaries.