Who it is forA developer or analyst new to LLM serving who needs a conceptual foundation before working with inference engines and has no GPU available.
The problemMost inference material either stays abstract or drops you into engine source code without context.
The outcomeA working mental model of inference bottlenecks, KV Cache, and how to read TTFT, TPOT, ITL, and Goodput.
What you need first
- Python and basic software engineering habits
- Familiarity with PyTorch and neural network basics
- Git installed to clone the repository
- A GPU for Part 0 deployment and full mini-sglang performance tests (cloud GPU is fine; Part I needs no GPU)
Steps
git clone https://github.com/datawhalechina/zero-to-sglang.gitcd zero-to-sglang- Open course-material/eng/part1/Chapter1_Introduction_to_LLM.md and read it.
- Read the Introduction to Inference chapter and the KV Cache chapter in Part I, which cover prefill/decode, compute-bound vs. memory-bound, and the Roofline model.
- Read course-material/eng/part1/Chapter5_Introduction_to_Benchmark.md to learn TTFT, TPOT, ITL, Goodput, and tail latency.
Prompt for your agent
Clone https://github.com/datawhalechina/zero-to-sglang and read the Part I chapters in course-material/eng/part1/. Write a one-page summary of how KV Cache reduces repeated attention work and list the four benchmark metrics with a one-line definition each. Verify that every definition matches the chapter text.
Caveat. Part I is complete in English, but the Introduction to Inference and KV Cache chapter links in the README syllabus are blank, so find them by filename under course-material/eng/part1/.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for datawhalechina/zero-to-sglang and "Learn LLM inference concepts without a GPU"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer