Fix metrics (#15998)

This commit is contained in:
Lianmin Zheng
2025-12-28 05:03:49 -08:00
committed by GitHub
parent 9f8e23071a
commit e6d5a213ad
8 changed files with 90 additions and 79 deletions

View File

@@ -200,7 +200,7 @@ class DataParallelController:
self.init_dispatcher()
self.watchdog = Watchdog.create(
self.soft_watchdog = Watchdog.create(
debug_name="DataParallelController",
watchdog_timeout=server_args.soft_watchdog_timeout,
soft=True,
@@ -564,7 +564,7 @@ class DataParallelController:
def event_loop(self):
while True:
while True:
self.watchdog.feed()
self.soft_watchdog.feed()
try:
recv_req = self.recv_from_tokenizer.recv_pyobj(zmq.NOBLOCK)
except zmq.ZMQError: