Skip to content

What's the difference between the batch count and batch size options? #59

You must be logged in to vote

Hello @UntouchedWagons,

Thanks for you question and you interest in the project.

Difference is the same that between parallel and serial processing :

  • Batch size = number of contents to generate in a single inference, using the same settings (parallel)
  • Batch count = number of inferences to repeat automatically, using the same settings (serial)

Batch size is faster than batch count for an equal value, but take more resources (RAM/VRAM mainly).

Both are cumulative and you can, for example, run 4 batch count of 4 batch size to obtain 16 generated contents.

Unless you have limited resources, there's not a real reason to prefer batch count over batch size.

Also note that on most modules, batc…

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@Woolverine94

Answer selected by UntouchedWagons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants