Skip to content

Commit 047a9c6

Browse files
committed
Pin TF and Keras for 2.17 branch.
1 parent 1438f6f commit 047a9c6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ env:
3030
BUILDTOOLS_VERSION: '3.0.0'
3131
BUILDIFIER_SHA256SUM: 'e92a6793c7134c5431c58fbc34700664f101e5c9b1c1fcd93b97978e8b7f88db'
3232
BUILDOZER_SHA256SUM: '3d58a0b6972e4535718cdd6c12778170ea7382de7c75bc3728f5719437ffb84d'
33-
TENSORFLOW_VERSION: 'tf-nightly'
33+
TENSORFLOW_VERSION: 'tf-nightly==2.17.0.dev20240605'
34+
# tf-nightly should install keras-nightly, but for a release we want to also pin the keras
35+
# version to the closest one to TF branch cut, to minimize risk of issues with their release
36+
# as well.
37+
KERAS_VERSION: 'keras-nightly==3.3.3.dev2024060503'
3438

3539
jobs:
3640
build:
@@ -77,6 +81,8 @@ jobs:
7781
run: |
7882
python -m pip install -U pip
7983
pip install "${TENSORFLOW_VERSION}"
84+
# See comment where this constant is defined, above.
85+
pip install "${KERAS_VERSION}"
8086
if: matrix.tf_version_id != 'notf'
8187
- name: 'Install Python dependencies'
8288
run: |

0 commit comments

Comments
 (0)