【发布时间】:2022-10-06 21:26:14
【问题描述】:
我在 HPC 集群上使用虚拟环境安装了 Pytorch 1.8.1+cu102。
torch.cuda.is_available()
给我下面的输出
UserWarning: CUDA initialization: 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. (Triggered internally at /pytorch/c10/cuda/CUDAFunctions.cpp:109.)
return torch._C._cuda_getDeviceCount() > 0
False
有什么问题?我不确定如何更新驱动程序。我的要求是:
torch==1.8.1+cu102
torch-cluster==1.5.9
torch-geometric==1.7.0
-
\"有什么问题?\"...嗯...错误很明显:\"您系统上的 NVIDIA 驱动程序太旧\"
-
由于您可能无法更新 HPC 集群上的驱动程序,“或者,请转到:pytorch.org 安装已使用您的 CUDA 驱动程序版本编译的 PyTorch 版本。”应该是前进的方向。