How can I check if cuDNN is installed on Linux?

To check if CUDNN is installed on a Linux system, you can follow these steps:

  1. Open the terminal window (Ctrl+Alt+T).
  2. Run the following command to check the CUDA version:
cat /usr/include/cudnn_version.h | grep CUDNN_MAJOR -A 2
  1. If CUDNN is installed, the version information of CUDNN will be displayed. If CUDNN is not installed, no information will be shown.

In addition, you can also check the versions of CUDA and CUDNN with the following commands:

nvidia-smi

This will display detailed information about your NVIDIA graphics card, including the installed versions of CUDA and CUDNN.

Leave a Reply 0

Your email address will not be published. Required fields are marked *


广告
Closing in 10 seconds
bannerAds