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

博客指出,你的NVIDIA驱动版本过低(9000),建议更新到最新版本。同时,你的PyTorch版本(1.6.0)可能与此CUDA版本不兼容。解决方案包括访问NVIDIA官网下载更新驱动或从PyTorch官网安装与现有CUDA驱动匹配的PyTorch版本。检查CUDA版本使用'cat /usr/local/cuda/version.txt'命令,PyTorch-CUDA对应关系可在PyTorch官网查看。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

问题:
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/
页面有命令,直接复制,真的有够人性化

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值