the.ai

Inference / Serving

verified

Continuous Batching

Batching requests together uses the hardware well, but sequences finish at different times, and a batch that waits for its slowest member leaves most of the accelerator idle. Continuous batching lets a finished sequence leave and a waiting one take its place at the next step, so the batch is refilled constantly rather than assembled once.

Viz primitive · budget-splitidle-slots = 8

idle-slots holds 50% of the budget; rest holds the remaining 50%.

Batch slots idling for the longest sequence against those doing useful work. Drag the idle count to watch a wider spread in output lengths waste the accelerator.

8

Reviewed by opendroid · 2026-08-04

  • arXiv:2309.06180 — Efficient Memory Management for Large Language Model Serving with PagedAttention