2025-09-11 14:32:51 +08:00
|
|
|
"""
|
|
|
|
|
vLLM-omni: Multi-modality models inference and serving with non-autoregressive structures.
|
|
|
|
|
|
|
|
|
|
This package extends vLLM beyond traditional text-based, autoregressive generation
|
|
|
|
|
to support multi-modality models with non-autoregressive structures and non-textual outputs.
|
|
|
|
|
|
|
|
|
|
Architecture:
|
|
|
|
|
- 🟡 Modified: vLLM components modified for multimodal support
|
|
|
|
|
- 🔴 Added: New components for multimodal and non-autoregressive processing
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
__version__ = "0.1.0"
|
|
|
|
|
__author__ = "vLLM-omni Team"
|
|
|
|
|
__email__ = "hsliuustc@gmail.com"
|
|
|
|
|
|
|
|
|
|
# Main entry points
|
2025-09-26 15:59:50 +08:00
|
|
|
from .entrypoints.omni_llm import OmniLLM, AsyncOmniLLM
|
2025-09-25 09:10:54 +08:00
|
|
|
from .config import (
|
|
|
|
|
OmniStageConfig,
|
|
|
|
|
DiTConfig,
|
|
|
|
|
DiTCacheConfig,
|
|
|
|
|
create_ar_stage_config,
|
|
|
|
|
create_dit_stage_config,
|
|
|
|
|
)
|
2025-09-11 14:32:51 +08:00
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
|
# Version info
|
|
|
|
|
"__version__",
|
|
|
|
|
"__author__",
|
|
|
|
|
"__email__",
|
|
|
|
|
|
|
|
|
|
# Main components
|
2025-09-25 09:10:54 +08:00
|
|
|
"OmniLLM",
|
|
|
|
|
"AsyncOmniLLM",
|
|
|
|
|
|
|
|
|
|
# Configuration
|
|
|
|
|
"OmniStageConfig",
|
|
|
|
|
"DiTConfig",
|
|
|
|
|
"DiTCacheConfig",
|
|
|
|
|
"create_ar_stage_config",
|
|
|
|
|
"create_dit_stage_config",
|
2025-09-11 14:32:51 +08:00
|
|
|
|
|
|
|
|
# All other components are available through their respective modules
|
|
|
|
|
# processors.*, schedulers.*, executors.*, etc.
|
|
|
|
|
]
|