Skip to content

Commit 606aa71

Browse files
committed
update tensorflow and serving to 2.4.0
update hashes for latest project dependencies in WORKSPACE update main.cc with upstream changes update versions in readme
1 parent 7839c5b commit 606aa71

File tree

4 files changed

+29
-24
lines changed

4 files changed

+29
-24
lines changed

Diff for: .bazelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# upstream tensorflow/serving version
2-
build --embed_label=2.3.0
2+
build --embed_label=2.4.0
33

44
common --experimental_repo_remote_exec
55

Diff for: README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ On many consumer / developer 64-bit and 32-bit arm platforms you can simply:
3737
```sh
3838
docker pull emacski/tensorflow-serving:latest
3939
# or
40-
docker pull emacski/tensorflow-serving:2.3.0
40+
docker pull emacski/tensorflow-serving:2.4.0
4141
```
4242

4343
Refer to [TensorFlow Serving with Docker](https://www.tensorflow.org/tfx/serving/docker)
@@ -58,7 +58,7 @@ for configuration and setting up a model for serving.
5858
Example
5959
```bash
6060
# on beaglebone black
61-
docker pull emacski/tensorflow-serving:2.3.0-linux_arm_armv7-a_neon_vfpv3
61+
docker pull emacski/tensorflow-serving:2.4.0-linux_arm_armv7-a_neon_vfpv3
6262
```
6363

6464
### Aliases
@@ -77,7 +77,7 @@ docker pull emacski/tensorflow-serving:2.3.0-linux_arm_armv7-a_neon_vfpv3
7777
Examples
7878
```bash
7979
# on Raspberry PI 3 B+
80-
docker pull emacski/tensorflow-serving:2.3.0-linux_arm64
80+
docker pull emacski/tensorflow-serving:2.4.0-linux_arm64
8181
# or
8282
docker pull emacski/tensorflow-serving:latest-linux_arm64
8383
```
@@ -113,9 +113,9 @@ docker pull emacski/tensorflow-serving:latest
113113
Example
114114
```sh
115115
# on Raspberry PI 3 B+
116-
docker pull emacski/tensorflow-serving:2.3.0
117-
# the actual image used is emacski/tensorflow-serving:2.3.0-linux_arm64
118-
# itself actually being emacski/tensorflow-serving:2.3.0-linux_arm64_armv8-a
116+
docker pull emacski/tensorflow-serving:2.4.0
117+
# the actual image used is emacski/tensorflow-serving:2.4.0-linux_arm64
118+
# itself actually being emacski/tensorflow-serving:2.4.0-linux_arm64_armv8-a
119119
```
120120

121121
### Debug Images
@@ -130,9 +130,9 @@ suffix (if one is required) in the image tag.
130130

131131
```sh
132132
# multi-arch
133-
docker pull emacski/tensorflow-serving:2.3.0-debug
133+
docker pull emacski/tensorflow-serving:2.4.0-debug
134134
# specific image
135-
docker pull emacski/tensorflow-serving:2.3.0-debug-linux_arm64_armv8-a
135+
docker pull emacski/tensorflow-serving:2.4.0-debug-linux_arm64_armv8-a
136136
# specific alias
137137
docker pull emacski/tensorflow-serving:latest-debug-linux_arm64
138138
```

Diff for: WORKSPACE

+14-14
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ io_bazel_rules_docker_pip_deps()
6666

6767
# tensorflow/tensorflow and deps
6868

69-
# tensorflow 2.3.0
69+
# tensorflow 2.4.0
7070
# https://github.com/tensorflow/tensorflow
7171
http_archive(
7272
name = "org_tensorflow",
@@ -78,10 +78,10 @@ http_archive(
7878
# as of tf 2.3.0, this seems to only affect aws deps
7979
"//third_party/tensorflow:BUILD.patch",
8080
],
81-
sha256 = "a474d4328524de1951655cd6afb4888d256c37a0b4a47e6c623b353ab382b39f",
82-
strip_prefix = "tensorflow-b36436b087bd8e8701ef51718179037cccdfc26e",
81+
sha256 = "9c94bfec7214853750c7cacebd079348046f246ec0174d01cd36eda375117628",
82+
strip_prefix = "tensorflow-582c8d236cb079023657287c318ff26adb239002",
8383
urls = [
84-
"https://github.com/tensorflow/tensorflow/archive/b36436b087bd8e8701ef51718179037cccdfc26e.tar.gz",
84+
"https://github.com/tensorflow/tensorflow/archive/582c8d236cb079023657287c318ff26adb239002.tar.gz",
8585
],
8686
)
8787

@@ -142,14 +142,14 @@ http_archive(
142142
],
143143
)
144144

