看起来是 NVIDIA 驱动和 NVML 库版本不匹配的问题。让我们解决这个问题:
- 首先,检查当前安装的 NVIDIA 驱动版本:
bash
Apply to document_ser...
Run
dpkg -l | grep nvidia
- 卸载现有的 NVIDIA 驱动和 CUDA:
bash
Apply to document_ser...
Run
sudo apt-get purge nvidia* cuda*
sudo apt-get autoremove
- 清理 NVIDIA 仓库:
bash
Apply to document_ser...
Run
sudo rm /etc/apt/sources.list.d/cuda*
sudo rm /etc/apt/preferences.d/cuda*
sudo apt-key del 7fa2af80
- 添加最新的 NVIDIA 驱动仓库:
bash
Apply to document_ser...
Run
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
- 安装推荐的 NVIDIA 驱动:
bash
Apply to document_ser...
Run
ubuntu-drivers devic


5万+

被折叠的 条评论
为什么被折叠?



