首页 Paddle框架 帖子详情
paddle安装后cuDNN有提示错误
收藏
快速回复
Paddle框架 文章炼丹技巧 4253 20
paddle安装后cuDNN有提示错误
收藏
快速回复
Paddle框架 文章炼丹技巧 4253 20

请教一下有关于安装的问题

GPU:GTX1660TI   CUDA:11.2

安装好CUDA和cuDNN之后

运行paddle.utils.run_check()

报警告:The installed Paddle is compiled with CUDNN 8.2, but CUDNN version in your machine is 8.1, which may cause serious incompatible bug. Please recompile or reinstall Paddle with compatible CUDNN version.

我已经下载了cuDNN8.2.2的版本也正确安装了,这个问题有大佬遇到并解决过么,求教,感谢

0
收藏
回复
全部评论(20)
时间顺序
DeepGeGe
#2 回复于2021-12

我觉得应该是环境变量的问题,你安装了cudnn8.1和8.2,但是找到了8.2。可以先将8.1的环境变量给移除掉。

0
回复
呵呵灬不说话
#3 回复于2021-12
我觉得应该是环境变量的问题,你安装了cudnn8.1和8.2,但是找到了8.2。可以先将8.1的环境变量给移除掉。

cuDNN不是下载后将几个文件夹复制到CUDA的C盘安装目录下么,有设置过环境变量吗?

0
回复
DeepGeGe
#5 回复于2021-12
cuDNN不是下载后将几个文件夹复制到CUDA的C盘安装目录下么,有设置过环境变量吗?

啊……这……

好像是的,是CUDA安装需要去设置环境变量。。。

不过他这里说可能会有问题,要不实际有问题时候再说?

或许是你的CUDA有多个版本?

0
回复
呵呵灬不说话
#6 回复于2021-12
啊……这…… 好像是的,是CUDA安装需要去设置环境变量。。。 不过他这里说可能会有问题,要不实际有问题时候再说? 或许是你的CUDA有多个版本?

没有的,我在anconda虚拟环境里安装的,运行了官网的conda install paddlepaddle-gpu==2.2.1 cudatoolkit=11.2 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/Paddle/ -c conda-forge这个安装指令,conda list出来的cuDNN就是8.1版本,很奇怪,似乎自己手动安装的根本没有起效

0
回复
Y_kira
#7 回复于2021-12

你把这个路径下截图。我看下C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin

0
回复
Y_kira
#8 回复于2021-12
Y_kira #7
你把这个路径下截图。我看下C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin

v10.2换成你自己的

0
回复
呵呵灬不说话
#9 回复于2022-01
Y_kira #8
v10.2换成你自己的

 

老哥帮忙看看呢,我现在使用是没问题的

就是有警告

Running verify PaddlePaddle program ...
W0104 09:58:23.099630 7912 device_context.cc:447] Please NOTE: device: 0, GPU Compute Capability: 7.5, Driver API Version: 11.2, Runtime API Version: 11.2
W0104 09:58:23.109603 7912 device_context.cc:465] device: 0, cuDNN Version: 8.1.
W0104 09:58:24.399132 7912 device_context.h:397] WARNING: device: 0. The installed Paddle is compiled with CUDNN 8.2, but CUDNN version in your machine is 8.1, which may cause serious incompatible bug. Please recompile or reinstall Paddle with compatible CUDNN version.
PaddlePaddle works well on 1 GPU.
PaddlePaddle works well on 1 GPUs.
PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now.

0
回复
Y_kira
#10 回复于2022-01
[图片]   老哥帮忙看看呢,我现在使用是没问题的 就是有警告 Running verify PaddlePaddle program ... W0104 09:58:23.099630 7912 device_context.cc:447] Please NOTE: device: 0, GPU Compute Capability: 7.5, Driver API Version: 11.2, Runtime API Version: 11.2 W0104 09:58:23.109603 7912 device_context.cc:465] device: 0, cuDNN Version: 8.1. W0104 09:58:24.399132 7912 device_context.h:397] WARNING: device: 0. The installed Paddle is compiled with CUDNN 8.2, but CUDNN version in your machine is 8.1, which may cause serious incompatible bug. Please recompile or reinstall Paddle with compatible CUDNN version. PaddlePaddle works well on 1 GPU. PaddlePaddle works well on 1 GPUs. PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now.
展开

我昨天帮别人装也遇到这个warning了。我待会问问。然后回你

0
回复
呵呵灬不说话
#11 回复于2022-01
Y_kira #10
我昨天帮别人装也遇到这个warning了。我待会问问。然后回你

感谢老哥

0
回复
Y_kira
#12 回复于2022-01
感谢老哥

我提了issue,他说排查下

0
回复
呵呵灬不说话
#13 回复于2022-01
Y_kira #12
我提了issue,他说排查下

好的,感谢啦

0
回复
肉肉不能吃
#14 回复于2022-01
[图片]   老哥帮忙看看呢,我现在使用是没问题的 就是有警告 Running verify PaddlePaddle program ... W0104 09:58:23.099630 7912 device_context.cc:447] Please NOTE: device: 0, GPU Compute Capability: 7.5, Driver API Version: 11.2, Runtime API Version: 11.2 W0104 09:58:23.109603 7912 device_context.cc:465] device: 0, cuDNN Version: 8.1. W0104 09:58:24.399132 7912 device_context.h:397] WARNING: device: 0. The installed Paddle is compiled with CUDNN 8.2, but CUDNN version in your machine is 8.1, which may cause serious incompatible bug. Please recompile or reinstall Paddle with compatible CUDNN version. PaddlePaddle works well on 1 GPU. PaddlePaddle works well on 1 GPUs. PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now.
展开

我也是同样的问题 ,不知道兄台解决了吗?

0
回复
呵呵灬不说话
#15 回复于2022-01
我也是同样的问题 ,不知道兄台解决了吗?

楼上的大佬在解决,还没回复我,我暂时用起来没啥问题

0
回复
肉肉不能吃
#16 回复于2022-01
楼上的大佬在解决,还没回复我,我暂时用起来没啥问题

 已经解决了,

我也不知道啥原因,

把CUDNN换个低点的版本就好了,嘿嘿

应该是我的CUDA 和CUDNN版本不对

CUDA10.2,CUDNN 7  我的就好了。。

0
回复
d
dfdfdfd1
#17 回复于2022-03

我也遇到这个问题了。。。

0
回复
fi_Past
#18 回复于2022-03

可能版本不对应

0
回复
fi_Past
#19 回复于2022-03

建议安装前到官网查一下对应情况

0
回复
U
Ult-1
#20 回复于2022-04

俺也一样啊

0
回复
灵墨韵书香
#23 回复于2022-08

解决了吗 我也是这个问题WARNING: device: . The installed Paddle is compiled with CUDNN 8.1, but CUDNN version in your machine is 8.0, which may cause serious incompatible bug. 

我之前cudnn是8.2.1,改成8.1.1还是不行

0
回复
叶雨月曦
#24 回复于2024-03

Cuda12.1和Cudnn8.9也遇到了这个问题,所以有解决办法吗

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户