Skip to content

Commit

Permalink
remove watchdog daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
grimoire committed Jan 16, 2025
1 parent 9fcb3b1 commit 3f10141
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lmdeploy/pytorch/engine/model_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f10141

Please sign in to comment.