← Writing

How to Scale Your Model, Chapter 1: rooflines

I'm working through How to Scale Your Model and keeping notes as I go. Chapter 1 is about rooflines: a way to tell whether a computation is limited by math, memory bandwidth, or the network. These are the pointers I'd want to remember; the derivations and exercises are in the notes.

The full notes include the worked exercises, a roofline plot across several D and F, and my corrections: typeset notes (PDF) and handwritten notes (PDF). More chapters in the repo as I get to them.