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
f0aeb1be
Unverified
Commit
f0aeb1be
authored
Mar 30, 2023
by
amyeroberts
Committed by
GitHub
Mar 30, 2023
Browse files
Skip flaky NLLB Moe test for now (#22463)
Skip flaky test for now
parent
154c6bb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tests/models/nllb_moe/test_modeling_nllb_moe.py
tests/models/nllb_moe/test_modeling_nllb_moe.py
+2
-0
No files found.
tests/models/nllb_moe/test_modeling_nllb_moe.py
View file @
f0aeb1be
...
@@ -21,6 +21,7 @@ import unittest
...
@@ -21,6 +21,7 @@ import unittest
from
transformers
import
NllbMoeConfig
,
is_torch_available
,
set_seed
from
transformers
import
NllbMoeConfig
,
is_torch_available
,
set_seed
from
transformers.testing_utils
import
(
from
transformers.testing_utils
import
(
is_flaky
,
require_sentencepiece
,
require_sentencepiece
,
require_tokenizers
,
require_tokenizers
,
require_torch
,
require_torch
,
...
@@ -281,6 +282,7 @@ class NllbMoeModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMi
...
@@ -281,6 +282,7 @@ class NllbMoeModelTest(ModelTesterMixin, GenerationTesterMixin, PipelineTesterMi
model2
,
info
=
model_class
.
from_pretrained
(
tmpdirname
,
output_loading_info
=
True
)
model2
,
info
=
model_class
.
from_pretrained
(
tmpdirname
,
output_loading_info
=
True
)
self
.
assertEqual
(
info
[
"missing_keys"
],
[])
self
.
assertEqual
(
info
[
"missing_keys"
],
[])
@
is_flaky
()
def
test_decoder_model_past_with_large_inputs
(
self
):
def
test_decoder_model_past_with_large_inputs
(
self
):
config_and_inputs
=
self
.
model_tester
.
prepare_config_and_inputs
()
config_and_inputs
=
self
.
model_tester
.
prepare_config_and_inputs
()
self
.
model_tester
.
create_and_check_decoder_model_past_large_inputs
(
*
config_and_inputs
)
self
.
model_tester
.
create_and_check_decoder_model_past_large_inputs
(
*
config_and_inputs
)
...
...
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