新安装了 paddle2.1 win pip cuda10.2的版本,提示cudnn64_7.dll找不到,但是新安装的cuda10.2的是64_8,怎么办?
我的安装命令
python -m pip install paddlepaddle-gpu -i https://mirror.baidu.com/pypi/simple
报错信息
RuntimeError: (PreconditionNotMet) The third-party dynamic library (cudnn64_7.dll) that Paddle depends on is not configured correctly. (error code is 126)
Suggestions:
1. Check if the third-party dynamic library (e.g. CUDA, CUDNN) is installed correctly and its version is matched with paddlepaddle you installed.
2. Configure third-party dynamic library environment variables as follows:
- Linux: set LD_LIBRARY_PATH by `export LD_LIBRARY_PATH=...`
- Windows: set PATH by `set PATH=XXX; (at C:\home\workspace\Paddle_release\paddle\fluid\platform\dynload\dynamic_loader.cc:265)
我的cudnn
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\cudnn64_8.dll
已经没事了,原来cudnn还可以选7的版本进行安装
哈哈哈哈哈,可以做版本回退,哈哈哈哈哈
>>> import paddle
C:\Users\b\AppData\Local\Programs\Python\Python37\lib\site-packages\setuptools\depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
>>> paddle.utils.run_check()
Running verify PaddlePaddle program ...
W0927 22:53:07.566341 9288 device_context.cc:404] Please NOTE: device: 0, GPU Compute Capability: 8.6, Driver API Version: 11.2, Runtime API Version: 10.2
W0927 22:53:07.574260 9288 device_context.cc:422] device: 0, cuDNN Version: 7.6.
我的一直卡在这里没有报错,也没有任何返回,这个是什么问题呢???各位大神
cuda 10.2可以用 cudnn7的,nvidia 官网有
我的报错了cudnn64_7.dll缺失
看我的帖子https://aistudio.baidu.com/paddle/forum/topic/show/992223
卡住有可能是显卡兼容的问题,30系列的显卡建议要cuda11.2。
看你算力应该是30显卡。30显卡,必须要cuda11。建议cuda11.2