Install CUDA and CUDNN in Linux environment

NVIDIA driver

  • Check whether the graphics card driver is installed through nvidia-smi. The installed display in the figure below shows that the version number of the graphics card driver (Driver Version) is 415.27
    insert image description here

  • Query the graphics card model and select the installed driver version

        lspci |grep -i vga
    
  • Query the corresponding version through the PCI ID of the NVIDIA graphics card

    List: http://pci-ids.ucw.cz/read/PC/10de
    Query: http://pci-ids.ucw.cz/mods/PC/10de?action=help?help=pci

  • Select the appropriate graphics card driver, address , and download the run file according to the graphics card model

  • Install the driver sh .run文件存放的路径and the installation is successful

  • View the recommended nvidia version for installation through ubuntu-drivers devices

  • NVIDIA driver download

Guess you like

Origin blog.csdn.net/u013308709/article/details/132248991