Nvidia Graphics Card Not Detected or Greyed out in Display Adapter in RTX 3060 Asus Tuf A15 2021

Whenever I install Pytorch cuda with Cuda toolkit and graphics drivers after some time coding in pytorch suddenly I get Nvidia driver Greyed out in Display Adapter and I cannot use PYTORCH with cuda.

I have solved it previously by reinstalling windows 11 and also gave my laptop for servicing and even after they solved problem, it still persists after I install cuda toolkit and pytorch.

I have install cuda 11.8 as per pytorch docs.

Please help me solve this problem. Or what is it that I a doing wrong.