Skip to content

Commit 7ade8bd

Browse files
committed
install protobuf (>= 3.9.2, < 3.20) for tensorflow-aarch64
1 parent 9b858c5 commit 7ade8bd

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

cmd/metricscollector/v1beta1/tfevent-metricscollector/requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@ psutil==5.8.0
22
rfc3339>=6.2
33
grpcio==1.41.1
44
googleapis-common-protos==1.6.0
5+
# TODO (tenzen-y): We need to delete the line to install protobuf after tensorflow-aarch64 v2.9.1, or higher has been released.
6+
# 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,
7+
# we must restrict the protobuf version.
8+
protobuf >= 3.9.2, < 3.20; platform_machine=="aarch64"
59
tensorflow==2.9.1; platform_machine=="x86_64"
610
tensorflow-aarch64==2.9.0; platform_machine=="aarch64"

cmd/suggestion/nas/enas/v1beta1/requirements.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
grpcio==1.41.1
2-
protobuf==3.19.1
32
googleapis-common-protos==1.6.0
3+
cython>=0.29.24
4+
# TODO (tenzen-y): We need to delete the line to install protobuf after tensorflow-aarch64 v2.9.1, or higher has been released.
5+
# 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,
6+
# we must restrict the protobuf version.
7+
protobuf >= 3.9.2, < 3.20; platform_machine=="aarch64"
48
tensorflow==2.9.1; platform_machine=="x86_64"
59
tensorflow-aarch64==2.9.0; platform_machine=="aarch64"
6-
cython>=0.29.24

0 commit comments

Comments
 (0)