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
chenpangpang
transformers
Commits
fa9d2ad7
Unverified
Commit
fa9d2ad7
authored
Mar 03, 2023
by
Yih-Dar
Committed by
GitHub
Mar 03, 2023
Browse files
Update `model_split_percents` for `WhisperModelTest` (#21922)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
c82bd371
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tests/models/whisper/test_modeling_whisper.py
tests/models/whisper/test_modeling_whisper.py
+2
-1
No files found.
tests/models/whisper/test_modeling_whisper.py
View file @
fa9d2ad7
...
@@ -285,7 +285,8 @@ class WhisperModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMi
...
@@ -285,7 +285,8 @@ class WhisperModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMi
test_pruning
=
False
test_pruning
=
False
test_missing_keys
=
False
test_missing_keys
=
False
# Needs higher percentages after model tester's vocab_size is changed to 200 (PR #21222)
# Needs higher percentages after model tester's vocab_size is changed to 200 (PR #21222)
model_split_percents
=
[
0.8
,
0.9
]
# `0.5` is for `test_disk_offload` (which also works for `test_model_parallelism`)
model_split_percents
=
[
0.5
,
0.8
,
0.9
]
input_name
=
"input_features"
input_name
=
"input_features"
...
...
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