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 class
VerifyWidthRange
VerifyWidthRange
class max.pipelines.speculative.VerifyWidthRange(*, batch_start, batch_end, num_tokens)
Bases: BaseModel
One inclusive decode-batch-size range and the drafts to verify in it.
batch_end
batch_end: int
Last decode batch size this range covers, inclusive.
batch_start
batch_start: int
First decode batch size this range covers, inclusive.
model_config
model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
num_tokens
num_tokens: int
How many of the carried drafts the target verifies in this range.