-
Notifications
You must be signed in to change notification settings - Fork 74k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selectively build TFLite frameworks failed! #63952
Comments
Hi @chenyingchao, can you share "migan_8bit_a3.tflite" or where I can download it? Thanks! |
Hi @chenyingchao, it appears that link just links back to this issue, perhaps that is not the right link? Thanks for your help. |
migan_8bit_0.tflite.zip |
Thanks @chenyingchao, I was able to replicate with the same results: On MacOS:
Similarly opening the .zip file is as you described, something seems wrong/off. Hi @yishuangP, can you please take a look? Thanks. |
@chenyingchao i encountered exactly the same error as you! "'builtin_ops.h' file not found" However,after I have selectively built the libraries with Tensorflow r2.9, the error goes away |
Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.16.1
Custom code
Yes
OS platform and distribution
13.5
Mobile device
No response
Python version
3.12.2
Bazel version
6.5.0
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
bash tensorflow/lite/ios/build_frameworks.sh
--input_models=migan_8bit_a3.tflite
--target_archs=x86_64,armv7,arm64
There were no errors after executing the script, but no such file or directory occurred。
ls: /Users/xxx/Desktop/tensorflow-2.16.1/bazel-out/applebin_ios-ios_sim_arm64-opt-ST-7b90815cfaca/bin/tensorflow/lite/ios/tmp/TensorFlowLiteC_framework.zip: No such file or directory
but,I found the framework in the “/Users/xxx/Desktop/tensorflow-2.16.1/bazel-out/applebin_ios-ios_sim_arm64-opt-ST-7b90815cfaca/bin/tensorflow/lite/ios/tmp/TensorFlowLiteC_framework.zip” path
I opened the framework and found that its files seemed to be incorrect, Only five files.
last,when I build, Xcode show error,not found "builtin_ops. h"
Standalone code to reproduce the issue
Relevant log output
ls: /Users/xxx/Desktop/tensorflow-2.16.1/bazel-out/applebin_ios-ios_sim_arm64-opt-ST-7b90815cfaca/bin/tensorflow/lite/ios/tmp/TensorFlowLiteC_framework.zip: No such file or directory when I build Xcode,it show error,not found "builtin_ops. h"
The text was updated successfully, but these errors were encountered: