Skip to main content

Python module

max.pipelines.lib.interfaces

Interfaces for MAX pipelines.

Architecture config

ArchConfigConfig for a model architecture.
ArchConfigWithAttentionKVCachePredefined configuration for architectures that use attention KV cache blocks.
ArchConfigWithKVCacheConfig for a model architecture that uses a KV cache.

Diffusion

ComponentModelBase interface for component models with weight-backed execution.
DiffusionPipelineBase class for diffusion pipelines.