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

**URL:** <https://forum.comfy.org/t/installation-error-laptop-rtx-5090-windows-torch-not-compiled-torch-not-compiled-with-cuda-enabled/4370>\
**Category:** Custom Nodes\
**Created:** [April 2, 2026, 2:49pm UTC](https://forum.comfy.org/t/installation-error-laptop-rtx-5090-windows-torch-not-compiled-torch-not-compiled-with-cuda-enabled/4370 "2026-04-02T14:49:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dheeru](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Dheeru](https://forum.comfy.org/u/Dheeru)\
**Post date:** [April 2, 2026, 2:49pm UTC](https://forum.comfy.org/t/installation-error-laptop-rtx-5090-windows-torch-not-compiled-torch-not-compiled-with-cuda-enabled/4370/1 "2026-04-02T14:49:46Z")

</div>

below is the error 🙂

[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
