Installation error: laptop RTX 5090 Windows -Torch not compiled Torch not compiled with CUDA enabled

below is the error :slight_smile:

[2026-04-02 20:07:45.432] [error] File “C:\Users\man\AppData\Local\Programs\ComfyUI\resources\ComfyUI\comfy\model_management.py”, line 206, in get_torch_device
return torch.device(torch.cuda.current_device())
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\man\Documents\ComfyUI.venv\Lib\site-packages\torch\cuda_init_.py”, line 1148, in current_device

[2026-04-02 20:07:45.433] [error] lazy_init()
File "C:\Users\man\Documents\ComfyUI.venv\Lib\site-packages\torch\cuda_init
.py", line 471, in _lazy_init
raise AssertionError(“Torch not compiled with CUDA enabled”)
AssertionError: Torch not compiled with CUDA enabled