cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runtime version

后端 未结 6 546
时光取名叫无心
时光取名叫无心 2021-02-06 03:15

I get the following error when l run tensorflow in GPU.

2018-09-15 18:56:51.011724: E tensorflow/core/common_runtime/direct_session.cc:158] Internal: cudaGetDevi         


        
6条回答
  •  滥情空心
    2021-02-06 03:53

    For Ubuntu 18.04 and Tensorflow 1.13.1

    First make sure system is up to data:

    sudo apt update
    sudo apt dist-upgrade
    sudo reboot now
    

    Install later drivers:

    sudo add-apt-repository ppa:graphics-drivers/ppa
    

    Open Software & Updates and select the Additional Drivers tab:

    Select the nvidia-driver-396 and click Apply Changes

    Now reboot:

    sudo reboot now
    

    To verify which that NVIDIA driver 396 active:

    nvidia-smi
    

提交回复
热议问题