[Fix] Fix sequential runner (#1070)

This commit is contained in:
Fengzhe Zhou 2024-04-23 11:31:10 +08:00 committed by GitHub
parent 004ed79593
commit 8fe7b271cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -188,7 +188,6 @@ class SlurmSequentialRunner(BaseRunner):
tmpl += f' --gres=gpu:{num_gpus}'
for extra_cmd in self.extra_command:
tmpl += f' {extra_cmd}'
tmpl += ' -x HOST-10-140-60-7'
tmpl += f" -N1 -u -J '{task_name[:512]}'" + ' {task_cmd}'
get_cmd = partial(task.get_command,
cfg_path=param_file,