Who it is for
For developers familiar with Python, PyTorch and LLM basics who want to understand inference and serving performance.
What you can learn
Distinguish prefill from token-by-token decoding and study KV cache; then follow mini-sglang examples on request handling, continuous batching and cache management before exploring SGLang.
Try it first
Map prefill, decoding and cache reuse for one input. Note how input and output lengths affect stored cache, then compare your model with the tutorial code.
Free access and conditions
Chinese and English web chapters are free to read without an account. The authors provide PDFs dated 2026-11-12; these may lag the website and repository. Some exercises can be debugged on CPU, while performance tests and advanced labs may need a GPU or paid cloud resources. The English home-page status differs from the repository; check each chapter.
Author-provided Chinese and English PDFs (expand Assets) ↗
Source and rights
The author’s PDF release identifies the course license as CC BY-NC-SA 4.0, which restricts commercial use; no repository-wide license file was found. Check rights for code, images and other material separately.
Source: Datawhale · RadixArk
Related learning resources
- AI Infra in Depth: Quantitative Analysis and System Design — Study AI inference and training systems through hardware constraints and quantitative analysis.
Continue learning: Free courses on AI MOOC