From 3f10141232b9200fa495981879f5c02015661329 Mon Sep 17 00:00:00 2001 From: grimoire Date: Thu, 16 Jan 2025 10:36:30 +0800 Subject: [PATCH] remove watchdog daemon --- lmdeploy/pytorch/engine/model_agent.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lmdeploy/pytorch/engine/model_agent.py b/lmdeploy/pytorch/engine/model_agent.py index 5487639d29..384832b586 100644 --- a/lmdeploy/pytorch/engine/model_agent.py +++ b/lmdeploy/pytorch/engine/model_agent.py @@ -636,8 +636,7 @@ def _start_sub_process(self, model_path: str, model_config: ModelConfig, ) t_watchdog = threading.Thread(target=self._mp_watchdog, - args=[self.mp_context, 1.0], - daemon=True) + args=[self.mp_context, 1.0]) t_watchdog.start() rank = 0