From denoiser to product: two missing pieces
The previous lesson built a model that turns static into plausible images. A product needs two more things: the image must match a prompt, and it must arrive in seconds, not minutes.
Both problems live in the sampling loop, and both were solved without changing the core training idea:
- Steering. The denoiser must be told what to draw, and, crucially, told how strongly to obey. The mechanism, classifier-free guidance, is arguably the single most consequential trick in applied diffusion.
- Speed. Naive sampling runs the network once per timestep, up to a thousand forward passes. The fixes stack: run in a compressed latent space (each pass gets cheaper), use smarter solvers (fewer passes needed), and finally distill (a student network jumps in one to four passes).
A useful frame for the whole lesson: the trained model defines a field of arrows from noise toward data (the score, from lesson 1). Everything here is about bending those arrows toward what the user asked for, and following them in fewer, larger, smarter steps.

