Skip to content

Commit abdc777

Browse files
jburnimtensorflower-gardener
authored andcommitted
In open source tests, use tf-keras-nightly (Keras 2) instead of Keras 3.
PiperOrigin-RevId: 575910204
1 parent 73a4a75 commit abdc777

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

testing/dependency_install_lib.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ install_tensorflow() {
6969
PIP_FLAGS=${2-}
7070
# NB: tf-nightly pulls in other deps, like numpy, absl, and six, transitively.
7171
TF_VERSION_STR=$(find_good_tf_nightly_version_str $TF_NIGHTLY_PACKAGE)
72-
python -m pip install $PIP_FLAGS $TF_NIGHTLY_PACKAGE==$TF_VERSION_STR
72+
python -m pip install $PIP_FLAGS \
73+
$TF_NIGHTLY_PACKAGE==$TF_VERSION_STR \
74+
tf-keras-nightly
7375
}
7476

7577
install_jax() {

0 commit comments

Comments
 (0)