mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
[Fix] Fix OpenICLInferTask (#41)
This commit is contained in:
parent
0c6fb6cf67
commit
0625294e5f
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user