Grammar-as-a-Draft (GaaD) treats grammar constraints as a second drafter in speculative decoding. By merging the drafter's proposal with grammar-forced tokens before verification, it produces more tokens per step in vLLM without new kernels.
HOW THIS AFFECTS YOU
●
builderYou can get faster structured outputs in vLLM by using grammar-constrained speculative decoding.
●
researcherYou can improve speculative decoding efficiency by integrating grammar constraints directly into the drafting process.