如何解决Pytorch的GPU driver is too old的问题?

https://www.zhihu.com/question/309583980

 

如何解决Pytorch的GPU driver is too old的问题?

 

AssertionError:

The NVIDIA driver on your system is too old (found version 8000).

Please update your GPU driver by downloading and installing a new

version from the URL: Download Drivers

Alternatively, go to: PyTorch to install

a PyTorch version that has been compiled with your version

of the CUDA driver.

并不是说你的 CUDA 驱动版本太低了,而是 Pytorch 的版本和 CUDA 不匹配。

先确认下自己的 CUDA 版本:

cat /usr/local/cuda/version.txt
# 显示结果:CUDA Version 10.0.130


pytorch官网:https://pytorch.org/get-started/previous-versions/

 

 

posted on 2021-11-19 16:27  一杯明月  阅读(959)  评论(0编辑  收藏  举报