安装cudnn

下载:

https://developer.nvidia.com/rdp/form/cudnn-download-survey

解压,执行


 sudo cp cuda/include/cudnn*.h /usr/local/cuda/include 
 sudo cp -P cuda/lib64/libcudnn* /usr/local/cuda/lib64 
 sudo chmod a+r /usr/local/cuda/include/cudnn*.h /usr/local/cuda/lib64/libcudnn*


是否安装成功

cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2

posted @ 2021-12-10 15:47  wuyuan2011woaini  阅读(40)  评论(0编辑  收藏  举报