Inference
Production generation: prefill, decode, batching, streaming, latency, and throughput.
Learning path
Work through each subtopic in order. Click any file below to open its lesson. Track your progress with the checkbox at the bottom.
Subtopics
Each subtopic includes a concise explanation, code examples, and references.
LLM Inference
Request-to-token pipeline.
Prefill
Parallel prompt-processing visualization.
Decode
Token-by-token generation visualization.
Token Generation
Live token stream.
Inference Latency
Latency timeline.
Throughput
Requests/tokens-per-second dashboard.
Batch Inference
Multiple-request batching animation.
Continuous Batching
Dynamic batch timeline.
Streaming
Token-stream output.