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
2bb7beec
Unverified
Commit
2bb7beec
authored
Sep 27, 2023
by
Leymore
Committed by
GitHub
Sep 27, 2023
Browse files
[Fix] use eval field check (#441)
parent
d6261e10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
run.py
run.py
+1
-1
No files found.
run.py
View file @
2bb7beec
...
@@ -295,7 +295,7 @@ def main():
...
@@ -295,7 +295,7 @@ def main():
fill_eval_cfg
(
cfg
,
args
)
fill_eval_cfg
(
cfg
,
args
)
if
args
.
partition
is
not
None
:
if
args
.
partition
is
not
None
:
if
RUNNERS
.
get
(
cfg
.
infer
.
runner
.
type
)
==
SlurmRunner
:
if
RUNNERS
.
get
(
cfg
.
eval
.
runner
.
type
)
==
SlurmRunner
:
cfg
.
eval
.
runner
.
partition
=
args
.
partition
cfg
.
eval
.
runner
.
partition
=
args
.
partition
cfg
.
eval
.
runner
.
quotatype
=
args
.
quotatype
cfg
.
eval
.
runner
.
quotatype
=
args
.
quotatype
else
:
else
:
...
...
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