how to check cuda version code example
Example 1: how to check cuda version
nvcc --version
Example 2: check cuda version python
nvcc --version
Example 3: check for cuda version
nvidia-smi
nvcc --version
Example 4: check cuda nn version
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2orcat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2