Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
opencompass
Commits
0625294e
Unverified
Commit
0625294e
authored
Jul 10, 2023
by
Tong Gao
Committed by
GitHub
Jul 10, 2023
Browse files
[Fix] Fix OpenICLInferTask (#41)
parent
0c6fb6cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
opencompass/tasks/openicl_infer.py
opencompass/tasks/openicl_infer.py
+1
-1
No files found.
opencompass/tasks/openicl_infer.py
View file @
0625294e
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment