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
5d75c1bb
Unverified
Commit
5d75c1bb
authored
Sep 05, 2023
by
Tong Gao
Committed by
GitHub
Sep 05, 2023
Browse files
[Enhancement] Increase default task size (#360)
parent
b8bf16e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
opencompass/partitioners/size.py
opencompass/partitioners/size.py
+1
-1
run.py
run.py
+1
-1
No files found.
opencompass/partitioners/size.py
View file @
5d75c1bb
...
...
@@ -29,7 +29,7 @@ class SizePartitioner(BasePartitioner):
def
__init__
(
self
,
out_dir
:
str
,
max_task_size
:
int
=
2
000
,
max_task_size
:
int
=
40
000
,
gen_task_coef
:
int
=
20
,
dataset_size_path
:
str
=
'.cache/dataset_size.json'
):
super
().
__init__
(
out_dir
)
...
...
run.py
View file @
5d75c1bb
...
...
@@ -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
=
2
000
),
default
=
40
000
),
parser
.
add_argument
(
'--gen-task-coef'
,
help
=
'The dataset cost measurement coefficient for generation tasks, '
...
...
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