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.
Is Speculative Decoding Worth It? Profiling vLLM on NVIDIA Blackwell
Speaker
Sheila, a data analyst at Akamai, explains how to assess speculative decoding for different workloads while profiling vLLM on an NVIDIA Blackwell GPU.
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.
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.
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.
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
- works at
“I'm a DA at Akamai”
YouTube Verified2 sources· Talk, Web· archived
- featurespeculative decoding: A smaller draft model proposes tokens that the target model verifies.
“the target model ... still has to verify the tokens”
YouTube Unverified1 source· Talk
- metricspeculative decoding: 1.6× faster in the structured output demo
“it was able to generate much, much faster: 1.6 times faster”
YouTube Unverified1 source· Talk
- uses
“I implemented this with vLLM”
YouTube Unverified1 source· Talk
- feature
Akamai: Publishes developer resources on inference optimizations, AI agents, managed Kubernetes, and Akamai Functions.
“We have a lot of different resources here”
YouTube Unverified1 source· Talk











