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
cae394c8
Commit
cae394c8
authored
Mar 24, 2022
by
Sylvain Gugger
Browse files
Adapt import to new structure
parent
4e0f583e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/sagemaker/scripts/tensorflow/run_tf_dist.py
tests/sagemaker/scripts/tensorflow/run_tf_dist.py
+1
-1
No files found.
tests/sagemaker/scripts/tensorflow/run_tf_dist.py
View file @
cae394c8
...
@@ -9,7 +9,7 @@ from datasets import load_dataset
...
@@ -9,7 +9,7 @@ from datasets import load_dataset
from
tqdm
import
tqdm
from
tqdm
import
tqdm
from
transformers
import
AutoTokenizer
,
TFAutoModelForSequenceClassification
from
transformers
import
AutoTokenizer
,
TFAutoModelForSequenceClassification
from
transformers.
file_
utils
import
is_sagemaker_dp_enabled
from
transformers.utils
import
is_sagemaker_dp_enabled
if
os
.
environ
.
get
(
"SDP_ENABLED"
)
or
is_sagemaker_dp_enabled
():
if
os
.
environ
.
get
(
"SDP_ENABLED"
)
or
is_sagemaker_dp_enabled
():
...
...
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