Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Comfyui (Nvidia) Docker

Featured Replies

  • Author
9 hours ago, derp456789 said:

Has any attempted to run this on older hardware and ran into the following error ?
Fatal Python error: Illegal instruction

As far as i can tell it looks like something to do with Kornia and maybe the avx support ?
Unraid 7.3.1
dual xeon E5-2680 v2
RTX 3090
Repo: mmartial/comfyui-nvidia-docker:ubuntu24_cuda13.2-latest

Snippet of the error
Fatal Python error: Illegal instruction

Stack (most recent call first):

File "<frozen importlib._bootstrap>", line 488 in callwith_frames_removed

File "<frozen importlib._bootstrap_external>", line 1297 in exec_module

File "<frozen importlib._bootstrap>", line 935 in loadunlocked

File "<frozen importlib._bootstrap>", line 1331 in findand_load_unlocked

File "<frozen importlib._bootstrap>", line 1360 in findand_load

File "/comfy/mnt/venv/lib/python3.12/site-packages/kornia_rs/__init__.py", line 1 in <module>

File "<frozen importlib._bootstrap>", line 488 in callwith_frames_removed

File "<frozen importlib._bootstrap_external>", line 995 in exec_module

File "<frozen importlib._bootstrap>", line 935 in loadunlocked

File "<frozen importlib._bootstrap>", line 1331 in findand_load_unlocked

File "<frozen importlib._bootstrap>", line 1360 in findand_load

File "/comfy/mnt/venv/lib/python3.12/site-packages/kornia/io/io.py", line 24 in <module>

File "<frozen importlib._bootstrap>", line 488 in callwith_frames_removed

File "<frozen importlib._bootstrap_external>", line 995 in exec_module

File "<frozen importlib._bootstrap>", line 935 in loadunlocked

File "<frozen importlib._bootstrap>", line 1331 in findand_load_unlocked

File "<frozen importlib._bootstrap>", line 1360 in findand_load
/comfyui-nvidia_init.bash: line 953: 2609 Illegal instruction ${COMFY_CMDLINE_BASE} ${COMFY_CMDLINE_EXTRA}

!! ERROR: ComfyUI failed or exited with an error

!! Exiting script (ID: 97)

!! ERROR: subscript failed

!! Exiting script (ID: 1)

The crash comes from ComfyUI itself so I would not be able to comment too much on what the issue is.

When I see this kind of behavior, I rename the run folder to run.old and re-run the container which will re-create a new installation.

In general this fixed things for me, knowing that the custom nodes and images are in basedir, everything in "run" should be able to be deleted.

  • Replies 177
  • Views 94.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Hi, i update my frontend with the the command comfyui shows you when you start the container with an old frontend. You find the command in the container protocol. In my case the command is /comfy/mnt/

  • Example runs

  • Hello, I have submitted to CA about a week ago. I understand the team has to do a review before allowing new content, so I hope it will be released shortly.   The wrapper code is public

Posted Images

3 hours ago, martial said:

The crash comes from ComfyUI itself so I would not be able to comment too much on what the issue is.

When I see this kind of behavior, I rename the run folder to run.old and re-run the container which will re-create a new installation.

In general this fixed things for me, knowing that the custom nodes and images are in basedir, everything in "run" should be able to be deleted.

Got it thanks for the quick reply
I've attempted a fresh install ( removing the appdata files ) plus a lower version and no luck
open to any suggestions

  • Author
23 hours ago, derp456789 said:

Got it thanks for the quick reply
I've attempted a fresh install ( removing the appdata files ) plus a lower version and no luck
open to any suggestions

When you deleted the run folder you downloaded a fresh install of ComfyUI during the next startup, so we can expect this to be something else.

Doing a quick gpt search seems to say that it might be a CPU issue and you might have to compile kornia from source.

You can try to use the userscript (check the README for instructions) to attempt to run the build manually: /comfy/mnt/venv/bin/pip install kornia-rs --force-reinstall --no-cache-dir --no-binary :all: (also copied from the GPT answer)

The Fatal Python error: Illegal instruction coming directly from kornia_rs means that the pre-compiled Rust binaries in that library are attempting to use CPU instruction sets (specifically AVX, AVX2, or FMA3) that your host machine's CPU does not support, or that your Docker/VM hypervisor configuration is masking from the container.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.