-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade the Tensorflow version to address some security issues (#1870)
* upgrade the tensorflow version to address some security issues * fix enas example codes * upgrade tensorflow to v2.9.1 and tensorflow-aarch64 to v2.9.0 * install protobuf (>= 3.9.2, < 3.20) for tensorflow-aarch64
- Loading branch information
Showing
10 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
grpcio==1.41.1 | ||
protobuf==3.19.1 | ||
googleapis-common-protos==1.6.0 | ||
tensorflow==2.8.0 | ||
cython>=0.29.24 | ||
# TODO (tenzen-y): We need to delete the line to install protobuf after tensorflow-aarch64 v2.9.1, or higher has been released. | ||
# To avoid the `If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.` error, | ||
# we must restrict the protobuf version. | ||
protobuf >= 3.9.2, < 3.20; platform_machine=="aarch64" | ||
tensorflow==2.9.1; platform_machine=="x86_64" | ||
tensorflow-aarch64==2.9.0; platform_machine=="aarch64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM tensorflow/tensorflow:2.7.0 | ||
FROM tensorflow/tensorflow:2.9.1 | ||
|
||
ENV TARGET_DIR /opt/enas-cnn-cifar10 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM tensorflow/tensorflow:2.7.0-gpu | ||
FROM tensorflow/tensorflow:2.9.1-gpu | ||
|
||
ENV TARGET_DIR /opt/enas-cnn-cifar10 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
examples/v1beta1/trial-images/tf-mnist-with-summaries/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters