From abcbc41ce26740e9f03f50d64a521e4d80f251c7 Mon Sep 17 00:00:00 2001 From: Peter Ye <44945378+yewentao256@users.noreply.github.com> Date: Thu, 1 Aug 2024 19:20:22 +0800 Subject: [PATCH] SCO launcher sets a longer waiting time for obtaining ID (#104) --- 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}',