tensorflow: Selectively build TFLite for IOS failure
Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
2.11.0
Custom Code
No
OS Platform and Distribution
MacOS Monterey 12.6.2
Mobile device
N/A
Python version
3.9
Bazel version
5.3.0
GCC/Compiler version
14.0.0
CUDA/cuDNN version
No response
GPU model and memory
N/A
Current Behaviour?
I tried building a selective TFL framework following this guide(https://www.tensorflow.org/lite/guide/build_ios#selectively_build_tflite_frameworks). The model I fed into the command only uses builtin and select ops. However this command returns error.
ERROR: /Users/xx/projects/tensorflow/tensorflow/lite/ios/tmp/BUILD:4:24: Compiling tensorflow/lite/ios/tmp/custom_c_api_registration_registration.cc failed: undeclared inclusion(s) in rule '//tensorflow/lite/ios/tmp:custom_c_api_create_op_resolver':
this rule is missing dependency declarations for the following files included by 'tensorflow/lite/ios/tmp/custom_c_api_registration_registration.cc':
'tensorflow/lite/core/shims/builtin_ops_list.inc'
I tried adding shims:builtin_ops_list but it is not helping and keep failing.
Standalone code to reproduce the issue
The original code is not working
Relevant log output
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 32 (16 by maintainers)
Just pulled the latest version from git, still seeing the
'tensorflow/libtensorflow_framework.2.dylib' was not created by genruleerror