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
72eefb34
"vscode:/vscode.git/clone" did not exist on "331db8cc02359bb01d1dde539d7d4dae789cf82e"
Unverified
Commit
72eefb34
authored
Aug 25, 2021
by
Lysandre Debut
Committed by
GitHub
Aug 25, 2021
Browse files
Add require flax to test (#13260)
parent
5af8df5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tests/test_modeling_flax_mt5.py
tests/test_modeling_flax_mt5.py
+2
-1
No files found.
tests/test_modeling_flax_mt5.py
View file @
72eefb34
...
...
@@ -15,7 +15,7 @@
import
unittest
from
transformers
import
is_flax_available
from
transformers.testing_utils
import
require_sentencepiece
,
require_tokenizers
,
require_torch
,
slow
from
transformers.testing_utils
import
require_flax
,
require_sentencepiece
,
require_tokenizers
,
require_torch
,
slow
if
is_flax_available
():
...
...
@@ -28,6 +28,7 @@ if is_flax_available():
@
require_torch
@
require_sentencepiece
@
require_tokenizers
@
require_flax
class
MT5IntegrationTest
(
unittest
.
TestCase
):
@
slow
def
test_small_integration_test
(
self
):
...
...
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