Files
vllm-omni/vllm_omni/diffusion/models/magi2/__init__.py
T
2026-09-05 15:32:30 +08:00

22 lines
601 B
Python

# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM-Omni project
"""SandAI MAGI-2 Preview diffusion support."""
from __future__ import annotations
from typing import Any
__all__ = ["Magi2Pipeline", "get_magi2_post_process_func"]
def __getattr__(name: str) -> Any:
if name in __all__:
from .pipeline_magi2 import Magi2Pipeline, get_magi2_post_process_func
return {
"Magi2Pipeline": Magi2Pipeline,
"get_magi2_post_process_func": get_magi2_post_process_func,
}[name]
raise AttributeError(name)