Skip to content

Commit

Permalink
SCO launcher sets a longer waiting time for obtaining ID (LazyAGI#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
yewentao256 authored Aug 1, 2024
1 parent 2249571 commit abcbc41
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 abcbc41

Please sign in to comment.