raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled
Opened this issue · 2 comments
108863258 commented
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
LarryJane491 commented
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:
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.
hydrogen2oxygen commented
My version of Comfyui worked fine, until I installed your custom node for Lora training. Now I get exactly the same error.