2026-06-02 20:50:20 +01:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
|
|
|
|
"""DreamZero single-stage diffusion topology."""
|
|
|
|
|
|
|
|
|
|
from vllm_omni.config.stage_config import (
|
|
|
|
|
PipelineConfig,
|
|
|
|
|
StageExecutionType,
|
|
|
|
|
StagePipelineConfig,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
DREAMZERO_PIPELINE = PipelineConfig(
|
|
|
|
|
model_type="dreamzero",
|
2026-07-18 17:21:07 +08:00
|
|
|
default_deploy_config_name="dreamzero.yaml",
|
2026-06-02 20:50:20 +01:00
|
|
|
model_arch="DreamZeroPipeline",
|
|
|
|
|
stages=(
|
|
|
|
|
StagePipelineConfig(
|
|
|
|
|
stage_id=0,
|
|
|
|
|
model_stage="diffusion",
|
|
|
|
|
execution_type=StageExecutionType.DIFFUSION,
|
|
|
|
|
input_sources=(),
|
|
|
|
|
final_output=True,
|
|
|
|
|
final_output_type="image",
|
|
|
|
|
model_arch="DreamZeroPipeline",
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
)
|