RuntimeError: (PreconditionNotMet) Cannot load cudnn shared library. Cannot invoke method cudnnGetVersion. [Hint: cudnn_dso_handle should not be null.] (at /paddle/paddle/phi/backends/dynload/cudnn.cc:64) #12679
-
请提供下述完整信息以便快速定位问题/Please provide the following information to quickly locate the problem
请尽量不要包含图片在问题中/Please try to not include the image in the issue. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
请问你这是在运行什么命令或者做什么操作的时候报错的 |
Beta Was this translation helpful? Give feedback.
-
Getting same error when calling the model in concurrently also when the Memory gets consumed and not released. |
Beta Was this translation helpful? Give feedback.
-
same cuda 12.4 [Hint: cudnn_dso_handle should not be null.] (at /paddle/paddle/phi/backends/dynload/cudnn.cc:64) |
Beta Was this translation helpful? Give feedback.
-
对系统cuda11.8的支持非常好,一次性就能安装成功,对新的cuda12.4支持不友好,各种试错,最终大概步骤如下,不一定保真,哈哈哈 1.CUDA11.8 包含 cuDNN 动态链接库的 PaddlePaddle,需要先使用如下命令将 wheel 包下载到本地,再使用 2.确保环境中安装有以下包:(版本号仅供参考) 3.如安装有paddleocr,请卸载(好像用不着) 4.如果已经安装paddlepaddle-gpu,重装为2.6.0的版本 5.设置以下缺失的动态库: ※ 确保系统环境变量设置为: ※ 根据上面的四个动态库,依次执行下面操作步骤: 6.进入项目,开启日志: 希望以上操作能帮上您! |
Beta Was this translation helpful? Give feedback.
-
Cuda 11.8 有一样的问题, |
Beta Was this translation helpful? Give feedback.
-
installing the following ones helped me to solve: sudo apt-get install libcudnn8 |
Beta Was this translation helpful? Give feedback.
对系统cuda11.8的支持非常好,一次性就能安装成功,对新的cuda12.4支持不友好,各种试错,最终大概步骤如下,不一定保真,哈哈哈
1.CUDA11.8 包含 cuDNN 动态链接库的 PaddlePaddle,需要先使用如下命令将 wheel 包下载到本地,再使用
python3 -m pip install [name].whl
本地安装([name]为 wheel 包名称):https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/linux-pip.html
2.确保环境中安装有以下包:(版本号仅供参考)
nvidia-cublas-cu12 12.1.3.1 pypi_0 pypi
nvidia-cuda-cupti-cu12 12.1.105 pypi_0 pypi
nvidia-cuda-nvrtc-cu12 12.1.105 pypi_0 pypi
nvidia-cuda-runtime-cu12 12.1.105 pypi_0 pypi
nvidia-cudnn-cu12 8.9.2.26 pypi_0 pypi
nvidia-cufft-cu12 11.0.2.54 pypi_0 pypi
nvidia-curand-cu12 10.3.2.106 pypi_0 pypi
nvidia-cusolver-cu12 11.4.5.107 pypi_0 pypi
nvidia-cusparse-cu12 12.1.0.106 pypi_…