145-
# tensorflow serving 2.3.0
145+
# tensorflow serving 2.4.0
146146
# https://github.com/tensorflow/serving
147147
http_archive(
148148
name = "tf_serving",
149-
sha256 = "88aaf8aaa5e3719f617679015b5938570e06a02c7793f1a6ca6ebf96e7656252",
150-
strip_prefix = "serving-0617d7acafcf4073e60bfbdaa2f624ed0b3e1808",
149+
sha256 = "20cf56a58a593eaeece76c8445129253c1d9fe40b49d5a2c3cb4fb1dea6e54e4",
150+
strip_prefix = "serving-af33a247dae5486c712a5001845d06235e5b69d2",
151151
urls = [
152-
"https://github.com/tensorflow/serving/archive/0617d7acafcf4073e60bfbdaa2f624ed0b3e1808.tar.gz",
152+
"https://github.com/tensorflow/serving/archive/af33a247dae5486c712a5001845d06235e5b69d2.tar.gz",
153153
],
154154
)
155155

@@ -235,15 +235,15 @@ load("@io_bazel_rules_docker//container:container.bzl", "container_pull")
235235

236236
container_pull(
237237
name = "discolix_cc_linux_amd64",
238-
digest = "sha256:3a66e91f4196381f813c75e33900225a7b8911a334d4f49bf177c986fa3a6be7",
238+
digest = "sha256:cd0b1a86d3e5d0c50966ddd61991725e6d845022a889bd46c2e472b607d1b86a",
239239
registry = "index.docker.io",
240240
repository = "discolix/cc",
241241
tag = "latest-linux_amd64",
242242
)
243243

244244
container_pull(
245245
name = "discolix_cc_linux_amd64_debug",
246-
digest = "sha256:dada54e242c04570149f3287684f53047a352cdcdbc7bf84933ca6882cfbf423",
246+
digest = "sha256:908d74a696d8604611db18bcbd89f5a7a9ab0276cb4349ad5707991b16883be0",
247247
registry = "index.docker.io",
248248
repository = "discolix/cc",
249249
tag = "debug-linux_amd64",
@@ -253,15 +253,15 @@ container_pull(
253253

254254
container_pull(
255255
name = "discolix_cc_linux_arm64",
256-
digest = "sha256:644ea3eb52c1e4b479f462c9f911da720aead288a3ffd2b1fd4a731456945ae9",
256+
digest = "sha256:b855b5219b13f1c7be2c5cb9625633d357b0fa256280dd125a3127a0d7817b22",
257257
registry = "index.docker.io",
258258
repository = "discolix/cc",
259259
tag = "latest-linux_arm64",
260260
)
261261

262262
container_pull(
263263
name = "discolix_cc_linux_arm64_debug",
264-
digest = "sha256:37a1d13c4e6a42a6ec964a717b55830b910b059058259399a04994cb0efafa5e",
264+
digest = "sha256:cac5dced20015d755f5d4baa5362143a423f9ad3c1e8712c577a55c6474731ee",
265265
registry = "index.docker.io",
266266
repository = "discolix/cc",
267267
tag = "debug-linux_arm64",
@@ -271,15 +271,15 @@ container_pull(
271271

272272
container_pull(
273273
name = "discolix_cc_linux_arm",
274-
digest = "sha256:0d27abb6cbf7ad760216954f74a0f502e8d1227122e35104e68c580da5ceb1ed",
274+
digest = "sha256:ef8207f396e7bd6897f72f6fc8fafbd64bdccbc2a3c32d864cbfc4a64a87731f",
275275
registry = "index.docker.io",
276276
repository = "discolix/cc",
277277
tag = "latest-linux_arm",
278278
)
279279

280280
container_pull(
281281
name = "discolix_cc_linux_arm_debug",
282-
digest = "sha256:9dfb903077406172a126ed5e17945b5db0d2d3175d283be25f6b454c358f39bd",
282+
digest = "sha256:af22ef9588c5211dfcc8cdc33a101856cbe91e675669b0d8b9ba8cd38005ea29",
283283
registry = "index.docker.io",
284284
repository = "discolix/cc",
285285
tag = "debug-linux_arm",

Diff for: tensorflow_model_server/main.cc

+6-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,12 @@ int main(int argc, char** argv) {
198198
"in SavedModel directory, instead of the TensorFlow "
199199
"model from `saved_model.pb` file. "
200200
"If no TensorFlow Lite model found, fallback to "
201-
"TensorFlow model.")};
201+
"TensorFlow model."),
202+
tensorflow::Flag(
203+
"enable_signature_method_name_check",
204+
&options.enable_signature_method_name_check,
205+
"Enable method_name check for SignatureDef. Disable this if serving "
206+
"native TF2 regression/classification models.")};
202207

203208
const auto& usage = tensorflow::Flags::Usage(argv[0], flag_list);
204209
if (!tensorflow::Flags::Parse(&argc, argv, flag_list)) {

0 commit comments

Comments
 (0)