fix: fix the missing metrics on non-rank0 nodes (#7720)

This commit is contained in:
Yingchun Lai
2025-07-27 15:55:25 +08:00
committed by GitHub
parent 2a1936de96
commit 36d6f0ba5b
2 changed files with 11 additions and 2 deletions

View File

@@ -765,7 +765,9 @@ def _launch_subprocesses(
# When using `Engine` as a Python API, we don't want to block here.
return None, None, None
launch_dummy_health_check_server(server_args.host, server_args.port)
launch_dummy_health_check_server(
server_args.host, server_args.port, server_args.enable_metrics
)
for proc in scheduler_procs:
proc.join()