Skip to content

Commit d994658

Browse files
seanpmorganlgeiger
andauthored
Update patch releases on 0.17 (#2723)
* Update Compatibility Matrix (#2709) * Cleanup `tfa.image.equalize` (#2711) * Update patch releases for breaking protobuf Co-authored-by: Lukas Geiger <lukas.geiger94@gmail.com>
1 parent b2dafcf commit d994658

File tree

9 files changed

+17
-15
lines changed

9 files changed

+17
-15
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,19 @@ jobs:
4242
# https://github.com/bazelbuild/bazel/issues/14232#issuecomment-1011247429
4343
os: ['macos-10.15', 'windows-2019', 'ubuntu-18.04']
4444
py-version: ['3.7', '3.8', '3.9', '3.10']
45-
tf-version: ['2.7.2', '2.8.1', '2.9.0']
45+
tf-version: ['2.7.3', '2.8.2', '2.9.1']
4646
cpu: ['x86']
4747
exclude:
4848
- py-version: '3.10'
49-
tf-version: '2.7.2'
49+
tf-version: '2.7.3'
5050
include:
5151
- os: 'macos-11'
5252
cpu: 'arm64'
53-
tf-version: '2.9.0'
53+
tf-version: '2.9.1'
5454
py-version: '3.8'
5555
- os: 'macos-11'
5656
cpu: 'arm64'
57-
tf-version: '2.9.0'
57+
tf-version: '2.9.1'
5858
py-version: '3.9'
5959
fail-fast: false
6060
steps:
@@ -97,16 +97,16 @@ jobs:
9797
matrix:
9898
os: ['macOS', 'Windows', 'Linux']
9999
py-version: ['3.7', '3.8', '3.9', '3.10']
100-
tf-version: ['2.9.0']
100+
tf-version: ['2.9.1']
101101
cpu: ['x86']
102102
include:
103103
- os: 'macOS'
104104
cpu: 'arm64'
105-
tf-version: '2.9.0'
105+
tf-version: '2.9.1'
106106
py-version: '3.8'
107107
- os: 'macOS'
108108
cpu: 'arm64'
109-
tf-version: '2.9.0'
109+
tf-version: '2.9.1'
110110
py-version: '3.9'
111111
fail-fast: false
112112
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'release'

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Just run from the root:
174174

175175
```bash
176176
pip install tensorflow==2.8
177-
# you can use "pip install tensorflow-cpu==2.9.0" too if you're not testing on gpu.
177+
# you can use "pip install tensorflow-cpu==2.9.1" too if you're not testing on gpu.
178178
pip install -e ./
179179
```
180180

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ what it was tested against.
8181
| TensorFlow Addons | TensorFlow | Python |
8282
|:----------------------- |:---|:---------- |
8383
| tfa-nightly | 2.7, 2.8, 2.9 | 3.7, 3.8, 3.9, 3.10 |
84+
| tensorflow-addons-0.17.0 | 2.7, 2.8, 2.9 |3.7, 3.8, 3.9, 3.10 |
8485
| tensorflow-addons-0.16.1 | 2.6, 2.7, 2.8 |3.7, 3.8, 3.9, 3.10 |
8586
| tensorflow-addons-0.15.0 | 2.5, 2.6, 2.7 |3.7, 3.8, 3.9 |
8687
| tensorflow-addons-0.14.0 | 2.4, 2.5, 2.6 |3.6, 3.7, 3.8, 3.9 |
@@ -112,6 +113,7 @@ is compiled differently. A typical example of this would be `conda`-installed Te
112113
| TensorFlow Addons | TensorFlow | Compiler | cuDNN | CUDA |
113114
|:----------------------- |:---- |:---------|:---------|:---------|
114115
| tfa-nightly | 2.9 | GCC 7.3.1 | 8.1 | 11.2 |
116+
| tensorflow-addons-0.17.0 | 2.9 | GCC 7.3.1 | 8.1 | 11.2 |
115117
| tensorflow-addons-0.16.1 | 2.8 | GCC 7.3.1 | 8.1 | 11.2 |
116118
| tensorflow-addons-0.15.0 | 2.7 | GCC 7.3.1 | 8.1 | 11.2 |
117119
| tensorflow-addons-0.14.0 | 2.6 | GCC 7.3.1 | 8.1 | 11.2 |

tensorflow_addons/image/color_ops.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def equalize(
7979
with tf.name_scope(name or "equalize"):
8080
image_dims = tf.rank(image)
8181
image = to_4D_image(image)
82-
fn = partial(_equalize_image)
83-
image = tf.map_fn(lambda x: fn(x, bins), image)
82+
fn = partial(_equalize_image, bins=bins)
83+
image = tf.map_fn(fn, image)
8484
return from_4D_image(image, image_dims)
8585

8686

tools/build_dev_container.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -x -e
44

55
docker build \
66
-f tools/docker/dev_container.Dockerfile \
7-
--build-arg TF_VERSION=2.9.0 \
7+
--build-arg TF_VERSION=2.9.1 \
88
--build-arg TF_PACKAGE=tensorflow \
99
--build-arg PY_VERSION=$PY_VERSION \
1010
--no-cache \

tools/docker/cpu_tests.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#syntax=docker/dockerfile:1.1.5-experimental
22
FROM python:3.7 as build_wheel
33

4-
ARG TF_VERSION=2.9.0
4+
ARG TF_VERSION=2.9.1
55
RUN pip install --default-timeout=1000 tensorflow-cpu==$TF_VERSION
66

77
RUN apt-get update && apt-get install -y sudo rsync

tools/install_deps/tensorflow-cpu.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
tensorflow-cpu~=2.9.0
1+
tensorflow-cpu~=2.9.1

tools/install_deps/tensorflow.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
tensorflow~=2.9.0
1+
tensorflow~=2.9.1

tools/run_gpu_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export DOCKER_BUILDKIT=1
66
docker build \
77
-f tools/docker/build_wheel.Dockerfile \
88
--target tfa_gpu_tests \
9-
--build-arg TF_VERSION=2.9.0 \
9+
--build-arg TF_VERSION=2.9.1 \
1010
--build-arg PY_VERSION=3.7 \
1111
-t tfa_gpu_tests ./
1212
docker run --rm -t --gpus=all tfa_gpu_tests

0 commit comments

Comments
 (0)