tiny-llm Turns vLLM Internals Into Coursework
tiny-llm is an open-source, four-week course that teaches LLM inference by rebuilding Qwen3 serving components on Apple Silicon with MLX. Students implement operators, kernels, KV caching, continuous batching, paged attention, and a basic coding agent.
This is a rare course that makes inference performance concrete: you diagnose the bottleneck, implement the fix, and measure the result yourself.
- –Starts with readable Python implementations before moving into C++, Metal, quantization, and optimized kernels
- –Uses Qwen3 and Apple Silicon, making serious inference experimentation accessible without an NVIDIA GPU
- –Covers the serving concepts behind vLLM, including continuous batching, chunked prefill, paged KV caches, and FlashAttention
- –MLX acts as both correctness oracle and performance baseline, forcing students to understand the cost of abstraction
- –Best suited to systems engineers with Python and deep-learning fundamentals; it is coursework, not a production inference server
DISCOVERED
1h ago
2026-10-29
PUBLISHED
1h ago
2026-10-29
RELEVANCE
AUTHOR
techNmak