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 module

max.pipelines.speculative.draft_contracts

Typed computation inputs for registered EAGLE drafts.

Call inputs and outputsโ€‹

EagleDraftInputsAn EAGLE call's tokens, required hidden conditioning, and own cache.
EagleDraftOutputsThe draft's logits and the hidden carry the next call consumes.

Draft protocolโ€‹

EagleDraftThe computation surface the registered EAGLE adapter drives.

Phasesโ€‹

DraftPhaseThe trace-time output selection for a sequential draft call.