Speculative decoding with structured-output grammar at reasoning boundaries

Parent: Mac local LLMs: Speculative decoding and MTP · Published reference · snapshot 2026-10-05

↓ Facts as markdownall context files

`common_sampler_sample_and_accept_n` walks the draft in order: it samples a token at position i, calls `common_sampler_accept(..., is_generated = true)` on it, and stops at the first position where the sampled token differs from the draft token; if every draft token matches it samples one more bo...

These notes link each claim to its source. Some citations identify archived research reports that are no longer hosted on this site. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

Facts

Children

← the whole tree · 3D view· how to read this page