open-compass / open-compass/opencompass

[Bug] OpenICLEvalTask does not combine results split by NumWorkerPartitioner

Open
#2,163 0 comments 0 reactions 1 assignee View on GitHub

@liushz is already working on this.

Since Jun 24, 2025.

Dominant language
Python
Stars
7.5k
Forks
869
Avg merge
17h 52m
Merged PRs (30d)
13

Description

Prerequisite
Type

I'm evaluating with the officially supported tasks/models/datasets.

Environment
eval = dict(
    partitioner=dict(
       type=NumWorkerPartitioner,
       num_worker=64
   ),
   runner=dict(type=LocalRunner,
               max_num_workers=64,
              task=dict(type=OpenICLEvalTask)),
)

This eval config causes the eval phase resulting in individual split files. The files have the same name but with increasing numbering postfixes. Each splits has its very own accuracy calculated by evaluating the samples from within.

This separation caused difficulty in summing up the accuracy scores, as the samples in the last file is not the same with the rest.

e.g.

data_1.json
data_2.json
data_3.json

data1.json

{
"accuracy": 90,
"details":[

...
]
}
Reproduces the problem - code/configuration sample
python run.py examples/evaluation_script.py
Reproduces the problem - command or script
python run.py examples/evaluation_script.py
Reproduces the problem - error message

the summarizer can not find the desired result file, so the score is empty.

Other information

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.