user288609
user288609

Reputation: 13015

Installation issue of CUDA and cuDNN on Windows

I am checking the CUDA and cuDNN installation on a system, and have several observations:

  1. CUDA has two versions, 9.0 and 11.2
  2. cuDNN was only found in the installation directory of CUDA 9.0
  3. In the directory of CUDA 9.0, it has cudafe.exe while the directory of CUDA 11.2 does not have

In accordance with the current scenario, do I have to uninstall one of CUDA versions to avoid conflict?

enter image description here

Upvotes: 3

Views: 3622

Answers (1)

AbdelAziz AbdelLatef
AbdelAziz AbdelLatef

Reputation: 3744

You can have both versions together. However, you can only use one of them a time. For cuDNN, you will need to download it from here for CUDA 11.2, and put the files in "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2". Finally, make sure you set the system path to the desired version. For example, if you want CUDA 11.2, then open "Environment Variables", and make sure that both "CUDA_PATH" and "CUDNN" are "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2". Also it must inside the variable "Path". enter image description here enter image description here

Upvotes: 3

Related Questions