3

i have problem with torch and cuda.

torch.version.__version__ gives "1.5.1+cu101"

torch.version.cuda gives "10.1"

torch.backends.cudnn.version() gives "7603"

But torch.cuda.is_avaliable() gives False. What can be wrong?

Parameters of my system:

Linux-x86_64 (Ubuntu 20.04)

GeForce GTX 1050

NVIDIA Driver Version: 460.67

Gulzar
  • 23,452
  • 27
  • 113
  • 201
Danil
  • 63
  • 4
  • May you run the `$ nvcc --version` cmd and show the output? – amiasato May 06 '21 at 13:08
  • nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2019 NVIDIA Corporation Built on Sun_Jul_28_19:07:16_PDT_2019 Cuda compilation tools, release 10.1, V10.1.243 – Danil May 06 '21 at 13:15
  • Does this answer your question? [Why \`torch.cuda.is\_available()\` returns False even after installing pytorch with cuda?](https://stackoverflow.com/questions/60987997/why-torch-cuda-is-available-returns-false-even-after-installing-pytorch-with) – amiasato May 06 '21 at 13:53
  • How did you install pytorch? Can you show the results of `nvidia-smi`? – jodag May 06 '21 at 18:28

0 Answers0