Speculative Decoding

Overview This post is divided into six parts; they are: • Draft and Verify • Sampling-Based Speculative Decoding • Assisted Generation with a Draft Model • Measuring Acceptance and Speedup • Other Ways to Draft Tokens • When Speculation Helps Draft and Verify Speculative decoding involves two models: a draft model (usually a smaller model …

Decoding Policies in a Serving Engine

Overview This post is divided into six parts; they are: • Running Decoding Policies with vLLM • Sampling Filters and Per-Token Work • Multiple Outputs and Beam Search • Stop Conditions and Request Lifetime • Structured Outputs • Batching and Runtime Cost Running Decoding Policies with vLLM vLLM separates model execution from token selection.