NVIDIA NVML Driver/library version mismatch

后端 未结 19 1846
无人及你
无人及你 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:09

    These answers not worked for me:

    https://stackoverflow.com/a/43023000/1179925

    https://stackoverflow.com/a/45319156/1179925

    https://stackoverflow.com/a/54349675/1179925

    dmesg

    NVRM: API mismatch: the client has the version 418.67, but
    NVRM: this kernel module has the version 430.26.  Please
    NVRM: make sure that this kernel module and all NVIDIA driver
    NVRM: components have the same version.
    

    Uninstall old driver 418.67 and install new driver 430.26 (download NVIDIA-Linux-x86_64-430.26.run):

    sudo apt-get --purge remove "*nvidia*"
    sudo /usr/bin/nvidia-uninstall
    chmod +x NVIDIA-Linux-x86_64-430.26.run
    sudo ./NVIDIA-Linux-x86_64-430.26.run
    [ignore abort]
    

    cat /proc/driver/nvidia/version

    NVRM version: NVIDIA UNIX x86_64 Kernel Module  430.26  Tue Jun  4 17:40:52 CDT 2019
    GCC version:  gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
    

提交回复
热议问题