#7272nd of 171 in Learning and cookbooks
zero-to-sglang
Course on LLM inference: build a mini-sglang, then read SGLang source
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts zero-to-sglang on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.zero-to-sglang is on your watch list. Its new releases and problems show there.
- Stars
- 2.4k
- License
- no license
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
35 on 26 Aug 20262,408 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
A written course from Datawhale and RadixArk that explains LLM inference (KV cache, prefill/decode, benchmarking) and then walks through building a mini-sglang step by step. Part II adds continuous batching, paged KV cache, RadixAttention, tensor parallelism and speculative decoding. Later parts cover the real SGLang source, including attention backends, quantization and prefill-decode disaggregation, plus the PR workflow. Available in English and Chinese.
Who it is for: Python and PyTorch engineers who want to learn how LLM inference engines work
Strengths
- Part II builds an engine incrementally: KV cache, HTTP serving, batching, paged cache, RadixAttention
- Part III covers real SGLang internals: attention backends, quantization, hierarchical cache, DP/EP/PP
- Part I needs no GPU; most of Part II can be debugged on CPU
- Co-launched with RadixArk; several chapters written by SGLang core members
Weaknesses
- Companion video series is unfinished; links are not yet added
- CC BY-NC-SA 4.0 license bars commercial use of the material
- Reference mini-sglang code lives in a separate sgl-project repository
- Citation author field is still a TODO
What it needs
- GPU optional
- Needs PyTorch, SGLang
- Models: Qwen3-0.6B
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Learning and cookbooks
See all 171| Rank | Project | Score |
|---|---|---|
| #70 | pinecone-io/examplesJupyter notebooks and sample apps for building with Pinecone vector databases | 52 out of 100 |
| #71 | tutorialsJupyter tutorials for medical imaging with MONAI and PyTorch | 52 out of 100 |
| #73 | machine-learning-zoomcampFree ML engineering course from regression to Kubernetes deployment | 51 out of 100 |
| #74 | microduck-build-tutorialBuild guide and code for a Raspberry Pi biped robot walking with an ONNX policy | 51 out of 100 |
| #75 | langchain-courseCourse code for building LangChain and LangGraph agents in Python | 51 out of 100 |