首页 > 解决方案 > NVIDIA-SMI 失败,因为它无法与 NVIDIA 驱动程序通信。(即使在重新安装驱动程序后)

问题描述

我在 2080Ti 的 nvidia 驱动程序上遇到了问题(需要安装 nvidia 驱动程序 + CUDA 才能使用手电筒)。

me@server:~$ python3
Python 3.6.8 (default, Aug 20 2019, 17:12:48)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.cuda.is_available()
False

我认为这个问题是由下一个问题引起的:

me@server:~$ sudo 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.

当然,我在这个问题上搜索了很多并尝试了所有找到的解决方案:我从头开始重新安装所有驱动程序,尝试了不同版本的驱动程序(385、410、415、430、435)。不幸的是,所有这些步骤都没有帮助。

我需要一些新的解决方案:)

PS 当然,重新安装 Ubuntu 就可以了,但是现在我没有时间去做,因为我需要运行 torch :(

标签: ubuntudrivernvidia

解决方案


推荐阅读