glossary/serving/static-batching
Static batching
Collecting a batch of requests, running them together until every one has finished, then collecting the next. Requests that finish early keep their slot and produce nothing while the longest one completes, so utilisation falls with the spread of answer lengths. It is the natural design for a training-style forward pass, and the thing continuous batching replaced for serving.
the slowest member
Sets the batch's duration; with answers from 8 to 512 tokens, most slots sit idle most of the time.
See it happen
Related
- glossary/
- Continuous batching
Scheduling at the granularity of a single decode step instead of a whole batch.
- Throughput
Tokens produced per second across all requests in flight, or requests completed per second.
- Request scheduling
Deciding, each step, which waiting requests join the batch and which running ones stay.
- sources/
- topics/