Tiny enable soft watchdog in CI for stuck without logs (#15616)
This commit is contained in:
@@ -730,6 +730,9 @@ class ServerArgs:
|
|||||||
# Handle two-batch overlap settings.
|
# Handle two-batch overlap settings.
|
||||||
self._handle_two_batch_overlap()
|
self._handle_two_batch_overlap()
|
||||||
|
|
||||||
|
# Handle debug utilities.
|
||||||
|
self._handle_debug_utils()
|
||||||
|
|
||||||
def _handle_deprecated_args(self):
|
def _handle_deprecated_args(self):
|
||||||
# Handle deprecated tool call parsers
|
# Handle deprecated tool call parsers
|
||||||
deprecated_tool_call_parsers = {"qwen25": "qwen", "glm45": "glm"}
|
deprecated_tool_call_parsers = {"qwen25": "qwen", "glm45": "glm"}
|
||||||
@@ -2401,6 +2404,11 @@ class ServerArgs:
|
|||||||
"When enabling two batch overlap, moe_a2a_backend cannot be 'none'."
|
"When enabling two batch overlap, moe_a2a_backend cannot be 'none'."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def _handle_debug_utils(self):
|
||||||
|
if is_in_ci() and self.soft_watchdog_timeout is None:
|
||||||
|
logger.info("Set soft_watchdog_timeout since in CI")
|
||||||
|
self.soft_watchdog_timeout = 300
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def add_cli_args(parser: argparse.ArgumentParser):
|
def add_cli_args(parser: argparse.ArgumentParser):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user