question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot Build TFLite Image

See original GitHub issue

Running yarn build:tflite on the latest version of the repository results in the following error:

ERROR: /workspace/tflite/BUILD:25:10: Linking tflite-simd failed: (Exit 1): emcc_link.sh failed: error executing command external/emsdk/emscripten_toolchain/emcc_link.sh @bazel-out/wasm-opt/bin/tflite-simd-2.params

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
stderr (/root/.cache/bazel/_bazel_root/00533da95dbcbd49bca844bdfd8d02a4/execroot/__main__/bazel-out/_tmp/actions/stderr-3561) exceeds maximum size of --experimental_ui_max_stdouterr_bytes=1048576 bytes; skipping
Target //:tflite-simd failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 227.455s, Critical Path: 29.53s
INFO: 1833 processes: 6 internal, 1827 processwrapper-sandbox.
FAILED: Build did NOT complete successfully
error Command failed with exit code 1.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Volcomixcommented, Oct 10, 2022

Yes, I can download the zip build artifact. The new tflite-simd.wasm is 3.1MB compared wthh 2.8MB in the old build. The file size keep increasing. #40

The js files are smaller and contain less useless functions/variables than the previous ones. No new unused Emscripten feature seem to have been added. The wasm files are both larger indeed and they are way too cryptic to figure out what is the difference. I’d say the difference could come from all the new devs that have been done in tensorflow and XNNPACK since the last built but I honestly don’t know. Reversing all the commits from tensorflow and XNNPACK repos would be too long for my spare time right now.

1reaction
benbrocommented, Oct 8, 2022

Yes, I can download the zip build artifact. The new tflite-simd.wasm is 3.1MB compared wthh 2.8MB in the old build. The file size keep increasing. https://github.com/Volcomix/virtual-background/issues/40

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot copy to a TensorFlowLite tensor (input_1) with bytes ...
My tflite model has the dimensions you see in the image. tflite. Right now, I am receiving: Cannot copy to a TensorFlowLite tensor...
Read more >
Build TensorFlow Lite with CMake
This page describes how to build and use the TensorFlow Lite library with CMake tool. The following instructions have been tested on Ubuntu ......
Read more >
Failed to build Tensorflow Lite for Win32 using CMake #47166
I need it. I found x86_64 here: https://github.com/ValYouW/tflite-dist, but this cannot be used in X86 project in visual studio.
Read more >
Build Coral for your platform
How to build all the Coral software components for your own platform.
Read more >
Build and deploy a custom object detection model with ...
Train a custom object detection model to detect the ingredients/components of a meal using a custom dataset called salad and TFLite Model Maker....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found