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 class

CheckpointRole

CheckpointRole​

class max.pipelines.lib.CheckpointRole(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

source

Bases: str, Enum

A checkpoint, by its role in the pipeline.

An artifact names checkpoints by role rather than path, so whoever serves it supplies each one.

DRAFT​

DRAFT = 'draft'

source

The speculative-decoding draft model’s own checkpoint.

TARGET​

TARGET = 'target'

source

The pipeline’s model.