Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ build --spawn_strategy=standalone

# This flag is required by tensorflow
common --experimental_repo_remote_exec
common --noenable_bzlmod
common --enable_workspace

# Default options should come above this line.

Expand Down
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.3.2
7.6.2
7 changes: 7 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module(name = "mlperf_app", version="")

# -- bazel_dep definitions -- #

# -- use_repo_rule statements -- #

# -- repo definitions -- #
139 changes: 139 additions & 0 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 2 additions & 10 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,12 @@ http_archive(
name = "org_tensorflow",
patch_args = ["-p1"],
patches = [
# Add patches for adding png in tflite evaluation code
"//:flutter/third_party/enable-png-in-tensorflow-lite-tools-evaluation.patch",
"//:flutter/third_party/png-with-number-of-channels-detected.patch",
"//:flutter/third_party/use_unsigned_char.patch",
# Fix tensorflow not being able to read image files on Windows
"//:flutter/third_party/tensorflow-fix-file-opening-mode-for-Windows.patch",
"//:flutter/third_party/tf-eigen.patch",
# NDK 25 support
"//patches:ndk_25_r14.diff",
] + PATCH_FILE,
sha256 = "ce357fd0728f0d1b0831d1653f475591662ec5bca736a94ff789e6b1944df19f",
strip_prefix = "tensorflow-2.14.0",
strip_prefix = "tensorflow-2.20.0",
urls = [
"https://github.com/tensorflow/tensorflow/archive/v2.14.0.tar.gz",
"https://github.com/tensorflow/tensorflow/archive/v2.20.0.tar.gz",
],
)

Expand Down
Loading
Loading