RuntimeError: The NVIDIA driver on your system is too old (found version 10010). Please update your

RuntimeError: The NVIDIA driver on your system is too old (found version 10010). Please update your,第1张

RuntimeError: The NVIDIA driver on your system is too old (found version 10010). Please update your

在跑pytorch程序时报错:RuntimeError: The NVIDIA driver on your system is too old (found version 10010). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver.
尝试了网上各种方法:重新安装pytorch也没用
先查看自己电脑的CUDA版本 (在命令行输入)

nvidia-smi

我的电脑显示是10.1版本 截图没有了
再输入:(在conda prompt 输入)

print(torch.version.cuda) 

可以查看自己需要安装的cuda版本

去CUDA官网下载:
https://developer.nvidia.cn/cuda-toolkit-archive
按照上面的选项进行点击,
点击右侧第一个绿框 进行下载CUDA10.2版本,下载后正常顺序安装即可。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/4827711.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-11-10
下一篇 2022-11-10

发表评论

登录后才能评论

评论列表(0条)

保存