CUDA not enabled

Hello! I have a surface book 3. I have NVIDIA GeForce GTX 1650 with max -q design. Very often, when running scripts, CUDA stops being enabled. I have intsalled Pytorch 1.8.1+cu111 and my NVIDIA version is 561.01. If anyone can help… Usually it restarts when I reset the computer, but not always. And anyways, is not convenient to have the calculus stopped half way because CUDA is lost… Thanks!!

CUDA should be compatible ( Release Notes :: CUDA Toolkit Documentation (