L3 Advanced · Module 11: Decoding and sampling

11.3Speculative decoding: draft, verify, accept

How the next token is chosen, and how to choose several at once.

✦ Interactive

Sources for this module

Finished chapters so far: all of Level 1 (Modules 0–3), Module 4: CUDA fundamentals, Module 5: parallel patterns, Module 6: GEMM and memory optimization, Module 7: profiling and 9.1 How big is the KV cache?