Torch.cuda.is_available() is false after CUDA 11.3.109 installed. Could anyone help me with this? Thanks!

Hello,

I believe that I have PyTorch, CUDA, cudatoolkit, nvcc and everything else installed and most up-to-date, but I am still getting torch.cuda.is_available() = False. I appreciate any advice! :slight_smile:

Collecting environment information...
PyTorch version: 1.10.1
Is debug build: False
CUDA used to build PyTorch: 11.3
ROCM used to build PyTorch: N/A

OS: Microsoft Windows 10 Home
GCC version: Could not collect
Clang version: Could not collect
CMake version: Could not collect
Libc version: N/A

Python version: 3.7.12 | packaged by conda-forge | (default, Oct 26 2021, 05:37:49) [MSC v.1916 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.19041-SP0
Is CUDA available: True
CUDA runtime version: 11.3.109
GPU models and configuration: GPU 0: NVIDIA GeForce GTX 1050
Nvidia driver version: 465.89
cuDNN version: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\bin\cudnn_ops_train64_8.dll
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.21.4
[pip3] pytorch-lightning==1.4.9
[pip3] torch==1.10.1
[pip3] torchinfo==1.5.4
[pip3] torchmetrics==0.6.2
[pip3] torchvision==0.11.2
[conda] blas                      1.0                         mkl
[conda] blas-devel                3.9.0              12_win64_mkl    conda-forge
[conda] cudatoolkit               11.3.1               h280eb24_9    conda-forge
[conda] libblas                   3.9.0              12_win64_mkl    conda-forge
[conda] libcblas                  3.9.0              12_win64_mkl    conda-forge
[conda] liblapack                 3.9.0              12_win64_mkl    conda-forge
[conda] liblapacke                3.9.0              12_win64_mkl    conda-forge
[conda] mkl                       2021.4.0           h0e2418a_729    conda-forge
[conda] mkl-devel                 2021.4.0           h57928b3_730    conda-forge
[conda] mkl-include               2021.4.0           h0e2418a_729    conda-forge
[conda] mkl-service               2.4.0            py37h2bbff1b_0
[conda] numpy                     1.21.4           py37h940b05c_0    conda-forge
[conda] pytorch                   1.10.1          py3.7_cuda11.3_cudnn8_0    pytorch
[conda] pytorch-lightning         1.4.9              pyhd8ed1ab_0    conda-forge
[conda] pytorch-mutex             1.0                        cuda    pytorch
[conda] torchinfo                 1.5.4              pyhd8ed1ab_0    conda-forge
[conda] torchmetrics              0.6.2              pyhd8ed1ab_0    conda-forge
[conda] torchvision               0.11.2               py37_cu113    pytorch

(env) PS C:\Users\tsuijenk> nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Mon_May__3_19:41:42_Pacific_Daylight_Time_2021
Cuda compilation tools, release 11.3, V11.3.109
Build cuda_11.3.r11.3/compiler.29920130_0