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
2109afae
Unverified
Commit
2109afae
authored
Apr 11, 2022
by
Yih-Dar
Committed by
GitHub
Apr 11, 2022
Browse files
Rename the method test_torchscript (#16693)
Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
40618ec2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_modeling_common.py
tests/test_modeling_common.py
+1
-1
No files found.
tests/test_modeling_common.py
View file @
2109afae
...
@@ -582,7 +582,7 @@ class ModelTesterMixin:
...
@@ -582,7 +582,7 @@ class ModelTesterMixin:
)
)
@
slow
@
slow
def
test_torchscript
(
self
):
def
test_torchscript
_simple
(
self
):
config
,
inputs_dict
=
self
.
model_tester
.
prepare_config_and_inputs_for_common
()
config
,
inputs_dict
=
self
.
model_tester
.
prepare_config_and_inputs_for_common
()
self
.
_create_and_check_torchscript
(
config
,
inputs_dict
)
self
.
_create_and_check_torchscript
(
config
,
inputs_dict
)
...
...
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