So basically, I got my new machine over there windows 11 installed, and I have checked Nvidia-smi it showed cuda 11.7 and the driver version is 566.07, but I wanna installed cuda 12.4, I have installed CUDA 12.4, In nvcc --version I got CUDA12.4, I set the path in windows path Env setting also, still my machine unbale to find the GPU (cuda),
import torch
import cv2
print(torch.version)
device = “cuda” if torch.cuda.is_available() else “cpu”
print(device)
Output
2.5.1+cpu
cpu
May I know why? how I can resolve this issue?