➜ ~ cat /usr/local/cuda/include/cudnn_version.h| grep CUDNN_MAJOR -A 2
可见cudnn版本是8.2.4
➜ ~ nvidia-smi ![](/i/l/?n=22&i=blog/1233571/202211/1233571-20221124144701747-1367345261.png)
➜ ~ cat /usr/local/cuda/include/cudnn_version.h| grep CUDNN_MAJOR -A 2