Skip to content

Commit ff1e816

Browse files
authored
Upgrade to TF 2.16.1 (#531)
1 parent 2b6d83f commit ff1e816

File tree

94 files changed

+8263
-256
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+8263
-256
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ To upgrade the version of TensorFlow that is embedded within TensorFlow Java, pl
8787
7. Copy the content of `tensorflow-x.x.x/.bazelversion` file to `tensorflow-core/tensorflow-core-native/.bazelversion`
8888
8. Validate that options in `tensorflow-core/tensorflow-core-native/.bazelrc` are still accurate or update them accordingly
8989
9. Update URLs of existing TensorFlow binaries in the `tensorflow-core/tensorflow-core-native/scripts/dist_download` script
90+
10. Update URLs of TensorFlow-Text binaries used for testing in the `tensorflow-core/tensorflow-core-api/scripts/test_download` script
9091

9192
#### Patching TensorFlow Sources
9293

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ This table shows the mapping between TensorFlow, TensorFlow Java and minimum sup
173173
| 0.4.2 | 2.7.4 | 8 |
174174
| 0.5.0 | 2.10.1 | 11 |
175175
| 0.6.0-SNAPSHOT | 2.10.1 | 11 |
176-
| 1.0.0-SNAPSHOT | 2.15.0 | 11 |
176+
| 1.0.0-SNAPSHOT | 2.16.1 | 11 |
177177

178178
## How to Contribute?
179179

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<junit.version>5.10.0</junit.version>
4444
<jmh.version>1.37</jmh.version>
4545
<versions-plugin.version>2.7</versions-plugin.version>
46-
<errorprone.version>2.10.0</errorprone.version>
46+
<errorprone.version>2.25.0</errorprone.version>
4747
<maven.javadoc.skip>true</maven.javadoc.skip>
4848
<maven.source.skip>true</maven.source.skip>
4949
<gpg.skip>true</gpg.skip>

tensorflow-core/tensorflow-core-api/scripts/test_download.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ DOWNLOAD_FOLDER="$1"
55

66
case ${PLATFORM:-} in
77
'linux-x86_64')
8-
TEXT_WHEEL_URL='https://files.pythonhosted.org/packages/20/a0/bdbf2a11141f1c93e572364d13c42537cfe811b747a0bbb58fdd904f3960/tensorflow_text-2.15.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl'
8+
TEXT_WHEEL_URL='https://files.pythonhosted.org/packages/c5/ef/5b8270e5665923bda4222f56382d9fbcb7fd6efd5fb8557ad0776848cdff/tensorflow_text-2.16.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl'
99
;;
1010
'macosx-x86_64')
11-
TEXT_WHEEL_URL='https://files.pythonhosted.org/packages/8a/fe/a2f19d3d3ab834c3fa1007c970b0b86573beb929c86ca6c85cd13e86e4b2/tensorflow_text-2.15.0-cp311-cp311-macosx_10_9_x86_64.whl'
11+
TEXT_WHEEL_URL='https://files.pythonhosted.org/packages/ed/5d/b55f48cdf98a164d293f660748c2501ea828e148250a4cadbb5b0d988735/tensorflow_text-2.16.1-cp311-cp311-macosx_10_9_x86_64.whl'
1212
;;
1313
*)
1414
echo "TensorFlow Text distribution for ${PLATFORM} is not supported for download"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
op {
2+
graph_op_name: "ComputeDedupDataSize"
3+
visibility: VISIBLE
4+
endpoint {
5+
name: "tpu.ComputeDedupDataSize"
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
op {
2+
graph_op_name: "ConvertToCooTensor"
3+
visibility: VISIBLE
4+
endpoint {
5+
name: "tpu.ConvertToCooTensor"
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
op {
2+
graph_op_name: "DatasetFingerprint"
3+
visibility: VISIBLE
4+
endpoint {
5+
name: "data.DatasetFingerprint"
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
op {
2+
graph_op_name: "GetMinibatchSplitsWithPhysicalReplica"
3+
visibility: VISIBLE
4+
endpoint {
5+
name: "tpu.GetMinibatchSplitsWithPhysicalReplica"
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
op {
2+
graph_op_name: "GetMinibatchesInCsrWithPhysicalReplica"
3+
visibility: VISIBLE
4+
endpoint {
5+
name: "tpu.GetMinibatchesInCsrWithPhysicalReplica"
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
op {
2+
graph_op_name: "GlobalIterId"
3+
visibility: VISIBLE
4+
endpoint {
5+
name: "tpu.GlobalIterId"
6+
}
7+
}

0 commit comments

Comments
 (0)