Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
fd1e6703
"csrc/vscode:/vscode.git/clone" did not exist on "b94f80ffb8f279b97931bdc2d39bd9328503d7d1"
Unverified
Commit
fd1e6703
authored
Jun 10, 2022
by
amyeroberts
Committed by
GitHub
Jun 10, 2022
Browse files
Add skip logic for attentions test - Levit (#17633)
parent
cdaed367
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tests/models/levit/test_modeling_levit.py
tests/models/levit/test_modeling_levit.py
+4
-0
No files found.
tests/models/levit/test_modeling_levit.py
View file @
fd1e6703
...
...
@@ -205,6 +205,10 @@ class LevitModelTest(ModelTesterMixin, unittest.TestCase):
def
test_model_common_attributes
(
self
):
pass
@
unittest
.
skip
(
reason
=
"Levit does not output attentions"
)
def
test_attention_outputs
(
self
):
pass
def
test_forward_signature
(
self
):
config
,
_
=
self
.
model_tester
.
prepare_config_and_inputs_for_common
()
...
...
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