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

PipelineTask

PipelineTask

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

source

Bases: str, Enum

Enum representing the types of pipeline tasks supported.

EMBEDDINGS_GENERATION

EMBEDDINGS_GENERATION = 'embeddings_generation'

source

Task for generating embeddings.

PIXEL_GENERATION

PIXEL_GENERATION = 'pixel_generation'

source

Task for generating pixels.

TEXT_GENERATION

TEXT_GENERATION = 'text_generation'

source

Task for generating text.

UNDEFINED

UNDEFINED = 'undefined'

source

Undefined task, used as default when task should be auto-detected.