Closed Henicked closed 11 months ago
That's unfortunate, and unfortunately I'm no expert on the matter either. The best I can do is point you towards this stackoverflow question: https://stackoverflow.com/questions/60987997/why-torch-cuda-is-available-returns-false-even-after-installing-pytorch-with
It presents multiple ways to diagnose and solve the issue. It's probably caused by your driver not getting along with the cuda interface the torch package expects, or the torch package wasn't installed with the cuda module, for some reason. That's probably what's going on. Good luck!
I found a workaround that should work:
pip uninstall torch torchvision -y
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
Otherwise, try one of the pre-built binaries I'll be releasing over the next week.
I have the newest cuda installed 12.2. My gpu is supported. But seem like I can't run on cuda. Please help me.