I want to use PyTorch with cuda support, and here is what I am usually doing when starting a new project:
conda create -n ‘myproject’
conda activate ‘myproject’
Then, in order to install PyTorch, I go to the site
and choose what I require:
Stable, Linux, Conda, Python, Cuda 11.8 (I got a 4090, and with 11.7 it was somehow slow). I copy paste the command and install everything. Is this the correct way? Am I missing something?
Because, with that approach I just got the error :
Could not load library libcudnn_cnn_infer.so.8. Error: libnvrtc.so: cannot open shared object file: No such file or directory
Do I still need to install the nvidia cuda toolkit ?