Even though I have cuda toolkit installed, torch.cuda.is_available() is False

Previously, the program was working fine and i was getting torch.cuda.is_available() true. This was when i had windows 11 insider program. But, later i encountered issues with windows 11 insider program and therefore i reinstalled stable version of windows 11. But, now when i run torch.cuda.is_available() i get false even though i have cuda toolkit 11.3.

I downloaded it from https://pytorch.org/.
I have a RTX 3050 GPU.

Kindly help me to resolve this issue.

Based on your description I would guess that your NVIDIA driver installation wasn’t successful after installing the “stable” Windows 11 version.