Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ComfyUI crashes during generation #6760

Open
IckyTheBiggy opened this issue Feb 9, 2025 · 2 comments
Open

ComfyUI crashes during generation #6760

IckyTheBiggy opened this issue Feb 9, 2025 · 2 comments
Labels
Potential Bug User is reporting a bug. This should be tested.

Comments

@IckyTheBiggy
Copy link

IckyTheBiggy commented Feb 9, 2025

Expected Behavior

For the UI to not crash during generation.

Actual Behavior

The model crashes after about 10–15 seconds after queuing.

Steps to Reproduce

Download the flux model any 16bit or 8bit happens on both, then get any of the flux dev workflows from the examples page it happens both on the regular and checkpoint version workflow. Then try queueing the image generation and wait for 10–15 seconds, you will get a reconnecting error message popup and the Comfy UI process will be terminated.

Debug Logs

Starting server

To see the GUI go to: http://127.0.0.1:8188
got prompt
Using pytorch attention in VAE
Using pytorch attention in VAE
VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
model weight dtype torch.float8_e4m3fn, manual cast: torch.bfloat16
model_type FLUX
CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
Requested to load FluxClipModel_
loaded partially 4245.425 4244.8984375 0
fish: Job 1, 'python main.py' terminated by signal SIGILL (Illegal instruction)

Other

PC Specs:
I9 11900k
Rtx 3070ti (8GB Vram)
32GB Ram

I'm using a Linux OS to run this.
I have also tried using the lighter flux model, but the same thing happens.

@IckyTheBiggy IckyTheBiggy added the Potential Bug User is reporting a bug. This should be tested. label Feb 9, 2025
@ltdrdata
Copy link
Collaborator

ltdrdata commented Feb 9, 2025

It seems that your python environment is damaged. Try reinstall venv from scratch.

@IckyTheBiggy
Copy link
Author

IckyTheBiggy commented Feb 10, 2025

The issue still seems to persist, I cleared the pip cache to make sure but no success. Also, I tested it on Windows which works perfectly fine, so it seems to be a Linux specific problem. It always crashes at the same point when looking at the graph, it never seems to go into the sampler stage it stays and never proceeds past the prompt stage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Potential Bug User is reporting a bug. This should be tested.
Projects
None yet
Development

No branches or pull requests

2 participants