Parallel Decoding
What is Parallel Decoding?
In one sentence: Parallel decoding is any method that produces or checks several tokens at the same time instead of strictly one by one.
Normal generation is sequential, which wastes the GPU's ability to do many things at once. Parallel decoding tries to use that spare power, through speculation, extra heads or other tricks.
What does Parallel Decoding look like?
Speculative and Medusa decoding are both forms of parallel decoding.
Why does Parallel Decoding matter?
It is a major research direction for making AI faster.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/parallel-decoding/">Parallel Decoding, explained simply</a> (The AI Math Dictionary)