Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x CUDA驱动程序版本高于CUDA运行时版本?;_Python 3.x_Cuda_Pytorch - Fatal编程技术网

Python 3.x CUDA驱动程序版本高于CUDA运行时版本?;

Python 3.x CUDA驱动程序版本高于CUDA运行时版本?;,python-3.x,cuda,pytorch,Python 3.x,Cuda,Pytorch,终端显示错误: RuntimeError: cuda runtime error (35) : CUDA driver version is insufficient for CUDA runtime version at torch/csrc/cuda/Module.cpp:51 但我的驱动程序版本(440.118.02)足以支持cuda9.0 关于我的机器的一些信息:cat/proc/driver/nvidia/version NVRM version:nvidia UNIX x86_64

终端显示错误:

RuntimeError: cuda runtime error (35) : CUDA driver version is insufficient for CUDA runtime version at torch/csrc/cuda/Module.cpp:51
但我的驱动程序版本(440.118.02)足以支持cuda9.0

关于我的机器的一些信息:cat/proc/driver/nvidia/version NVRM version:nvidia UNIX x86_64内核模块440.118.02 Thu Sep 3 09:54:46 UTC 2020

cat /usr/local/cuda/version.txt CUDA Version 9.0.176

您可以将CUDA版本升级到9.2或更高版本。在获得新的CUDA后,只需检查驱动程序版本440是否仍然兼容。如果不升级的话

执行这些操作,然后运行代码并进行检查


注:如果你最近安装或升级了英伟达驱动程序或CUDA,那么重新启动系统一次,然后尝试。

谢谢你的回答~我会先试试,然后给你结果。再次感谢