ubuntu - 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 :(
解决方案
推荐阅读
- angular - angular cli 6 自定义构建选项(环境变量)
- r - 在 R 中使用 GPG 加密数据并输出到变量非文件
- python - PySide2,QTableWidget,数据到 python 对象
- javascript - 在应用拼接时获取空数组。如何解决?
- java - JSONObject 期望在路径 $ 中找到具有属性 ['XXX'] 的对象
- python - Python:你如何确定一个无序元组列表是否在 dictionaries.values() 中?
- css - 视频无法播放且太大
- json - 使用Angular4按年份对Json文件数据进行排序
- wpf - 在 wpf mvvm 数据绑定菜单项中添加额外级别
- android - 当我“运行”android项目时,编辑配置页面打开