Hi Everyone,
I’m having trouble with this error. The error message is not quite clear to me, in one part it says NVIDIA driver, and in the other part it says CUDA driver, and each time I am not sure what they are referring to as it is too generic.
“The NVIDIA driver on your system is too old (found version 10010)”
How do I interpret found version 10010? Is this the GPU driver (which has version 25.21.14.2531),
or is it the version of CUDA (10.2.89), or something else?
“go to: https://pytorch.org to install a PyTorch version that has been co
mpiled with your version of the CUDA driver.”
Is this PyTorch version compatible with CUDA 10.2.89 or with whatever is version 10010?
Environment Details:
Python
python --version- 3.9.7
Pytorch
-
print(torch.__version__) -
1.10.1
Installed with: -
conda installpytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
CUDA - installed
nvcc --version- nvcc: NVIDIA (R) Cuda compiler driver
- Copyright (c) 2005-2019 NVIDIA Corporation
- Built on Wed_Oct_23_19:32:27_Pacific_Daylight_Time_2019
- Cuda compilation tools, release 10.2, V10.2.89
GPU Card
- NVIDIA GeForce GTX 670MX
- Driver Version: 25.21.14.2531
- Driver Date: 9/04/2019
OS
- Windows 8.1 SP 3
- Version 6.3.9600
Where the error is occurring:
Python 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] :: Ana
conda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.cuda.is_available()
C:\anaconda3\lib\site-packages\torch\cuda\__init__.py:80
: UserWarning: CUDA initialization: The NVIDIA driver on your system is too old
(found version 10010). Please update your GPU driver by downloading and installi
ng a new version from the URL: http://www.nvidia.com/Download/index.aspx Alterna
tively, go to: https://pytorch.org to install a PyTorch version that has been co
mpiled with your version of the CUDA driver. (Triggered internally at ..\c10\cu
da\CUDAFunctions.cpp:112.)
return torch._C._cuda_getDeviceCount() > 0
False
I used the table on Start Locally | PyTorch to obtain the installation command as follows:
conda installpytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
Thank you