Token By Token

Token by Token · episode index

Inference benchmark episodes

Recorded studies and a public experiment roadmap for learning how model-serving systems behave under controlled workloads.

  1. Episode 00 · Warm-up — At the 128-token, single-request workload, SGLang delivered more output per second while median time per output token was higher.
  2. Episode 01 · Measure what matters — At 16 users SGLang recorded 27.5% more output than vLLM. Both stayed below the 20 tok/s decode floor.
  3. Episode 02 · Equal-work runtime baseline — Six paired runs, 144 requests. The comparison was rejected, so no winner is named.
  4. Episode 03 · Prefix reuse — Cache ON lowered observed first-token p95 in the separate shared-prefix engine measurements; the same-GPU vLLM tail study remains a separate population.
  5. Episode 04 · Speculative decoding — All 12 runtime/configuration/output cells recorded favorable median paired decode-time differences. Output equivalence remains unadjudicated.
  6. Episode 05 · Mixture-of-experts inference — A mixture-of-experts checkpoint served 3.07× the valid requests of a dense one on the same GPU.
  7. Episode 06 · Serving tune-up: scheduling and precision — Smaller chunks reduced burst-induced streaming pauses by 57.6 ms across eight paired blocks.
  8. Episode 07 · Prefill and decode disaggregation — Splitting prefill and decode reduced the streaming pause from long-prompt bursts. New requests waited longer for their first text.
  9. Episode 08 · Parallelism within one node — Two studies on a fixed GPU budget: DP/TP layouts, then MoE expert parallelism and load balance.
  10. Episode 09 · Parallelism across nodes — Test placement and communication costs on a documented multi-node network topology.
  11. Episode 10 · Prefill/decode disaggregation and cache-aware routing — Compare colocated and supported disaggregated serving with queue- and cache-aware routing.
  12. Episode 11 · Slurm and Kubernetes orchestration — Compare representative scheduled jobs and long-running services as platform choices, separate from engines.
  13. Episode 12 · Model internals: weights to optimization — Trace weights, attention, gradients and optimizer state with a small inspectable model.
  14. Episode 13 · LoRA and QLoRA with held-out evaluation — Compare adapter training with fixed data, budgets and held-out quality evaluation.
  15. Episode 14 · SYSTEM 1 and LLMs on labeled decision tasks — Compare typed and LLM decision approaches on one versioned labeled task contract.
  16. Episode 15 · Packaging, accelerator preflight and memory containment — Verify reproducible containers, accelerator visibility, model loading and bounded memory behavior.
  17. Episode 16 · Release gates, recovery and capstone synthesis — Combine promising settings, reject regressions and exercise rollback and recovery against original gates.