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
1d319855
Unverified
Commit
1d319855
authored
Mar 22, 2024
by
Chaseldot
Committed by
GitHub
Mar 22, 2024
Browse files
[Fix] base.py change status into list (#994)
parent
e415ddf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
opencompass/runners/base.py
opencompass/runners/base.py
+2
-1
No files found.
opencompass/runners/base.py
View file @
1d319855
...
@@ -36,7 +36,8 @@ class BaseRunner:
...
@@ -36,7 +36,8 @@ class BaseRunner:
Partitioner.
Partitioner.
"""
"""
status
=
self
.
launch
(
tasks
)
status
=
self
.
launch
(
tasks
)
self
.
summarize
(
status
)
status_list
=
list
(
status
)
# change into list format
self
.
summarize
(
status_list
)
@
abstractmethod
@
abstractmethod
def
launch
(
self
,
tasks
:
List
[
Dict
[
str
,
Any
]])
->
List
[
Tuple
[
str
,
int
]]:
def
launch
(
self
,
tasks
:
List
[
Dict
[
str
,
Any
]])
->
List
[
Tuple
[
str
,
int
]]:
...
...
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