Overview Lectures Tue & Thu 2:55-4:10pm, Upson Hall 142 Instructor Zhiru Zhang Office hours Thursday 5:00-6:00pm, Online CMS cmsx.cs.cornell.edu Ed edstem.org/us/courses/100429
Course Texts Lecture slides posted in the course schedule Austin et al., How to Scale Your Model, Google DeepMind, online, 2025. (Scaling Book)
Thu 08/27 – Basics of Neural Networks Lecture02 Slides Readings Stanford CS231n, Neural Networks Part 1. J. Kun, The Perceptron, and All the Things it Can't Perceive.
Tue 09/01 – Hardware Specialization, Part 1 Lecture03 Slides Readings Dally et al., Domain-Specific Hardware Accelerators, CACM 2020. Leiserson et al., There’s Plenty of Room at the Top: What will Drive Computer Performance after Moore’s Law?, Science 2020.
Thu 09/03 – Hardware Specialization, Part 2 Lecture04 Slides Readings Dally et al., Domain-Specific Hardware Accelerators, CACM 2020. Leiserson et al., There’s Plenty of Room at the Top: What will Drive Computer Performance after Moore’s Law?, Science 2020.
Tue 09/08 – Roofline Analysis, Tiling Lecture05 Slides Readings Scaling Book Ch. 1: All About Rooflines. Williams et al., Roofline: An Insightful Visual Performance Model for Multicore Architectures, CACM 2009. S. Boehm, Fast Multidimensional Matrix Multiplication on CPU from Scratch.
Tue 09/15 – Systolic Arrays Lecture07 Slides Readings Scaling Book Ch. 2: Appendix B: How does a systolic array work? H.T. Kung, Why Systolic Architecture?, 1982.
Thu 09/17 – TPUs Lecture08 Slides Readings Scaling Book Ch. 2: How to Think About TPUs. Jouppi et al., A Domain-Specific Supercomputer for Training Deep Neural Networks, CACM 2020.
Tue 09/22 – Sharding Lecture09 Slides Readings Scaling Book Ch. 3: Sharded Matrices and How to Multiply Them.
Thu 10/15 – LLMs, Part 1 Lecture14 Slides Readings Scaling Book Ch. 4: All the Transformer Math You Need to Know. 3Blue1Brown: 1. Transformers, the tech behind LLMs, 2. Attention in transformers, step-by-step.
Thu 10/22 – LLMs, Part 2 Lecture16 Slides Readings Scaling Book Ch. 7: All About Transformer Inference.
Thu 11/05 – LLM Serving Lecture20 Slides Readings Scaling Book Ch. 7: All About Transformer Inference.