Lab: A tested model that runs in 16 bits
25 min read·13 Oct 2026
Module 5 · Lab · About 70 minutes · Needs: lessons 1 to 5 of this module, and Module 4's lab
What you are building
Sol 409 at Aurora Station, end of Kofi Mensah's review. The lessons left four repairs and a pile of checks in notebook cells: a bfloat16 model crashes (Lesson 3), a float64 model returns a float32 loss (Lesson 5), GPT-2 small loads only after a hand patch (Lesson 2), and nothing refuses a batch of the wrong shape (Lesson 1).
Today you make the four repairs, each with a test, prove no float32 number moved, answer Hana Aoki's 16-bit question with three seeds, and tag v0.5.0.