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
413f4192
Commit
413f4192
authored
Dec 12, 2019
by
thomwolf
Browse files
fix merge
parent
386a93f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
transformers/tests/utils.py
transformers/tests/utils.py
+0
-8
No files found.
transformers/tests/utils.py
View file @
413f4192
...
...
@@ -9,14 +9,6 @@ from transformers.file_utils import _tf_available, _torch_available
SMALL_MODEL_IDENTIFIER
=
"julien-c/bert-xsmall-dummy"
try
:
run_slow
=
os
.
environ
[
"RUN_SLOW"
]
except
KeyError
:
# RUN_SLOW isn't set, default to skipping slow tests.
_run_slow_tests
=
False
else
:
# RUN_SLOW is set, convert it to True or False.
def
parse_flag_from_env
(
key
,
default
=
False
):
try
:
value
=
os
.
environ
[
key
]
...
...
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