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
12d9b957
Unverified
Commit
12d9b957
authored
Dec 13, 2021
by
Yih-Dar
Committed by
GitHub
Dec 13, 2021
Browse files
Fix: change tooslow to slow (#14734)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
ca0b82bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/test_modeling_tf_vit.py
tests/test_modeling_tf_vit.py
+2
-2
No files found.
tests/test_modeling_tf_vit.py
View file @
12d9b957
...
...
@@ -22,7 +22,7 @@ import unittest
from
transformers
import
ViTConfig
from
transformers.file_utils
import
cached_property
,
is_tf_available
,
is_vision_available
from
transformers.testing_utils
import
require_tf
,
require_vision
,
slow
,
tooslow
from
transformers.testing_utils
import
require_tf
,
require_vision
,
slow
from
.test_configuration_common
import
ConfigTester
from
.test_modeling_tf_common
import
TFModelTesterMixin
,
floats_tensor
,
ids_tensor
...
...
@@ -200,7 +200,7 @@ class TFViTModelTest(TFModelTesterMixin, unittest.TestCase):
# overwrite from common since `encoder_seq_length` and `encoder_key_length` are calculated
# in a different way than in text models.
@
too
slow
@
slow
def
test_saved_model_creation_extended
(
self
):
config
,
inputs_dict
=
self
.
model_tester
.
prepare_config_and_inputs_for_common
()
config
.
output_hidden_states
=
True
...
...
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