Skip to content

Commit

Permalink
Updating Tensorflow dependency to >=2.15,<3.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 588125469
  • Loading branch information
tfx-copybara authored and iindyk committed Feb 26, 2024
1 parent 58b253e commit eb0c41f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

* Bumped the Ubuntu version on which `struct2tensor` is tested to 20.04
(previously was 16.04).
* Depends on `tensorflow>=2.15.0,<3`.

## Breaking Changes

Expand Down
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ tf_configure(name = "local_config_tf")
# 3. Request the new archive to be mirrored on mirror.bazel.build for more
# reliable downloads.

_TENSORFLOW_GIT_COMMIT = "1cb1a030a62b169d90d34c747ab9b09f332bf905" # tf 2.13.0
_TENSORFLOW_ARCHIVE_SHA256 = "a62eba23ebfcf1d6d2d3241f1629b99df576a9f726c439a97c3acd590e71fe62"
_TENSORFLOW_GIT_COMMIT = "6887368d6d46223f460358323c4b76d61d1558a8" # tf 2.15.0
_TENSORFLOW_ARCHIVE_SHA256 = "bb25fa4574e42ea4d452979e1d2ba3b86b39569d6b8106a846a238b880d73652"

http_archive(
name = "org_tensorflow",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def select_constraint(default, nightly=None, git_master=None):
# with numpy>=1.24.
'numpy>=1.22',
'protobuf>=3.20.3,<5',
'tensorflow>=2.13,<3',
'tensorflow>=2.15,<3',
'tensorflow-metadata' + select_constraint(
default='>=1.14.0,<1.15.0',
nightly='>=1.15.0.dev',
Expand Down

0 comments on commit eb0c41f

Please sign in to comment.