[Bugfix] Fix issue 5205, add trust-remote-code (#5213)

Signed-off-by: zhumingjue <zhumingjue@huawei.com>
This commit is contained in:
zhumingjue138 authored and GitHub committed 2026-07-20 15:20:53 +00:00
1 parent 7d75095b84
commit 4d799997d3
5 files changed
+92 -11

No files matched your search

@@ -368,6 +368,7 @@ def _run_online(stage_configs_path: str, output_path: Path) -> tuple[Image.Image
"300",
"--init-timeout",
"900",
"--trust-remote-code",
]
try:
with OmniServer(MODEL_PATH, server_args, use_omni=True) as omni_server: