LarryJane491/Lora-Training-in-Comfy

raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled

Opened this issue · 2 comments

raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

You didn't install CUDA in the Python environment used by Comfy ^^.

You need to go there:
https://pytorch.org/

Scroll down until you see this:
Captzfzfzfure

Select the appropriate choices for your situation, then copy the line of code in a command prompt.

If you did it and still get this error, then CUDA wasn't installed in the right environment.
Does your ComfyUI have a folder called "embedded_python" or "venv"? If it has a venv, you need to activate it.

My version of Comfyui worked fine, until I installed your custom node for Lora training. Now I get exactly the same error.