From af98436a9a98a02b8bb81c22de10d08af23ef95f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:48:35 -0700 Subject: [PATCH] build(deps): bump tensorflow from 2.8.4 to 2.11.1 in /tests/github/interactive_api_director/experiments/tensorflow_mnist/envoy (#772) * build(deps): bump tensorflow Bumps [tensorflow](https://github.com/tensorflow/tensorflow) from 2.8.4 to 2.11.1. - [Release notes](https://github.com/tensorflow/tensorflow/releases) - [Changelog](https://github.com/tensorflow/tensorflow/blob/master/RELEASE.md) - [Commits](https://github.com/tensorflow/tensorflow/compare/v2.8.4...v2.11.1) --- updated-dependencies: - dependency-name: tensorflow dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Update sd_requirements.txt * revert to legacy SGD and install tensorflow==2.11 for workflow Signed-off-by: kta-intel --------- Signed-off-by: dependabot[bot] Signed-off-by: kta-intel Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Patrick Foley Co-authored-by: kta-intel --- .github/workflows/interactive-tensorflow.yml | 2 +- .../experiments/tensorflow_mnist/envoy/sd_requirements.txt | 2 +- .../experiments/tensorflow_mnist/settings.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/interactive-tensorflow.yml b/.github/workflows/interactive-tensorflow.yml index 6145d1c0c2..41b636fa53 100644 --- a/.github/workflows/interactive-tensorflow.yml +++ b/.github/workflows/interactive-tensorflow.yml @@ -27,5 +27,5 @@ jobs: - name: Interactive API - tensorflow_mnist run: | python setup.py build_grpc - pip install tensorflow==2.8 + pip install tensorflow==2.11 python -m tests.github.interactive_api_director.experiments.tensorflow_mnist.run diff --git a/tests/github/interactive_api_director/experiments/tensorflow_mnist/envoy/sd_requirements.txt b/tests/github/interactive_api_director/experiments/tensorflow_mnist/envoy/sd_requirements.txt index cb65dfddc4..f4c454633d 100644 --- a/tests/github/interactive_api_director/experiments/tensorflow_mnist/envoy/sd_requirements.txt +++ b/tests/github/interactive_api_director/experiments/tensorflow_mnist/envoy/sd_requirements.txt @@ -1 +1 @@ -tensorflow==2.8.4 +tensorflow==2.11.1 diff --git a/tests/github/interactive_api_director/experiments/tensorflow_mnist/settings.py b/tests/github/interactive_api_director/experiments/tensorflow_mnist/settings.py index 1ad7fa5151..8903160e15 100644 --- a/tests/github/interactive_api_director/experiments/tensorflow_mnist/settings.py +++ b/tests/github/interactive_api_director/experiments/tensorflow_mnist/settings.py @@ -13,7 +13,7 @@ model = keras.Model(inputs=inputs, outputs=outputs) # Instantiate an optimizer. -optimizer = keras.optimizers.SGD(learning_rate=1e-3) +optimizer = keras.optimizers.legacy.SGD(learning_rate=1e-3) # Instantiate a loss function. loss_fn = keras.losses.SparseCategoricalCrossentropy(from_logits=True) model.compile(optimizer, loss_fn)