From 90794894402d6fb6f781d9d4cb33c837a2a629fd Mon Sep 17 00:00:00 2001 From: yewentao256 Date: Thu, 1 Aug 2024 17:15:59 +0800 Subject: [PATCH] set the waiting time longer --- lazyllm/launcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lazyllm/launcher.py b/lazyllm/launcher.py index d958f0ee..ff32e318 100644 --- a/lazyllm/launcher.py +++ b/lazyllm/launcher.py @@ -420,7 +420,7 @@ def _wrap_cmd(self, cmd): def _get_jobid(self): for i in range(5): - time.sleep(0.5) # Wait for cmd to be stably submitted to sco + time.sleep(2) # Wait for cmd to be stably submitted to sco try: id_str = subprocess.check_output([ 'squeue', f'--workspace-id={self.workspace_name}',