cat /usr/local/cuda/include/cudnn_version.h | grep CUDNN_MAJOR -A 2 Use code with caution. Copied to clipboard
: Look for the version definition in cudnn_version.h : cudnn-11.2-linux-x64-v8.1.1.33.tgz
sudo cp cuda/include/cudnn*.h /usr/local/cuda/include sudo cp -P cuda/lib64/libcudnn* /usr/local/cuda/lib64 Use code with caution. Copied to clipboard cat /usr/local/cuda/include/cudnn_version
You should see values representing , Minor 1 , and Patch 1 . Troubleshooting cudnn-11.2-linux-x64-v8.1.1.33.tgz
:Open your terminal and navigate to the download folder. Use the following command to extract the .tgz file: tar -xzvf cudnn-11.2-linux-x64-v8.1.1.33.tgz Use code with caution. Copied to clipboard