[NV] How to check CUDA and cuDNN version

cat /usr/local/cuda/version.txt

If the script above doesn’t work, try this:

nvcc  --version

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

To check GPU Card info, deep learner might use this all the time.

nvidia-smi

The following result tell us that: you have three GTX-1080ti, which are gpu0, gpu1, gpu2.

Gpu1 is running by other people.

Python (Show what version of tensorflow in your PC.)

python -c 'import tensorflow as tf; print(tf.__version__)'  
# for Python 2
python3 -c 'import tensorflow as tf; print(tf.__version__)'
# for Python 3