concept:sampling
Sampling
Sampling in the context of production machine-learning systems.
Lessons
Formal explanations, examples, simulations, and checkpoints.
Frontier architectures & efficient inference
Autoregressive decoding policies
The model supplies possibilities; the decoding policy decides which possibilities can become product behavior.
Frontier architectures & efficient inferenceKV caches, GQA/MQA, and long context
KV caching removes repeated history compute by turning context length into a first-class memory budget.
Frontier architectures & efficient inferenceQuantization, compilation, and fused kernels
Optimize the measured bottleneck, and treat every numeric or execution rewrite as a new artifact that must pass quality gates.
Courses & assignments
Dependency-authoritative learning units.
Casebook
Reported facts and course reconstructions.