1.nvidia-smi 查看:
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver.
Make sure that the latest NVIDIA driver is installed and running.
2.nvcc -V 看了一下驱动是否还在?存在
nvcc: NVIDIA ® Cuda compiler driver
Copyright © 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176
3. 查看之前安装 nvidia 驱动的版本号cd /usr/src ls :410.78
4. 重新安装驱动:
sudo apt install dkms
sudo dkms install -m nvidia -v 410.78
报错:检测不到cuda解决方案
最新推荐文章于 2025-05-30 20:49:47 发布