Skip to content

Commit fd98428

Browse files
committed
Update TF Text to v2.2.0.
1 parent fbac881 commit fd98428

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tensorflow_serving/workspace.bzl

+3-3
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ def tf_serving_workspace():
7474
# https://github.com/tensorflow/text/blob/master/oss_scripts/model_server/save_models.py
7575
http_archive(
7676
name = "org_tensorflow_text",
77-
sha256 = "83e4ed74661b5ec6a956f45edf515b26e5ac7b357ee1382146117dfa47729b61",
78-
strip_prefix = "text-2.1.1",
77+
sha256 = "f64647276f7288d1b1fe4c89581d51404d0ce4ae97f2bcc4c19bd667549adca8",
78+
strip_prefix = "text-2.2.0",
7979
urls = [
80-
"https://github.com/tensorflow/text/archive/v2.1.1.zip",
80+
"https://github.com/tensorflow/text/archive/v2.2.0.zip",
8181
],
8282
patches = ["@//third_party/tf_text:tftext.patch"],
8383
patch_args = ["-p1"],

third_party/tf_text/tftext.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/tensorflow_text/core/kernels/BUILD b/tensorflow_text/core/kernels/BUILD
2-
index d03ec5f..6e8cd87 100644
2+
index bdca365..5f5cdf6 100644
33
--- a/tensorflow_text/core/kernels/BUILD
44
+++ b/tensorflow_text/core/kernels/BUILD
55
@@ -16,8 +16,7 @@ OSS_DEPS = [
@@ -11,7 +11,7 @@ index d03ec5f..6e8cd87 100644
1111
+ "@org_tensorflow//tensorflow/core:tensorflow_opensource",
1212
]
1313

14-
tf_kernel_library(
14+
cc_library(
1515
diff --git a/tensorflow_text/tftext.bzl b/tensorflow_text/tftext.bzl
1616
index aa5e275..5eaff73 100644
1717
--- a/tensorflow_text/tftext.bzl

0 commit comments

Comments
 (0)