Dynamic Batching
What is Dynamic Batching?
In one sentence: Dynamic batching waits a short moment to collect incoming requests and then runs them together as a batch.
It balances waiting and efficiency: a few milliseconds of waiting can gather more requests to process together, which uses the hardware better.
What does Dynamic Batching look like?
An image model server might wait up to 10 ms to batch several requests together.
Why does Dynamic Batching matter?
Dynamic batching improves efficiency for many kinds of AI servers.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/dynamic-batching/">Dynamic Batching, explained simply</a> (The AI Math Dictionary)