Spot the errors in this description of continuous batching
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Click any words you think contain an error. Click again to unmark.
Continuous batching schedules at the iteration level, evicting and admitting requests every decode step to keep GPU slots full; the win is throughput, and it is the default in online serving.
Picture a carpool van that fixes its riders at the start and refuses to move until every rider reaches their stop. The earliest arrivals still ride along, their empty seats wasted, until the last person is done. That is static batching. Continuous batching is a van that drops off each rider the instant they arrive and immediately picks up someone waiting at the curb. Every seat stays occupied almost all the time. Because short trips finish fast and free up seats, the van moves far more people per hour. The point is not that any single rider arrives sooner. The point is that the van never carries empty seats waiting for one slow passenger.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: static versus continuous batching + the iteration-level admit and evict loop + why the win is throughput not TTFT + no padding to longest + paged cache interaction.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Claiming static batching is as efficient as continuous batching, or that continuous batching pads to the longest sequence. Static batching wastes slots on finished requests; continuous batching reclaims them per step.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.