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
ad5045e3
Unverified
Commit
ad5045e3
authored
Sep 13, 2022
by
Yih-Dar
Committed by
GitHub
Sep 13, 2022
Browse files
add missing `require_tf` for `TFOPTGenerationTest` (#19010)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
d14af22c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tests/models/opt/test_modeling_tf_opt.py
tests/models/opt/test_modeling_tf_opt.py
+1
-0
No files found.
tests/models/opt/test_modeling_tf_opt.py
View file @
ad5045e3
...
@@ -315,6 +315,7 @@ class TFOPTEmbeddingsTest(unittest.TestCase):
...
@@ -315,6 +315,7 @@ class TFOPTEmbeddingsTest(unittest.TestCase):
self
.
assertTrue
(
np
.
allclose
(
logits
,
logits_meta
,
atol
=
1e-4
))
self
.
assertTrue
(
np
.
allclose
(
logits
,
logits_meta
,
atol
=
1e-4
))
@
require_tf
@
slow
@
slow
class
TFOPTGenerationTest
(
unittest
.
TestCase
):
class
TFOPTGenerationTest
(
unittest
.
TestCase
):
@
property
@
property
...
...
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