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.spec_target
The target-side contract a spec-decode driver verifies through.
A target is the model being verified, so nothing here depends on how the draft
proposes. The drafting strategy shows up in one place only: which batch type
the driver hands SpecDecodeTarget.verify().
Target interface
SpecDecodeTarget | The target model's entry point and output layout. |
|---|---|
Verified | What the target contributes: verification logits and hidden states. |