Skip to content

Commit

Permalink
Fix TensorFlow pakage check (#26842)
Browse files Browse the repository at this point in the history
Add tf-nightly-rocm to _is_tf_available check
  • Loading branch information
jayfurmanek authored Oct 17, 2023
1 parent b002353 commit ef42cb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/transformers/utils/import_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ def _is_package_available(pkg_name: str, return_version: bool = False) -> Union[
"tf-nightly",
"tf-nightly-cpu",
"tf-nightly-gpu",
"tf-nightly-rocm",
"intel-tensorflow",
"intel-tensorflow-avx512",
"tensorflow-rocm",
Expand Down

0 comments on commit ef42cb6

Please sign in to comment.