Here's a slice of my code:
import torch
print(torch.cuda.is_available())
print("CUDA Version:", torch.version.cuda)
Here's the output:
False
CUDA Version: 12.6
I looked at task manager, and it says I have a GPU. I tried installing Pytorch with GPU support using this Powershell command:
pip3 install torch torchvision torchaudio --index-url