Home › Courses › LLM Inference & Production Infrastructure

LLM Inference & Production Infrastructure

Serve a model in production: paged attention, continuous batching, quantization, goodput, and the cost per million tokens

Everything between a trained model and a request that returns. You read what a serving engine does (PagedAttention, continuous batching, chunked prefill, prefix-cache reuse, speculative decoding, disaggregated prefill and decode), then the hardware and quantization decisions underneath it, the metrics that say whether a deployment is healthy (TTFT, TPOT, ITL, goodput, P99), and the unit economics that say whether it is solvent. It ends where production bites: shadow traffic and canaries for a system whose output cannot be diffed, load tests that do not lie, incident response, secrets, and the compliance regimes that apply.

5 phases · 28 lessons · 28 worked examples

Take Transformers & LLMs from Scratch first — this course builds on it.

Curriculum

Tools

vLLM · SGLang · TensorRT-LLM · Kubernetes · LiteLLM · Prometheus

Common questions

Does this course have graded labs?

Not yet. Every lesson ships the worked example it refers to, and the exercises are stated at the end of each lesson, but nothing here is checked by the CLI the way the from-scratch courses are. These are operations decisions against running infrastructure, which is harder to grade than a function with a return value.

Do I need a GPU?

No. The lessons read real serving engines and real numbers rather than asking you to reproduce them, and the worked examples are standard-library Python. The continuous-batching lesson, for instance, ships a toy scheduler that runs anywhere.

Key terms in this course

Inference · Quantization · Speculative Decoding · vLLM · Token

Continue your learning path

ML & AI Engineering · Transformers & LLMs from Scratch · Agentic AI Engineering

Start the LLM Inference & Production Infrastructure course

Create a free account — the opening phases of 29 of 35 courses, and the first lesson of every phase, are free, no credit card. Or see Pro pricing.

All courses · Pricing · About · FAQ · Glossary · Projects by topic