IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Python data

MAGIC_DRAFT_TOKEN_ID

MAGIC_DRAFT_TOKEN_ID​

max.pipelines.speculative.MAGIC_DRAFT_TOKEN_ID = 42

source

Sentinel draft-token id for prefill / dummy-draft graph-capture steps.

A row of draft_tokens whose every position equals this value means “no real draft prediction to verify”: the unified DFlash graphs detect it to zero out acceptance during prefill, and the overlap pipeline writes it when seeding draft slots before any real draft exists. Defined here so the graph side (architectures) and the runtime side (lib) agree on a single value.