[Debug] Correct Unreasonable Long Timeout (#1175)

Signed-off-by: tzhouam <tzhouam@connect.ust.hk>
This commit is contained in:
Zhou Taichang authored and GitHub committed 2026-02-03 08:49:51 +00:00
1 parent 7fcbaa794c
commit d6f93b0f37
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -253,7 +253,7 @@ class DiffusionEngine:
try:
# Give worker enough time — export + compression + table can be slow
results = self.collective_rpc(method="stop_profile", timeout=60000)
results = self.collective_rpc(method="stop_profile", timeout=600)
except Exception:
logger.error("Failed to stop profiling on workers", exc_info=True)
return {"traces": [], "tables": []}
+1 -1
View File
@@ -97,7 +97,7 @@ class OmniServeCommand(CLISubcommand):
omni_config_group.add_argument(
"--init-timeout",
type=int,
default=60000,
default=600,
help="The timeout for initializing the stages.",
)
omni_config_group.add_argument(
+2 -2
View File
@@ -221,8 +221,8 @@ class OmniStage:
# Wait for result from worker
try:
# Profiling stop might take time to flush files, give it 180s
response = self._out_q.get(timeout=60000)
# Profiling stop might take time to flush files, give it 600s
response = self._out_q.get(timeout=600)
if isinstance(response, dict):
if response.get("type") == "profiler_result":