查看cuda版本
cat /usr/local/cuda/version.txt
查看CUDNN版本
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
查看pytorch版本
torch.__version__
查看tensorflow版本
tf.__version__
Linux查看glibc安装版本
64bit:strings /lib64/libc.so.6 |grep GLIBC
32bit:strings /lib/libc.so.6 |grep GLIBC