Phase 6 of 7 · 9 topics

Systems and scale

Make models fast and cheap. Understand what limits speed and memory on a GPU, and how training works across many GPUs.

Same car, less fuel, more speed. Most of this phase is about moving data efficiently, not about doing more maths.

0 of 9 done

Core resources for this phase

Topics, in order

  1. 6.1 How a GPU works: compute vs memory

  2. 6.2 Mixed precision: fp16 and bf16

  3. 6.3 Training memory: weights, gradients, optimiser states, activations

  4. 6.4 Parallelism: data, tensor and pipeline (the ideas)

  5. 6.5 Inference speed: batching, quantisation, FlashAttention

  6. 6.6 Profiling PyTorch code

  7. 6.7 GPU kernels with Triton

  8. 6.8 Pruning and distillation

  9. 6.9 Speculative decoding

Go deeper (optional)