Skip to content

Commit

Permalink
set the waiting time longer
Browse files Browse the repository at this point in the history
  • Loading branch information
yewentao256 committed Aug 1, 2024
1 parent aa9c115 commit 9079489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lazyllm/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}',
Expand Down

0 comments on commit 9079489

Please sign in to comment.