[Bugfix] Add back resolving from deploy config written pipeline in StageConfigFactory (#4729)
Signed-off-by: Yuanheng Zhao <jonathan.zhaoyh@gmail.com>
This commit is contained in:
1 parent
329c98ff9d
commit
580a0efe40
2 files changed
+28
No files matched your search
@@ -655,6 +655,16 @@ class TestPipelineRegistration:
|
||||
assert isinstance(pipeline_cfg, PipelineConfig)
|
||||
assert pipeline_cfg.model_type == resolved_type
|
||||
|
||||
def test_resolve_when_autodetect_resolves_none(self):
|
||||
"""Regression test for: https://github.com/vllm-project/vllm-omni/issues/4726"""
|
||||
deploy_path = get_deploy_config_path("ming_tts.yaml")
|
||||
resolved_config = StageConfigFactory.create_from_model(
|
||||
model="inclusionAI/Ming-omni-tts-0.5B",
|
||||
deploy_config_path=deploy_path,
|
||||
)
|
||||
assert resolved_config is not None
|
||||
assert len(resolved_config) > 0
|
||||
|
||||
|
||||
class TestResolveScheduler:
|
||||
def test_all_execution_types_handled(self):
|
||||
|
||||
Reference in new issue
Block a user