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

The Application Freezes When Trying Batch Sizes Higher Than One

Open Neltherion opened this issue 3 years ago • 3 comments

Hi

I'm trying your latest version and whenever I try to use batch sizes higher than 1, the program freezes like this:

image

Neltherion avatar Aug 31 '22 11:08 Neltherion

This is probably the same issue as here: https://github.com/hlky/stable-diffusion-webui/issues/337

It is part of the UI and not the docker setup, so I can't do anything about it.

AbdBarho avatar Aug 31 '22 11:08 AbdBarho

@Neltherion ~~It seems that the problem won't be fixed soon~~, you might want to try running again without --optimized or --optimized-turbo cli args (if it fits on you GPU), because that seems to be the cause of the problem...

EDIT: the problem seems to be fixed: https://github.com/hlky/stable-diffusion-webui/commit/fe746ce7c1585242e197674d57d3c75e2d29f90f I will update the versions and create a new release tomorrow

AbdBarho avatar Aug 31 '22 15:08 AbdBarho

@Neltherion I updated the docker image, can you try again with latest master? the problem should be fixed

AbdBarho avatar Sep 01 '22 04:09 AbdBarho

Had the same issue, creating two images per batch in --optimized-turboand --optimizedworks for me now.

JulianKauth avatar Sep 04 '22 09:09 JulianKauth

It's strange... It seems the option to pass batches is gone and I can only mention the number of images I want to generate (Max 50).

Batches were good for those who had larger VRAM.

Neltherion avatar Sep 07 '22 09:09 Neltherion

@Neltherion Yes, unfortunately it was removed, the team was trying to optimize for low end cards.

That being said, you can try the AUTOMATIC1111 fork https://github.com/AbdBarho/stable-diffusion-webui-docker/tree/master/AUTOMATIC1111 It has the batch size parameter, and is actually much nicer.

AbdBarho avatar Sep 07 '22 09:09 AbdBarho