Sunday at 02:54 PM1 day 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 instructionAs far as i can tell it looks like something to do with Kornia and maybe the avx support ? Unraid 7.3.1dual xeon E5-2680 v2RTX 3090Repo: mmartial/comfyui-nvidia-docker:ubuntu24_cuda13.2-latestSnippet of the error Fatal Python error: Illegal instructionStack (most recent call first):File "<frozen importlib._bootstrap>", line 488 in callwith_frames_removedFile "<frozen importlib._bootstrap_external>", line 1297 in exec_moduleFile "<frozen importlib._bootstrap>", line 935 in loadunlockedFile "<frozen importlib._bootstrap>", line 1331 in findand_load_unlockedFile "<frozen importlib._bootstrap>", line 1360 in findand_loadFile "/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_removedFile "<frozen importlib._bootstrap_external>", line 995 in exec_moduleFile "<frozen importlib._bootstrap>", line 935 in loadunlockedFile "<frozen importlib._bootstrap>", line 1331 in findand_load_unlockedFile "<frozen importlib._bootstrap>", line 1360 in findand_loadFile "/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_removedFile "<frozen importlib._bootstrap_external>", line 995 in exec_moduleFile "<frozen importlib._bootstrap>", line 935 in loadunlockedFile "<frozen importlib._bootstrap>", line 1331 in findand_load_unlockedFile "<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.
Sunday at 06:29 PM1 day 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 luckopen to any suggestions
6 hours ago6 hr 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 luckopen to any suggestionsWhen 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.