Skip to content

Commit a922c41

Browse files
authored
Merge pull request #1655 from broken/fix-tftextversion-f8ea95d
Fix tftext version f8ea95d
2 parents f92bd0d + fd98428 commit a922c41

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
@@ -77,10 +77,10 @@ def tf_serving_workspace():
7777
# https://github.com/tensorflow/text/blob/master/oss_scripts/model_server/save_models.py
7878
http_archive(
7979
name = "org_tensorflow_text",
80-
sha256 = "83e4ed74661b5ec6a956f45edf515b26e5ac7b357ee1382146117dfa47729b61",
81-
strip_prefix = "text-2.1.1",
80+
sha256 = "f64647276f7288d1b1fe4c89581d51404d0ce4ae97f2bcc4c19bd667549adca8",
81+
strip_prefix = "text-2.2.0",
8282
urls = [
83-
"https://github.com/tensorflow/text/archive/v2.1.1.zip",
83+
"https://github.com/tensorflow/text/archive/v2.2.0.zip",
8484
],
8585
patches = ["@//third_party/tf_text:tftext.patch"],
8686
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)