Why it matters

Batching shapes serving efficiency. Understanding shapes cost + latency.

Advertisement

The architecture

Static: fixed batch size.

Dynamic: variable + timeout.

Continuous: token-level.

Batching strategiesStaticfixed sizeDynamicvariable + timeoutContinuoustoken-levelContinuous batching dominates LLM serving (vLLM); static remains for CV/simple
Batching.
Advertisement

How it works end to end

Static: predictable, wasteful for variable seq.

Dynamic: adapts.

Continuous: max throughput.