Rather than waiting for a fixed group of requests to finish together, a serving system updates the active group as generation progresses. This can reduce idle capacity when requests have different output lengths.
The scheduling policy must balance utilization, memory use and response latency. More concurrent work is not always better for an individual request, so throughput improvements need to be checked against the service's latency requirements.
ELI5
Imagine a shared checkout area where the next customer can use a free position as soon as another finishes, rather than waiting for every customer in a group.
For example, a model server can admit a new short request while other requests are still generating longer answers, provided there is enough capacity.
Does batching always make each request faster?
No. It can improve overall utilization while increasing waiting or processing time for an individual request.
What distinguishes continuous from fixed batching?
Continuous batching updates the active requests during generation instead of keeping the same group until every request finishes.
