mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
[Enhancement] Increase default task size (#360)
This commit is contained in:
parent
b8bf16e81c
commit
5d75c1bbb9
@ -29,7 +29,7 @@ class SizePartitioner(BasePartitioner):
|
||||
|
||||
def __init__(self,
|
||||
out_dir: str,
|
||||
max_task_size: int = 2000,
|
||||
max_task_size: int = 40000,
|
||||
gen_task_coef: int = 20,
|
||||
dataset_size_path: str = '.cache/dataset_size.json'):
|
||||
super().__init__(out_dir)
|
||||
|
2
run.py
2
run.py
@ -91,7 +91,7 @@ def parse_args():
|
||||
help='The maximum size of an infer task. Only '
|
||||
'effective when "infer" is missing from the config.',
|
||||
type=int,
|
||||
default=2000),
|
||||
default=40000),
|
||||
parser.add_argument(
|
||||
'--gen-task-coef',
|
||||
help='The dataset cost measurement coefficient for generation tasks, '
|
||||
|
Loading…
Reference in New Issue
Block a user