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

Generate all style in order... pretty much impossible to do. #7

Open
Zibbibbo opened this issue Aug 10, 2023 · 5 comments
Open

Generate all style in order... pretty much impossible to do. #7

Zibbibbo opened this issue Aug 10, 2023 · 5 comments

Comments

@Zibbibbo
Copy link

a Batch size of 77 is impossible to manage even for a 4090.
When i select this option and set batch size to 77 (i've modified ui-config.json to have maximum batch size increased) the vram usage go up to 24gb 100% used and SD stuck at 0% generation forever....

Maybe there is another way to do it? (except to do manually all the 77 styles)

@Thireus
Copy link

Thireus commented Aug 12, 2023

Same issue, even by setting the batch size to a small number, it still doesn't generate different styles. The feature doesn't appear to be working.
It would be best if this option was as an X/Y/Z Plot script menu option.

@h43lb1t0
Copy link
Contributor

batch count is working for me.

@Zibbibbo
Copy link
Author

Zibbibbo commented Aug 28, 2023

batch count is working for me.

bacth count is not batch size, and it generate many variants randomly picked from the list, if you set batch count 77 you can get like 12 example of Cinematic, 6 enhance, 5 pixel and so on until you reach 77 images... is different from ONE per style (77 images that are all 77 styles)

So, no, batch count doesn't work anyway, not for this exact purpose to do one image for each style.

@automayt
Copy link

automayt commented Jan 5, 2024

New response to an old issue, but in order for this to work, you must disable "dynamic prompts", select "Generate All Styles In Order" in sdxl styles, and then set a batch count to 77. This will create a single image from your prompt in each style. The only downside is that "batch count" automatically adds 1 to the seed and I have found no way to keep the seed exactly the same through each iterating style.

@h43lb1t0
Copy link
Contributor

h43lb1t0 commented Jan 6, 2024

You can create a new p for each style. This way it would also make it possible to set the batch count/size for for the styles. Will work with dynamic prompts and keeps the same seed.
How I did it in my extension:
https://github.com/h43lb1t0/SD-WebUI-BatchCheckpointPrompt/blob/main/scripts/batchCheckpointsPrompt.py#L203

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants