tiny-llm: Open Course Builds a Mini vLLM Inference Engine on Apple Silicon

alexcovo_eth · x · 2026-11-05

Someone turned the hardest parts of LLM inference engineering into a course where you fix the performance problems yourself: tiny-llm, an open-source course for building a small vLLM-style inference engine around Qwen3 on Apple Silicon.

The four-week hands-on curriculum covers implementing attention and text generation, adding a KV cache to reuse computation, working with packed 4-bit weights, writing faster ops in C++ and Metal, and handling concurrent requests with batching and paged memory. It also covers a small coding agent with tool calls, checkpoints, and context management, with exercises and reference solutions at each stage.

Original post →

More from coding & agent

coding & agent channel →