File “C:\Users\Omar\AppData\Roaming\Python\Python312\site-packages\torch\cuda_init_.py”, line 878, in current_device
lazy_init()
File "C:\Users\Omar\AppData\Roaming\Python\Python312\site-packages\torch\cuda_init.py", line 305, in _lazy_init
raise AssertionError(“Torch not compiled with CUDA enabled”)
[2024-11-08 21:14:33.932] [info] Received log message: AssertionError: Torch not compiled with CUDA enabled
[2024-11-08 21:14:34.863] [error] Failed to connect to server at http://127.0.0.1:8000/queue: connect ECONNREFUSED 127.0.0.1:8000
Which version of the app are you on? This error means the wrong pytorch version was installed.
Can you paste your requirements.compiled file? Should be located at the directory you picked in the initial installation screen.
<directory you selected>/python/requirements.compiled>
I’m using ComfyUI Setup 0.2.9 - Build 241106m7net450s-x64
and it isn’t actually trying to run from the directory I chose, instead it’s running from:
C:\Users\Omar\AppData\Local\Programs\comfyui-electron\resources\python
This file was autogenerated by uv via the following command:
uv pip compile C:\Users\VssAdministrator\AppData\Local\Temp\todesktop\241012ess7yxs0e\app-wrapper\app\assets\ComfyUI\requirements.txt C:\Users\VssAdministrator\AppData\Local\Temp\todesktop\241012ess7yxs0e\app-wrapper\app\assets\ComfyUI\custom_nodes\ComfyUI-Manager\requirements.txt --emit-index-annotation --emit-index-url --index-strategy unsafe-best-match -o C:\Users\VssAdministrator\AppData\Local\Temp\todesktop\241012ess7yxs0e\app-wrapper\app\assets\python\requirements.compiled --override C:\Users\VssAdministrator\AppData\Local\Temp\todesktop\241012ess7yxs0e\app-wrapper\app\assets\python\override.txt
–index-url Simple index
–extra-index-url https://download.pytorch.org/whl/cu121
aiohappyeyeballs==2.4.3
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# aiohttp
# from Simple index
aiohttp==3.10.10
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# from Simple index
aiosignal==1.3.1
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# aiohttp
# from Simple index
attrs==24.2.0
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# aiohttp
# from Simple index
certifi==2024.8.30
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# requests
# from Simple index
cffi==1.17.1
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# cryptography
# pynacl
# soundfile
# from Simple index
charset-normalizer==3.4.0
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# requests
# from Simple index
click==8.1.7
# via typer
# from Simple index
colorama==0.4.6
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# click
# tqdm
# from https://download.pytorch.org/whl/cu121
cryptography==43.0.3
# via pyjwt
# from Simple index
deprecated==1.2.14
# via pygithub
# from Simple index
einops==0.8.0
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# spandrel
# from Simple index
filelock==3.16.1
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# huggingface-hub
# torch
# transformers
# from Simple index
frozenlist==1.5.0
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# aiohttp
# aiosignal
# from Simple index
fsspec==2024.10.0
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# huggingface-hub
# torch
# from Simple index
gitdb==4.0.11
# via gitpython
# from Simple index
gitpython==3.1.43
# via -r custom_nodes/ComfyUI-Manager/requirements.txt
# from Simple index
huggingface-hub==0.26.2
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r custom_nodes/ComfyUI-Manager/requirements.txt
# tokenizers
# transformers
# from Simple index
idna==3.10
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# requests
# yarl
# from Simple index
jinja2==3.1.4
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# torch
# from Simple index
kornia==0.7.4
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# from Simple index
kornia-rs==0.1.7
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# kornia
# from Simple index
markdown-it-py==3.0.0
# via rich
# from Simple index
markupsafe==3.0.1
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# jinja2
# from Simple index
mdurl==0.1.2
# via markdown-it-py
# from Simple index
mpmath==1.3.0
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# sympy
# from https://download.pytorch.org/whl/cu121
multidict==6.1.0
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# aiohttp
# yarl
# from Simple index
networkx==3.4.2
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# torch
# from Simple index
numpy==1.26.4
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# scipy
# spandrel
# torchsde
# torchvision
# transformers
# from Simple index
packaging==24.1
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# huggingface-hub
# kornia
# transformers
# from https://download.pytorch.org/whl/cu121
pillow==11.0.0
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# torchvision
# from Simple index
propcache==0.2.0
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# yarl
# from Simple index
psutil==6.1.0
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# from Simple index
pycparser==2.22
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# cffi
# from Simple index
pygithub==2.4.0
# via -r custom_nodes/ComfyUI-Manager/requirements.txt
# from Simple index
pygments==2.18.0
# via rich
# from Simple index
pyjwt==2.9.0
# via pygithub
# from Simple index
pynacl==1.5.0
# via pygithub
# from Simple index
pyyaml==6.0.2
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# huggingface-hub
# transformers
# from Simple index
regex==2024.9.11
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# transformers
# from Simple index
requests==2.32.3
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# huggingface-hub
# pygithub
# transformers
# from Simple index
rich==13.9.4
# via
# -r custom_nodes/ComfyUI-Manager/requirements.txt
# typer
# from Simple index
safetensors==0.4.5
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# spandrel
# transformers
# from Simple index
scipy==1.14.1
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# torchsde
# from Simple index
sentencepiece==0.2.0
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# from Simple index
setuptools==75.3.0
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# torch
# from Simple index
shellingham==1.5.4
# via typer
# from Simple index
smmap==5.0.1
# via gitdb
# from Simple index
soundfile==0.12.1
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# from Simple index
spandrel==0.4.0
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# from Simple index
sympy==1.13.1
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# torch
# from https://download.pytorch.org/whl/cu121
tokenizers==0.20.3
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# transformers
# from Simple index
torch==2.5.1+cu121
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# kornia
# spandrel
# torchaudio
# torchsde
# torchvision
# from https://download.pytorch.org/whl/cu121
torchaudio==2.5.1+cu121
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# from https://download.pytorch.org/whl/cu121
torchsde==0.2.6
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# from Simple index
torchvision==0.20.1+cu121
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# spandrel
# from https://download.pytorch.org/whl/cu121
tqdm==4.66.6
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r requirements.txt
# huggingface-hub
# transformers
# from Simple index
trampoline==0.1.2
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# torchsde
# from Simple index
transformers==4.46.2
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r custom_nodes/ComfyUI-Manager/requirements.txt
# -r requirements.txt
# from Simple index
typer==0.12.5
# via -r custom_nodes/ComfyUI-Manager/requirements.txt
# from Simple index
typing-extensions==4.12.2
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# -r custom_nodes/ComfyUI-Manager/requirements.txt
# gitpython
# huggingface-hub
# multidict
# pygithub
# rich
# spandrel
# torch
# typer
# from Simple index
urllib3==2.2.3
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# pygithub
# requests
# from Simple index
wrapt==1.16.0
# via deprecated
# from Simple index
yarl==1.17.1
# via
# --override C:/Users/VssAdministrator/AppData/Local/Temp/todesktop/241012ess7yxs0e/app-wrapper/app/assets/python/override.txt
# aiohttp
# from Simple index
Got the same error when trying to install 0.2.10.