Skip to main content

Python module

architectures

register_all_models()

max.pipelines.architectures.register_all_models()

Register all built-in model architectures with the global registry.

This function imports each supported model architecture module (Llama, Mistral, Qwen, Gemma, DeepSeek, etc.) and registers their SupportedArchitecture definitions with PIPELINE_REGISTRY.

This function is called automatically when max.pipelines is imported, so you typically don’t need to call it manually. It uses an internal flag to ensure architectures are only registered once, making repeated calls safe but unnecessary.

Return type:

None

Was this page helpful?