Skip to content

ComfyUI crashes a lot, black images, errors. Please help investigate. #4971

Answered by Silverun
Silverun asked this question in Q&A
Discussion options

You must be logged in to vote

An update - solved:

So basically I tried all above and settled on this config:
C:\AI\ComfyUI>.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build --force-fp32 --fp8_e5m2-unet

Turns out forcing fp32 eliminated 99% of black images and crashes. This setting, to my knowledge, sets vae, unet, and text encoder to use 32 fp which is the most accurate, but slowest option for generation. However, I found out that just setting vae to 32 does not do the trick for black images. Seem like force 32 does something else apart from all said above.

Some tests with SXDL+ loras:
fp8_e5m2-unet - uses about 2 gb less VRAM and 20% less RAM than fp16 unet and almost the same quality
fp16 une…

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@Silverun
Comment options

Comment options

You must be logged in to vote
2 replies
@ltdrdata
Comment options

@Silverun
Comment options

Comment options

You must be logged in to vote
3 replies
@Silverun
Comment options

@LukeG89
Comment options

@Silverun
Comment options

Comment options

You must be logged in to vote
1 reply
@Silverun
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Silverun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants