The NVIDIA driver on your system is too old问题解决办法

it2026-08-25  1

问题: The NVIDIA driver on your system is too old (found version 9000). 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.

问题是说cuda太旧了,或者说你的torch太新了,不匹配。所以建议重装合适的torch 进入python查看torch版本

>>> import torch >>> torch.__version__ '1.6.0'

cat /usr/local/cuda/version.txt 查看cuda版本

关于不同版本的pytorch和CUDA版本的对应关系: pytorch官网:https://pytorch.org/get-started/previous-versions/ 页面有命令,直接复制,真的有够人性化

最新回复(0)