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 function

supports_pipeline_stages

supports_pipeline_stages()​

max.pipelines.lib.module_registration.supports_pipeline_stages(module_cls)

source

Returns whether a registered decoder builds as pipeline stages.

A decoder that sets supports_pipeline_stages builds the layers of the stage its config carries. On a stage after the first it starts from stage_boundary, and on a stage before the last it returns the tree it hands the next stage in place of its outputs.

Parameters:

module_cls (type[Module[..., Any]])

Return type:

bool