Skip to content

Commit

Permalink
[Fix] base.py change status into list (#994)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaseldot authored Mar 22, 2024
1 parent e415ddf commit 1d31985
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion opencompass/runners/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ def __call__(self, tasks: List[Dict[str, Any]]):
Partitioner.
"""
status = self.launch(tasks)
self.summarize(status)
status_list = list(status) # change into list format
self.summarize(status_list)

@abstractmethod
def launch(self, tasks: List[Dict[str, Any]]) -> List[Tuple[str, int]]:
Expand Down

0 comments on commit 1d31985

Please sign in to comment.