Giter VIP home page Giter VIP logo

Comments (4)

Nayana-ibm avatar Nayana-ibm commented on May 3, 2024

@Venkat6871 Any updates?

from tensorflow.

sawantkumar avatar sawantkumar commented on May 3, 2024

Hi @Nayana-ibm ,

I will replicate the issue and will get back to you regarding this.

from tensorflow.

google-ml-butler avatar google-ml-butler commented on May 3, 2024

Are you satisfied with the resolution of your issue?
Yes
No

from tensorflow.

Nayana-ibm avatar Nayana-ibm commented on May 3, 2024

Applied below patch and issue resolved.

diff --git a/tensorflow/workspace2.bzl b/tensorflow/workspace2.bzl
index a09ac522b0a..373275557f9 100644
--- a/tensorflow/workspace2.bzl
+++ b/tensorflow/workspace2.bzl
@@ -153,6 +153,7 @@ def _tf_repositories():
         sha256 = "256ab4034e93bdeea2e1216cd8361a85bd4ee4884a89bf5e4e142abcdc796805",
         strip_prefix = "XNNPACK-50037f8072731a2cc30a961b96e199ad691887e4",
         urls = tf_mirror_urls("https://github.com/google/XNNPACK/archive/50037f8072731a2cc30a961b96e199ad691887e4.zip"),
+       patch_file = ["//third_party:xnn.patch"],
     )
     # LINT.ThenChange(//tensorflow/lite/tools/cmake/modules/xnnpack.cmake)

diff --git a/third_party/xnn.patch b/third_party/xnn.patch
new file mode 100644
index 00000000000..00b9f4e2b12
--- /dev/null
+++ b/third_party/xnn.patch
@@ -0,0 +1,12 @@
+diff --git a/build_defs.bzl b/build_defs.bzl
+index 32814271..42f3a7e9 100644
+--- a/build_defs.bzl
++++ b/build_defs.bzl
+@@ -260,6 +260,7 @@
+             "//build_config:emscripten_wasmsimd": wasmsimd_deps,
+             "//build_config:emscripten_wasmrelaxedsimd": wasmrelaxedsimd_deps,
+             "//build_config:riscv": riscv_deps,
++            "//conditions:default": [],
+         }),
+         defines = defines,
+         compatible_with = compatible_with,

Not sure why default condition is not added xnnpack/build.bzl .

from tensorflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.