Help Center/ ModelArts/ FAQs/ Training Jobs/ Functional Consulting/ How Do I Obtain the CUDA and cuDNN Versions of a Custom Image?
Updated on 2023-01-11 GMT+08:00

How Do I Obtain the CUDA and cuDNN Versions of a Custom Image?

Obtain a CUDA version:

cat /usr/local/cuda/version.txt

Obtain a cuDNN version:

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