Skip to content

Commit 910b337

Browse files
saudetkarllessard
andauthored
Upgrade for TensorFlow 2.7.0 (#395)
* Upgrade for TensorFlow 2.7.0 * Rebase and fix ops packages * Remove obsolete patch * Fix graph custom gradient support with TensorFlow 2.7.0 Also fix execution order plugins for javacpp-parser * Remove broken version of python3.exe from MSYS2 on GitHub Actions Co-authored-by: Karl Lessard <karl.lessard@gmail.com>
1 parent e0eec4a commit 910b337

File tree

192 files changed

+12432
-9256
lines changed

Some content is hidden

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

192 files changed

+12432
-9256
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ jobs:
203203
run: |
204204
set "PATH=C:\msys64\usr\bin;%PATH%"
205205
echo Removing broken stuff from WSL and MSYS2
206-
rm "C:/WINDOWS/system32/bash.EXE" "C:/msys64/usr/bin/python.exe"
206+
rm "C:/WINDOWS/system32/bash.EXE" "C:/msys64/usr/bin/python.exe" "C:/msys64/usr/bin/python3.exe"
207207
python -m pip install numpy six
208208
echo Removing old versions of MSVC that interfere with Bazel
209209
bash.exe -lc "find 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/' -iname '14.1*' -exec rm -Rf {} \;"

tensorflow-core/tensorflow-core-api/WORKSPACE

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,16 @@ http_archive(
1212
# ":tensorflow-macosx.patch",
1313
# ":tensorflow-windows.patch", # https://github.com/tensorflow/tensorflow/issues/25213
1414
":tensorflow-proto.patch",
15-
":custom-grad-helpers.patch",
1615
":custom-grad-symbols.patch",
1716
],
1817
patch_tool = "patch",
1918
patch_args = ["-p1"],
2019
patch_cmds = ["grep -rl 'java_package' tensorflow/core | xargs sed -i.bak 's/^\(.* java_package = \"org\.tensorflow\.\)\(.*\"\)/\\1proto.\\2'/"],
2120
urls = [
22-
"https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.6.0.tar.gz",
21+
"https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.7.0.tar.gz",
2322
],
24-
sha256 = "41b32eeaddcbc02b0583660bcf508469550e4cd0f86b22d2abe72dfebeacde0f",
25-
strip_prefix = "tensorflow-2.6.0"
23+
sha256 = "bb124905c7fdacd81e7c842b287c169bbf377d29c74c9dacc04f96c9793747bb",
24+
strip_prefix = "tensorflow-2.7.0"
2625
)
2726

2827
# START: Upstream TensorFlow dependencies

tensorflow-core/tensorflow-core-api/external/custom-grad-helpers.patch

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)