Torch.cuda.is_available() returns False, nvidia-smi is working

Which CUDA version are you using?
Based on the driver, you could only use CUDA<=9.2 as shown here.
I would recommend to update the driver and the CUDA version (if you are using an older one).

1 Like