Loading…
Free · sign in to read
This course is about what happens between a prompt and an answer, why serving a language model is slow and expensive by default, and the handful of ideas that make it fast and cheap. Written for engineers who have called a model API and never run one.
6 parts · 28 modules · 20 labs · 28 modules written so far
Theory first, concepts only. The numbers come in the labs, measured on the path you choose.
Part 00
The problem, then just enough of the machine to talk about it.
Part 01
What happens between a prompt and an answer, and what it costs.
Part 02
The scheduler and the memory manager, where most of the throughput comes from.
Part 03
The techniques that change what one step costs.
Part 04
Enough to read a production diagram.
Part 05
From an engine to a service, with the numbers to run it by.
Pick one path. Every lab shows the commands and the expected output for the path you chose.
Free, no card
2 × T4, 16 GB each
30 GPU hours a week with a Kaggle account. The path most readers take. One lab is read-only here because the T4 has no FP8 KV cache.
Pay per second, card on file
1 × L4, 24 GB
Every lab runs in full, from a script, on an image that starts in seconds. About $0.80 an hour while a lab runs; the whole course is a few dollars.