Linux CUDA 驱动失效问题的解决办法
在使用 Linux 的时候,如果经常进行升级,时不时会遇到驱动失效的问题:
1$ nvidia-smi
2NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.
3Make sure that the latest NVIDIA driver is installed and running.在使用 Linux 的时候,如果经常进行升级,时不时会遇到驱动失效的问题:
1$ nvidia-smi
2NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.
3Make sure that the latest NVIDIA driver is installed and running.1$ nvidia-smi
2NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
3
4$ dkms status
5nvidia, 470.86, 5.13.0-22-generic, x86_64: installed1CMake Error at C:/Program Files/CMake/share/cmake-3.22/Modules/CMakeDetermineCompilerId.cmake:470 (message):
2 No CUDA toolset found.需要将 CUDA 目录里的 MSBuildExtensions 赋值 Visual Studio 的目录中: