Companion Lessons

<- Master Plan · Readiness review

These pages are the support layer for the 12-week curriculum. Use each one before the week starts. They are deliberately smaller than the weekly plans: their job is to make the math, programming, and systems prerequisites concrete enough that Monday can start with execution.

Rust support shelf: rust-book-companion. C++/CUDA mirror shelf: cpp-cuda-track. Source shelf: references, especially Demystifying AI for visual Transformer foundations and the HF Ultra-Scale Playbook map for weeks 5-12.

How to use them

  1. Open the companion lesson on the Sunday before the week.
  2. Do the prerequisite checklist and the gate exercise.
  3. Copy weak spots into that week’s notes.md.
  4. If the gate takes more than 45 minutes, schedule a repair block before Day 1.

Weekly Map

Week Companion lesson Cert plan Build project C++/CUDA mirror Source reading
1 AI math notation, backprop, and first Rust contact Week 1 plan Autograd from scratch execution model parameters vs activations
2 GPU hardware math, memory bandwidth, and CUDA/Rust basics Week 2 plan CUDA-in-Rust basics memory + SAXPY compute and precision
3 Network fabrics, roofline thinking, and SGEMM support Week 3 plan SGEMM ladder matmul + roofline -
4 Operations primitives, normalization math, and PyTorch extension support Week 4 plan PyTorch custom ops in Rust PyTorch extension -
5 Transformer math, PyTorch architecture, and tokenizer support Week 5 plan GPT from scratch reduction Demystifying attention + HF memory
6 LoRA rank math, QLoRA, and evaluation support Week 6 plan LoRA from scratch scan/histogram batch and ZeRO
7 Quantization, Triton tiling, and FlashAttention support Week 7 plan Triton kernels and quantization advanced GPU Demystifying efficiency + HF kernels
8 Serving math, queueing, Rust async, and safety support Week 8 plan ferrum-serve async overlap serving carryover
9 Distributed training, all-reduce cost, and NCCL support Week 9 plan Distributed training internals multi-device DP/ZeRO
10 Tensor/pipeline parallelism math and admin command support Week 10 plan Tensor and pipeline parallelism atomics/memory model 5D strategy
11 Kubernetes GPU serving, scheduling invariants, and observability support Week 11 plan K8s GPU serving profiling roofline benchmarking
12 Troubleshooting, capstone integration, and portfolio defense Week 12 plan Capstone PyTorch extension scale-up story

This site uses Just the Docs, a documentation theme for Jekyll.