Skip to content

Commit

Permalink
Fix TensorFlow pakage check (huggingface#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 and EduardoPach committed Nov 19, 2023
1 parent 7ca14a1 commit a3fb1de
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 a3fb1de

Please sign in to comment.