Skip to content

Commit d6f93b0

Browse files
authored
[Debug] Correct Unreasonable Long Timeout (#1175)
Signed-off-by: tzhouam <tzhouam@connect.ust.hk>
1 parent 7fcbaa7 commit d6f93b0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

vllm_omni/diffusion/diffusion_engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def stop_profile(self) -> dict:
253253

254254
try:
255255
# Give worker enough time — export + compression + table can be slow
256-
results = self.collective_rpc(method="stop_profile", timeout=60000)
256+
results = self.collective_rpc(method="stop_profile", timeout=600)
257257
except Exception:
258258
logger.error("Failed to stop profiling on workers", exc_info=True)
259259
return {"traces": [], "tables": []}

vllm_omni/entrypoints/cli/serve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def subparser_init(self, subparsers: argparse._SubParsersAction) -> FlexibleArgu
9797
omni_config_group.add_argument(
9898
"--init-timeout",
9999
type=int,
100-
default=60000,
100+
default=600,
101101
help="The timeout for initializing the stages.",
102102
)
103103
omni_config_group.add_argument(

vllm_omni/entrypoints/omni_stage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ def stop_profile(self) -> dict:
221221

222222
# Wait for result from worker
223223
try:
224-
# Profiling stop might take time to flush files, give it 180s
225-
response = self._out_q.get(timeout=60000)
224+
# Profiling stop might take time to flush files, give it 600s
225+
response = self._out_q.get(timeout=600)
226226

227227
if isinstance(response, dict):
228228
if response.get("type") == "profiler_result":

0 commit comments

Comments
 (0)