Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -454,4 +454,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}
8 changes: 7 additions & 1 deletion src/sparseml/tensorflow_v1/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,13 @@ def check_tensorflow_install(
raise tensorflow_err
return False

return check_version("tensorflow", min_version, max_version, raise_on_error)
return check_version(
"tensorflow",
min_version,
max_version,
raise_on_error,
alternate_package_names=["tensorflow-gpu"],
)


def check_tf2onnx_install(
Expand Down