IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/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. /max/get-started.md).

Python module

max.pipelines.diffusion

Diffusion-specific pipeline components.

Pipelinesโ€‹

CompileWrapperWraps a compile target with optional input type annotations.
DiffusionPipelineBase class for diffusion pipelines.
DiffusionPipelineOutputOutput of a diffusion pipeline.
PixelGenerationPipelinePixel generation pipeline for diffusion models.

First-block cacheโ€‹

FirstBlockCacheStandalone FirstBlockCache module.
FirstBlockCacheStatePer-request mutable state for FirstBlockCache.

Denoising cacheโ€‹

DenoisingCacheConfigPipeline-level cache configuration for diffusion model denoising.
DenoisingCacheStatePer-request mutable cache state for a single denoising stream.
TaylorSeerStandalone TaylorSeer caching module.
TaylorSeerBufferStatePer-request mutable TaylorSeer state using Buffer objects.
TaylorSeerCacheHigh-level TaylorSeer for executor pipelines (Buffer-based).
TaylorSeerStatePer-request mutable state for TaylorSeer caching.
fbcache_conditional_executionHandle FBCache F.cond branching pattern shared across DiT models.
max_compileDecorator or function to compile a target with specified input types.
run_denoising_stepExecute one denoising step with caching logic.