-
Notifications
You must be signed in to change notification settings - Fork 22.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
torch.cuda.is_available() is false after CUDA 9.0.176 installed. Could anyone help me with this? Thanks! #15612
Comments
Hi Soumith,
May I ask if you have met my problem before? Do you have any idea to solve this issue?
Thanks.
Best regards,
Di
…________________________________
From: Soumith Chintala <notifications@github.com>
Sent: 29 December 2018 16:13:07
To: pytorch/pytorch
Cc: Di Ma; Author
Subject: Re: [pytorch/pytorch] torch.cuda.is_available() is false after CUDA 9.0.176 installed. Could anyone help me with this? Thanks! (#15612)
Closed #15612<#15612>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#15612 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Aj8nNM8FVJN3ijNJ5Ty5VC3h0roRurnxks5u95STgaJpZM4Zkkw_>.
|
I met the same problem with you. Now, I find the solution. as the steps descripted by https://pytorch.org/ PyTorch Build : Preview(Nightly) pip install numpy torchvision_nightly After running above commands successfully, >>> import torch
>>> torch.cuda.is_available()
True |
This works for me. Thank you. |
I am using cuda 9.0, so I changed cu80 to cu90 |
thanks you very much !!! |
my torch version is 1.3.0, torchvision version is 0.4.1, when i use "print(torch.version.cuda) |
@Zhizh1 those steps are outdated. we provide cuda 9.2 and 10.1 binaries as of today. If you upgrade your nvidia driver on your system, you should be good |
I have two machines, one is 1080ti, the other is tesla v100 pcie, the environment is the same: driver version 430.40, cuda 10.1, pytorch 1.3, torchvision 0.4.1. Both nvidia-smi works fine. torch.cuda.is_available() returns false on v100, but true on 1080ti. |
cuda 10.1 already, installed through conda cudatoolkit, should I install cuda 10 lib in a nvidia way? |
This is what I got
I also played around DeepIn, in which some of the message show:
is it the problem that these selection arise from new operations affect cuda ? (like, changing the reference) |
Make Sure your NVIDIA Driver is latest, I also got same issue after torch installation, But after a bit searching, I installed latest NVIDIA drivers,Check here. After that, It returned True. |
🐛 Bug
Hi,
I just got a very strange problem:
I used the commands: "print(torch.version)
print(torch.version.cuda)
print(torch.backends.cudnn.version())", the output were:
0.4.1.post2 (PyTorch version)
9.0.176 (CUDA version)
7.1.2 (cuDNN version)
I also used the "nvcc --version", the results were:
It was very strange, it seems that the CUDA version installed in Linux system is 9.0.176, and the CUDA that the PyTorch needed is also 9.0.176, but, the "cuda.is_available()" still returns "False".
Could anyone help me with this? Many thanks!
Environment
The text was updated successfully, but these errors were encountered: