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
8fe7b271
Unverified
Commit
8fe7b271
authored
Apr 23, 2024
by
Fengzhe Zhou
Committed by
GitHub
Apr 23, 2024
Browse files
[Fix] Fix sequential runner (#1070)
parent
004ed795
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
opencompass/runners/slurm_sequential.py
opencompass/runners/slurm_sequential.py
+0
-1
No files found.
opencompass/runners/slurm_sequential.py
View file @
8fe7b271
...
@@ -188,7 +188,6 @@ class SlurmSequentialRunner(BaseRunner):
...
@@ -188,7 +188,6 @@ class SlurmSequentialRunner(BaseRunner):
tmpl
+=
f
' --gres=gpu:
{
num_gpus
}
'
tmpl
+=
f
' --gres=gpu:
{
num_gpus
}
'
for
extra_cmd
in
self
.
extra_command
:
for
extra_cmd
in
self
.
extra_command
:
tmpl
+=
f
'
{
extra_cmd
}
'
tmpl
+=
f
'
{
extra_cmd
}
'
tmpl
+=
' -x HOST-10-140-60-7'
tmpl
+=
f
" -N1 -u -J '
{
task_name
[:
512
]
}
'"
+
' {task_cmd}'
tmpl
+=
f
" -N1 -u -J '
{
task_name
[:
512
]
}
'"
+
' {task_cmd}'
get_cmd
=
partial
(
task
.
get_command
,
get_cmd
=
partial
(
task
.
get_command
,
cfg_path
=
param_file
,
cfg_path
=
param_file
,
...
...
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