Speculative Decoding
In the rapidly evolving landscape of locally hosted Large Language Models (LLMs), performance often remains the primary bottleneck. While quantization and efficient kernel implementations have made running powerful models on consumer hardware a reality, a significant efficiency gap remains. This gap is bridged by speculative decoding, an advanced inference technique that allows local LLMs to operate with significantly greater throughput.
This post provides a technical summary of how speculative decoding works, the core mechanism, best practices for choosing a draft model, and the setup required for various tooling environments.


