StabilityMatrix icon indicating copy to clipboard operation
StabilityMatrix copied to clipboard

I can't launch the Comfy UI

Open kudrartman-creator opened this issue 3 months ago • 5 comments

What happened?

Hello, dear Stability Matrix users, please tell me, I have all the components from AMD, I can only run the Comfortable UI on the CPU, the rest (DirectML, ROCm) gives an error, what should I do about it? The screenshot shows the error.

Image

Steps to reproduce

No response

Relevant logs


Version

2.16.2

What Operating System are you using?

Windows

kudrartman-creator avatar Aug 10 '26 12:08 kudrartman-creator

What GPU specifically do you have? can see if i can replicate.

Edit: actually... "Pytorch is not installed" Can you please install ComfyUI again and in the window that comes up during install disable the "Close Dialog When Finished" button that way you can copy and paste the entire install process output here, please?

NeuralFault avatar Aug 10 '26 22:08 NeuralFault

Sinotex AMD Radeon RX 580 Ninja graphics card , Manufactured by AMD Ryzen 5 3600 with a 6-core 3.59 GHz processor.

The installation process ComfyUI:

Unpacking resources Unpacking resources Cloning into 'D:\AI\Data\Packages\ComfyUI'... Download Complete Using Python 3.10.11 environment at: venv Resolved 3 packages in 288ms Prepared 2 packages in 3ms Installed 2 packages in 62ms

  • packaging==26.3
  • wheel==0.47.0 Using Python 3.10.11 environment at: venv Resolved 87 packages in 2.58s Prepared 86 packages in 512ms Installed 86 packages in 1m 04s
  • aiohappyeyeballs==2.7.1
  • aiohttp==3.14.3
  • aiosignal==1.4.0
  • alembic==1.19.1
  • annotated-doc==0.0.5
  • annotated-types==0.8.0
  • anyio==4.14.2
  • async-timeout==5.0.1
  • attrs==26.1.0
  • av==17.1.0
  • blake3==1.0.9
  • certifi==2026.7.22
  • charset-normalizer==3.4.9
  • click==8.4.2
  • colorama==0.4.6
  • comfy-aimdo==0.4.13
  • comfy-angle==0.1.0
  • comfy-kitchen==0.2.28
  • comfyui-embedded-docs==0.5.9
  • comfyui-frontend-package==1.48.7
  • comfyui-workflow-templates==0.11.34
  • comfyui-workflow-templates-core==0.3.299
  • comfyui-workflow-templates-json==0.1.34
  • comfyui-workflow-templates-media-api==0.3.84
  • comfyui-workflow-templates-media-assets-01==0.1.22
  • comfyui-workflow-templates-media-image==0.3.160
  • comfyui-workflow-templates-media-other==0.3.229
  • comfyui-workflow-templates-media-video==0.3.101
  • einops==0.8.2
  • exceptiongroup==1.3.1
  • filelock==3.32.2
  • frozenlist==1.8.0
  • fsspec==2026.7.0
  • greenlet==3.5.5
  • h11==0.16.0
  • hf-xet==1.6.0
  • httpcore==1.0.9
  • httpx==0.28.1
  • huggingface-hub==1.27.0
  • idna==3.18
  • jinja2==3.1.6
  • kornia==0.8.2
  • kornia-rs==0.1.14
  • mako==1.4.1
  • markdown-it-py==4.2.0
  • markupsafe==3.0.3
  • mdurl==0.1.2
  • mpmath==1.3.0
  • multidict==6.7.1
  • networkx==3.4.2
  • numpy==1.26.4
  • pillow==12.3.0
  • propcache==0.5.2
  • psutil==7.2.2
  • pydantic==2.13.4
  • pydantic-core==2.46.4
  • pydantic-settings==2.15.0
  • pygments==2.20.0
  • pyopengl==3.1.10
  • python-dotenv==1.2.2
  • pyyaml==6.0.3
  • regex==2026.7.19
  • requests==2.34.2
  • rich==15.0.0
  • safetensors==0.8.0
  • scipy==1.15.3
  • sentencepiece==0.2.2
  • setuptools==84.0.0
  • shellingham==1.5.4
  • simpleeval==1.0.7
  • spandrel==0.4.2
  • sqlalchemy==2.0.51
  • sympy==1.14.0
  • tokenizers==0.22.2
  • tomli==2.4.1
  • torch==2.13.0
  • torchsde==0.2.6
  • torchvision==0.28.0
  • tqdm==4.70.0
  • trampoline==0.1.2
  • transformers==5.15.0
  • typer==0.27.1
  • typing-extensions==4.16.0
  • typing-inspection==0.4.3
  • urllib3==2.7.0
  • yarl==1.24.5 Using Python 3.10.11 environment at: venv Resolved 13 packages in 1.20s Downloading numpy (12.3MiB) Downloading torchvision (1.2MiB) Downloading torch-directml (8.5MiB) Downloading torch (190.2MiB) Downloaded torchvision Downloaded torch-directml Downloaded numpy Downloaded torch Prepared 13 packages in 59.79s Uninstalled 12 packages in 7.92s Installed 13 packages in 10.33s ~ filelock==3.32.2 ~ fsspec==2026.7.0 ~ jinja2==3.1.6 ~ markupsafe==3.0.3 ~ mpmath==1.3.0 ~ networkx==3.4.2
  • numpy==1.26.4
  • numpy==2.2.6 ~ pillow==12.3.0 ~ sympy==1.14.0
  • torch==2.13.0
  • torch==2.4.1
  • torch-directml==0.2.5.dev240914
  • torchvision==0.28.0
  • torchvision==0.19.1 ~ typing-extensions==4.16.0 Using Python 3.10.11 environment at: venv Audited 1 package in 7ms Using Python 3.10.11 environment at: venv Resolved 45 packages in 607ms Installed 13 packages in 1.23s
  • cffi==2.1.1
  • chardet==7.5.1
  • comfyui-manager==4.2.2
  • cryptography==50.0.0
  • gitdb==4.0.12
  • gitpython==3.1.59
  • pycparser==3.0
  • pygithub==2.9.1
  • pyjwt==2.13.0
  • pynacl==1.6.2
  • smmap==5.0.3
  • toml==0.10.2
  • uv==0.12.3 Installed ComfyUI at [D:\AI\Data\Packages\ComfyUI]

kudrartman-creator avatar Aug 11 '26 05:08 kudrartman-creator

what type of model, and its precision/quant. DirectML is stale and likely running into issues these days running some models. especially with comfy-kitchen being involved. From what I can see there is no official support for DirectML for C-K.

Support for your gpu is pretty limited. SM's ComfyUI-Zluda is HIP SDK 6.4 only (and may hit the same issue), SDNext may be a better shot. If you use SDNext you'll have to extract special rocBLAS libraries into C:/Program Files/AMD/rocm/6.2 from here: https://github.com/YellowRoseCx/koboldcpp-rocm/releases/tag/deps-v6.2.0 (pick one, not sure which one is the best to choose)

NeuralFault avatar Aug 12 '26 07:08 NeuralFault

This issue is stale because it has been open 60 days with no activity. Remove the stale label or comment, else this will be closed in 7 days.

github-actions[bot] avatar Oct 12 '26 02:10 github-actions[bot]

This issue was closed because it has been stale for 7 days with no activity.

github-actions[bot] avatar Oct 20 '26 01:10 github-actions[bot]