Unverified Commit 0625294e authored by Tong Gao's avatar Tong Gao Committed by GitHub
Browse files

[Fix] Fix OpenICLInferTask (#41)

parent 0c6fb6cf
...@@ -46,7 +46,7 @@ class OpenICLInferTask(BaseTask): ...@@ -46,7 +46,7 @@ class OpenICLInferTask(BaseTask):
f'--nproc_per_node {self.num_procs} ' f'--nproc_per_node {self.num_procs} '
f'{script_path} {cfg_path}') f'{script_path} {cfg_path}')
else: else:
command = 'python {script_path} {cfg_path}' command = f'python {script_path} {cfg_path}'
return template.format(task_cmd=command) return template.format(task_cmd=command)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment