1. Learn LLM Serving
  2. Setting Up the Environment
  3. Week 1: From Matmul to Text
    1. Attention and Multi-Head Attention
    2. Positional Encodings and RoPE
    3. Grouped-Query and Multi-Query Attention
    4. RMSNorm and MLP
    5. The Qwen3 Model
    6. Generating the Response
    7. Sampling and Preparing for Week 2
  4. 🚧 Week 2: A Faster Single Request
    1. 🚧 Day 1: Cache and Measure
    2. 🚧 Find the Next Bottleneck
    3. 🚧 Day 2: Keep W4 Packed — Decode Waits on Weights
    4. 🚧 Day 3: SIMD Matrix Prefill — Stop Re-reading Weights per Row
    5. 🚧 Day 4: Fused Model Primitives — Fewer Small Passes
    6. 🚧 Day 5: Tiled Dense Prefill Attention — No Full Score Matrix
    7. Historical Week 2 lesson addresses
      1. Earlier quantization lesson
      2. Earlier SIMD-prefill lesson
      3. Earlier bounded-decode lab
      4. Earlier Split-K lab
      5. Earlier optional macOS capture lab
  5. 🚧 Week 3: Build a Mini vLLM
    1. 🚧 Continuous Batching
    2. 🚧 Chunked Prefill
    3. 🚧 Paged KV Cache
    4. 🚧 Direct Paged Attention
    5. 🚧 Paged FlashAttention
    6. 🚧 Day 6 (Optional): Mixture of Experts
    7. 🚧 Day 7 (Optional): Speculative Decoding
  6. 🚧 Week 4: Build a Coding Agent
    1. 🚧 Day 1: Validated Agent Loop
    2. 🚧 Day 2: Inspect a Workspace
    3. 🚧 Day 3: Edit, Validate, and Record
    4. 🚧 Day 4: Checkpoint and Resume
    5. 🚧 Day 5: Compact Completed Work
    6. 🚧 Day 6: Inspect and Steer a Paused Agent
    7. 🚧 Day 7: Evaluate Observable Outcomes
    8. 🚧 Day 8: Fork, Steer, and Select
    9. 🚧 Day 9: Bound Tool Evidence
  7. 🚧 Appendix: Performance Evidence Ledger
  8. Sponsored by Raft.build
  9. Glossary Index