CUDA和cuDNN在Windows上的安装问题

2024-01-12

我正在检查系统上的 CUDA 和 cuDNN 安装,并有几个观察结果:

  1. CUDA有两个版本,9.0和11.2
  2. 只在CUDA 9.0的安装目录下找到cuDNN
  3. CUDA 9.0目录下有cudafe.exe,而CUDA 11.2目录下没有

按照目前的情况,是否需要卸载其中一个CUDA版本以避免冲突?


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 https://developer.nvidia.com/cudnn 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

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

CUDA和cuDNN在Windows上的安装问题 的相关文章

随机推荐