Created
August 29, 2021 05:41
-
-
Save AdamStormhardtGH/7611465825b421a294ff07a7e9c6af10 to your computer and use it in GitHub Desktop.
torch.cuda.is_available() false on windows - fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/pytorch/pytorch/issues/50032 | |
erolrecep commented on Jul 23 | |
I had the same issue. | |
CUDA: 11.2 | |
Nvidia-driver: 460.91.03 | |
GPU model: RTX 2080 Ti | |
Ubuntu 20.04 | |
Python 3.8 with virtualenv | |
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html | |
This command is taken from PyTorch's web site (https://pytorch.org/get-started/locally/) worked for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
check CUDA version:
nvcc --version
Check Nvidia driver version:
nvidia-smi
GPU model: (in above nvidia-smi command)
Ubuntu version:
lsb_release -a
Python version:
python --version