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
5ff6f853
Commit
5ff6f853
authored
Jul 11, 2022
by
Sylvain Gugger
Browse files
Mark slow test as such
parent
b1b8222d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tests/models/longt5/test_modeling_longt5.py
tests/models/longt5/test_modeling_longt5.py
+1
-0
No files found.
tests/models/longt5/test_modeling_longt5.py
View file @
5ff6f853
...
@@ -584,6 +584,7 @@ class LongT5ModelTest(ModelTesterMixin, GenerationTesterMixin, unittest.TestCase
...
@@ -584,6 +584,7 @@ class LongT5ModelTest(ModelTesterMixin, GenerationTesterMixin, unittest.TestCase
model
=
LongT5Model
.
from_pretrained
(
model_name
)
model
=
LongT5Model
.
from_pretrained
(
model_name
)
self
.
assertIsNotNone
(
model
)
self
.
assertIsNotNone
(
model
)
@
slow
def
test_export_to_onnx
(
self
):
def
test_export_to_onnx
(
self
):
config_and_inputs
=
self
.
model_tester
.
prepare_config_and_inputs
()
config_and_inputs
=
self
.
model_tester
.
prepare_config_and_inputs
()
model
=
LongT5Model
(
config_and_inputs
[
0
]).
to
(
torch_device
)
model
=
LongT5Model
(
config_and_inputs
[
0
]).
to
(
torch_device
)
...
...
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