[BugFix] Preserve media access args for stage configs (#2956)

Signed-off-by: xiaohajiayou <923390377@qq.com>
Co-authored-by: SYLAR <125541396+lishunyang12@users.noreply.github.com>
This commit is contained in:
HacoandSYLAR authored and GitHub committed 2026-04-23 14:21:37 +08:00
1 parent 1a7fb55b5f
commit d14ea37842
2 files changed
+32 -1

No files matched your search

+7 -1
View File
@@ -105,7 +105,13 @@ _STARTUP_POLL_INTERVAL_S = 1.0
# Fields that must survive the "equal to default → strip" filter because
# diffusion stages need them even when equal to vllm's default value
# (e.g. colocate worker setup relies on worker_extension_cls being forwarded).
_PARENT_ARGS_KEEP: frozenset[str] = frozenset({"worker_extension_cls"})
_PARENT_ARGS_KEEP: frozenset[str] = frozenset(
{
"worker_extension_cls",
"allowed_local_media_path",
"allowed_media_domains",
}
)
# Omni orchestrator-level fields consumed by ``_resolve_stage_configs`` that
# must never leak into per-stage EngineArgs (``stage_configs_path`` would