本文共 1013 字,大约阅读时间需要 3 分钟。
nvcc -V我的版本是10.1
nvidia-smi
Command 'nvidia-smi' not found, but can be installed with:sudo apt install nvidia-340 # version 340.108-0ubuntu5.20.04.1, orsudo apt install nvidia-utils-390 # version 390.143-0ubuntu0.20.04.1sudo apt install nvidia-utils-450 # version 450.119.03-0ubuntu0.20.04.1sudo apt install nvidia-utils-450-server # version 450.119.03-0ubuntu0.20.04.1sudo apt install nvidia-utils-460 # version 460.73.01-0ubuntu0.20.04.1sudo apt install nvidia-utils-435 # version 435.21-0ubuntu7sudo apt install nvidia-utils-440 # version 440.82+really.440.64-0ubuntu6sudo apt install nvidia-utils-418-server # version 418.197.02-0ubuntu0.20.04.1sudo apt install nvidia-utils-460-server # version 460.73.01-0ubuntu0.20.04.1
好吧我没有安装驱动
我网上查到的是: cuda的版本不能超过驱动对应的最高cuda版本。 我这里选择了460版本安装sudo apt install nvidia-utils-460
卸载不要的软件
sudo apt autoremoveNVIDIA-SMI失败,因为它无法与NVIDIA驱动程序通信。确保已安装并运行最新的NVIDIA驱动程序。 可能是没有重启的原因,重启完神奇的问题增加了 感觉不太对劲,让我冷静一下
转载地址:http://yxtzi.baihongyu.com/