[Refactor] Migrate Legacy Stage Configs to the Pipeline Registry (#5031)

Signed-off-by: zwhzzz0821 <2831474076@qq.com>
Co-authored-by: zwhzzz0821 <zwhzzz0821@users.noreply.github.com>
Co-authored-by: SYLAR <125541396+lishunyang12@users.noreply.github.com>
Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
authored and GitHub committed 2026-07-18 09:34:33 +00:00
1 parent 793d3e9ab7
commit 4fbbdfd250
41 files changed
+520 -516

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ class CudaOmniPlatform(OmniPlatform, CudaPlatformBase):
@classmethod
def get_default_stage_config_path(cls) -> str:
return "vllm_omni/model_executor/stage_configs"
return "vllm_omni/deploy"
@classmethod
def has_flash_attn_package(cls) -> bool:
+1 -1
View File
@@ -32,7 +32,7 @@ class MUSAOmniPlatform(OmniPlatform, MUSAPlatformBase):
@classmethod
def get_default_stage_config_path(cls) -> str:
return "vllm_omni/model_executor/stage_configs"
return "vllm_omni/deploy"
@classmethod
def has_flash_attn_package(cls) -> bool:
+1 -1
View File
@@ -75,7 +75,7 @@ class NPUOmniPlatform(OmniPlatform, NPUPlatform):
@classmethod
def get_default_stage_config_path(cls) -> str:
return "vllm_omni/platforms/npu/stage_configs"
return "vllm_omni/deploy"
@classmethod
def get_diffusion_model_impl_qualname(cls, op_name: str) -> str:
+1 -1
View File
@@ -122,7 +122,7 @@ class RocmOmniPlatform(OmniPlatform, RocmPlatform):
@classmethod
def get_default_stage_config_path(cls) -> str:
return "vllm_omni/platforms/rocm/stage_configs"
return "vllm_omni/deploy"
@classmethod
def get_torch_device(cls, local_rank: int | None = None) -> torch.device: