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
864c1dfe
Unverified
Commit
864c1dfe
authored
May 05, 2021
by
Mats Sjöberg
Committed by
GitHub
May 05, 2021
Browse files
Accept tensorflow-rocm package when checking TF availability (#11595)
parent
3e3e41ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/transformers/file_utils.py
src/transformers/file_utils.py
+1
-0
No files found.
src/transformers/file_utils.py
View file @
864c1dfe
...
...
@@ -88,6 +88,7 @@ if USE_TF in ENV_VARS_TRUE_AND_AUTO_VALUES and USE_TORCH not in ENV_VARS_TRUE_VA
"tf-nightly-cpu"
,
"tf-nightly-gpu"
,
"intel-tensorflow"
,
"tensorflow-rocm"
,
)
_tf_version
=
None
# For the metadata, we have to look for both tensorflow and tensorflow-cpu
...
...
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