[Fix] Fix OpenICLInferTask (#41)

This commit is contained in:
Tong Gao 2023-07-10 16:12:01 +08:00 committed by GitHub
parent 0c6fb6cf67
commit 0625294e5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ class OpenICLInferTask(BaseTask):
f'--nproc_per_node {self.num_procs} '
f'{script_path} {cfg_path}')
else:
command = 'python {script_path} {cfg_path}'
command = f'python {script_path} {cfg_path}'
return template.format(task_cmd=command)