查看 CUDA 版本: cat /usr/local/cuda/version.txt 查看 cuDNN 版本: cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2 可知: CUDA:9.0.176 cuDNN:7.0.5