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

[Bug]: Batch count won't work along with scripts(prompt matrix)

Open A2Sumie opened this issue 3 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

By choosing the prompt matrix script, batch count settings are ignored and only one output came out.

Steps to reproduce the problem

  1. Choose prompt matrix and set a batch count
  2. Press generate
  3. batch count is ignored and only one output would come.

What should have happened?

Outputs corresponding to batch counts

Commit where the problem happens

f49c08ea566385db339c6628f65c3a121033f67c

What platforms do you use to access UI ?

Windows, MacOS

What browsers do you use to access the UI ?

Microsoft Edge

Command Line Arguments

--xformers --opt-split-attention --share --listen --port XXXXX

Additional information, context and logs

Prompt matrix will create 1 images using a total of 1 batches.

A2Sumie avatar Oct 22 '22 00:10 A2Sumie

Prompt matrix will create 1 images using a total of 1 batches. I've set the batch count to 16. Or is this intended behavior?

A2Sumie avatar Oct 22 '22 01:10 A2Sumie

batch size is also ignored. Prompt matrix will create 1 images using a total of 1 batches.

A2Sumie avatar Oct 22 '22 05:10 A2Sumie

I've noticed this as well, I think it's because the scripts will set their own batch counts/sizes according to the inputs, for example if you do a prompt matrix it'll generate (optionalPromptParameter)² batches for <...> images. I haven't tried batch size here but I assume it just defaults to 1 (which is good because otherwise my 2070 would probably crash)

TheEskir avatar Nov 09 '22 10:11 TheEskir

Closing as stale.

catboxanon avatar Aug 03 '23 18:08 catboxanon