NVIDIA NVML Driver/library version mismatch

后端 未结 19 1836
无人及你
无人及你 2021-01-29 17:15

When I run nvidia-smi I get the following message:

Failed to initialize NVML: Driver/library version mismatch

An hour ago I receiv

19条回答
  •  伪装坚强ぢ
    2021-01-29 18:04

    I experienced this problem after a normal kernel update on a CentOS machine. Since all CUDA and nVidia drivers and libraries have been installed via YUM repositories, I managed to solve the issues using the following steps:

    sudo yum remove nvidia-driver-*
    sudo reboot
    sudo yum install nvidia-driver-cuda nvidia-modprobe
    sudo modprobe nvidia # or just reboot
    

    It made sure my kernel and my nVidia driver are consistent. I reckon that just rebooting may result in wrong version of kernel module being loaded.

提交回复
热议问题