Open bryanbocao opened 3 months ago
From the above error, you may try import torch; print(torch.cuda.is_available())
. If the output is 0, it indicates there may be a mismatch between your cuda and pytorch version.
@csguoh
import torch; print(torch.cuda.is_available())
Tried that (already in the comment). It says False
.
I tried to use CUDA in a docker container
pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel
but the driver seems incorrect:It would be great if anyone can help. Thanks!