Skip to content
THE LIBRARY

Good questions start
with deeper understanding.

Keep the mechanism close. Explore the concepts, experiments, and guides behind the serving path.

Prefer a sequence? Find your path
55 resources to exploreRead. Experiment. Put it to work.
Interactive toolsFree

Decode economics

Change the batch, context, and hardware. Compare a sequential phase bound with the memory budget.

Interactive model
Interactive toolsFree

KV memory budget

See what remains for the KV cache after stored weights and runtime reservations.

Interactive model
Interactive toolsFree

Speculative decoding

Find when useful draft tokens pay for drafting and verification.

Interactive model
Interactive toolsFree

Prefill deadlines

Choose a prefill chunk under a decode-token deadline and inspect every iteration.

Interactive model
Interactive toolsFree

Prefix ownership

Count physical KV pages when requests share a prefix within separate trust groups.

Interactive model
Interactive toolsFree

SLO goodput

Apply latency and success requirements to each request in a synthetic trace.

Interactive model
Interactive toolsFree

Context growth

Keep the prefill chunk fixed and watch growing attention work consume the token-gap budget.

Interactive model
Interactive toolsFree

Batch scheduling

Compare static and continuous batching on a finite, synthetic request queue.

Interactive model
PDF guidesPremium · download rights apply

The inference field guide

Eight pages of worked serving decisions: KV reservations, prefill deadlines, cancellation, speculation, benchmark qualification and kernel investigation.

8 pages · 2026-10-21
Courses2 free lessons

Serving under pressure: from admission to release

Build a defensible serving policy for one specified worker: reserve KV pages, protect token deadlines, reclaim cancelled work safely, and decide whether a change deserves release.

6 lessons
Courses2 free lessons

Reading inference engines: prove what the code preserves

Follow a token through an inference engine, test the state that survives each step, and audit the evidence behind a performance claim. Six lessons turn source reading into a reproducible engineering review.

6 lessons
InsightsFree

How to read an inference engine: a route through code, kernels and measurement

A practical reading route through Mini-SGLang, LLMs-from-scratch, Uzu, AIPerf and primary inference courses. Each stop has a specific file or section, an engineering question and an artifact to produce.

10 min read