WhoBuilt

Is Speculative Decoding Worth It? Profiling vLLM on NVIDIA Blackwell

Oct 6, 2026· 15 min· 4.8K views·Watch on YouTube

Speaker

Sheila, a data analyst at Akamai, explains how to assess speculative decoding for different workloads while profiling vLLM on an NVIDIA Blackwell GPU.

How speculative decoding works

Sheila describes prompt processing, which builds the KV cache, followed by token generation, which usually proceeds one token at a time. With speculative decoding, a smaller draft model proposes several tokens and the target model verifies them in one forward pass, recomputing rejected tokens.

Account for memory and model fit

Speculative decoding requires memory for both models and their KV caches, so it is more practical when GPU capacity is available and concurrency is not already consuming it. For her single Blackwell GPU demo, Sheila chose a baseline model using about 16 GB of weights and a 2.5 GB draft model. She recommends a smaller draft model, ideally from the same family and using the same tokenizer, while balancing speed and accuracy.

Match the draft model to the workload

Sheila says structured tasks such as coding, JSON, and SQL may benefit because the draft model can predict likely next tokens more reliably. Creative tasks such as poetry and brainstorming can have lower acceptance rates, especially at higher temperature. In the demo, the structured case ran 1.6 times faster with speculative decoding.

Check where time is spent

Acceptance rate measures how many draft-model tokens the target model accepts, and Sheila presents it alongside tokens per second as a useful performance measure. Speculative decoding speeds token generation, not prompt processing. Applications that spend much longer processing large contexts, such as RAG or document analysis, may see less benefit when they generate relatively few tokens.

Evaluate with vLLM

Sheila suggests weighing workload structure, available VRAM, creativity, concurrency, and batch size before enabling speculative decoding. She used vLLM and points to its documentation as a starting point, with n-gram, Medusa, and EAGLE as other approaches. Akamai Developers' website and GitHub have resources for replicating the setup.

Takeaways

  • Measure draft-token acceptance on representative prompts before deciding whether speculative decoding helps.
  • Structured coding, JSON, and SQL tasks may be better candidates than high-temperature creative generation.
  • Budget GPU memory for the draft model and both models' KV caches.
  • Compare generation speed with prompt-processing time, especially for long-context applications.
  • Test under your expected concurrency and batch size; available GPU capacity affects whether the approach is practical.

Mentioned in this talk

Search inside this talk

What was claimed 5

Related talks