Rung 03 / How you run it cheaply, per token

Serving & Runtime

How a model is actually run, per token — the mechanics that turn capability into throughput.

17
Sources
6
Concepts
5
Entities
A brushed steel manifold with four copper outlet pipes, on paper.

In scope: batching and scheduling, KV-cache management and eviction, quantization at serving time, speculative decoding, prefill/decode disaggregation, paged attention, routing, throughput and latency engineering. Out: what the model can do (models), what a finished task costs (inference-economics), the silicon it runs on (hardware).

A slotted tray whose queues fill to uneven depths — continuous batching.
KV cacheBatchingSpec decodingPrefill/decode
Serving & Runtime | Knowledge Base | MenFem