Home
/ Inference Engineering The Physics of Inference Module 2 8 lessons ~8h 35m
Lessons, in order 2.a
Model Anatomy: Parameters, Weights, Activations Module 10 builds a neural network from scratch. For this lesson you only need these words:
1h
2.b
Tensors and the Forward Pass This lesson introduces the vocabulary used for the rest of the material. Skim the table now and come back when a word appears:
1h
2.c
Latency, Throughput, and the Metrics That Matter Latency is how long one thing takes. Throughput is how many things you finish per unit time. They are different, they are often in conflict, and for LLMs you need at least four numbers, not …
1h 15m
2.d
Batching: The Central Tradeoff Batching means processing several requests in one pass through the model, so the weights are read from memory once and used many times.
1h
2.e
Compute vs Memory Every computation has two costs: doing the arithmetic and moving the data to where the arithmetic happens. One of them takes longer. Whichever it is, that is your bottleneck, and optimizing …
1h 15m
2.f
FLOPs, Bandwidth, and Arithmetic Intensity This lesson is the quantitative heart of Module 2. Lesson 2.e defined arithmetic intensity and the ridge point; this one teaches you to count FLOPs and bytes for any operation and any model, …
1h 30m
2.g
CPU vs GPU For inference, the GPU wins — but understanding why tells you when it doesn't.
1h
2.h
From Pixels to Tensors GPUs were invented to draw video-game frames. Drawing a frame means running the same small calculation for millions of pixels, sixty times a second. Neural networks turned out to need …
35 min
About this module The handful of ideas every later module is built on: what a model is made of, what running it means, the metrics that judge it, why batching is the central trade-off, why memory bandwidth usually matters more than raw compute, and why that makes the GPU the machine for the job.
Lessons# Previous: The Big Picture · Next: Computer Foundations