stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Maybe hint for black image bug

Open lockmatrix opened this issue 3 years ago • 2 comments

When I try dump every step result of image, I found some of them can be black, but the steps before and after can be ok, It seems this bug is in dump image from latent, maybe related to multi-thread.

lockmatrix avatar Oct 16 '22 08:10 lockmatrix

Do you have "--no-half-vae" after "set COMMANDLINE_ARGS=" in the webui-user.bat? If not, that should fix it. it's a known problem unfortunately.

ResleyZ avatar Oct 16 '22 10:10 ResleyZ

Do you have "--no-half-vae" after "set COMMANDLINE_ARGS=" in the webui-user.bat?

No

so it is a vae related bug?

lockmatrix avatar Oct 16 '22 10:10 lockmatrix

yeah, something with the vae file has been messing stuff up for a couple of days now, I personally had it working fine for a while, but after some updates, can't remember when exactly, I had to use this command as well.

ResleyZ avatar Oct 17 '22 11:10 ResleyZ

When I try dump every step result of image, I found some of them can be black, but the steps before and after can be ok, It seems this bug is in dump image from latent, maybe related to multi-thread.

Can confirm this issue is present when any vae is used, but why is that?

And --no-half-vae fixes the issue for my 3080, what's the effect of that commandline even

ice051128 avatar Dec 02 '22 08:12 ice051128

That fixes the bug, but seems to decrease it/s?

ice051128 avatar Dec 02 '22 08:12 ice051128