tensorflow: TensorFlowLiteC and TensorFlowLiteSelectOps iOS Pods :: Duplicate symbols
Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac OS X Mojave (10.14.6)
- TensorFlow installed from (source or binary): Cocoapods (nightly pod)
- TensorFlow version: Tensorflow Lite 0.0.1-nightly.20210915
Describe the problem
Provide the exact sequence of commands / steps that you executed before running into the problem
(Following the comment over here)
Experiencing duplicate symbols with the current nightly builds, this doesn’t occur with pod versions set to 2.6.0.
Current podfile
'TensorFlowLiteObjC', '~> 0.0.1-nightly'
'TensorFlowLiteObjC/Metal', '~> 0.0.1-nightly'
'TensorFlowLiteSelectTfOps', '~> 0.0.1-nightly'
Resolves to lockfile
- TensorFlowLiteC (0.0.1-nightly.20210915):
- TensorFlowLiteC/Core (= 0.0.1-nightly.20210915)
- TensorFlowLiteC/Core (0.0.1-nightly.20210915)
- TensorFlowLiteC/Metal (0.0.1-nightly.20210915):
- TensorFlowLiteC/Core
- TensorFlowLiteObjC (0.0.1-nightly.20210915):
- TensorFlowLiteObjC/Core (= 0.0.1-nightly.20210915)
- TensorFlowLiteObjC/Core (0.0.1-nightly.20210915):
- TensorFlowLiteC (= 0.0.1-nightly.20210915)
- TensorFlowLiteObjC/Metal (0.0.1-nightly.20210915):
- TensorFlowLiteC/Metal (= 0.0.1-nightly.20210915)
- TensorFlowLiteObjC/Core (= 0.0.1-nightly.20210915)
- TensorFlowLiteSelectTfOps (0.0.1-nightly.20210915)
The duplicate symbols are _TfLiteXNNPackDelegateCreate , _TfLiteXNNPackDelegateDelete , _TfLiteXNNPackDelegateGetThreadPool , and _TfLiteXNNPackDelegateOptionsDefault.
They’re duplicated between /Pods/TensorFlowLiteSelectTfOps/Frameworks/TensorFlowLiteSelectTfOps.framework/TensorFlowLiteSelectTfOps(xnnpack_delegate.o) and Pods/TensorFlowLiteC/Frameworks/TensorFlowLiteC.framework/TensorFlowLiteC.
(If pod versions are specified as 2.6.0 then they work fine)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 15 (5 by maintainers)
The fixed version of the SelectTfOps framework will be available soon via nightly builds (unfortunately, this problem will remain in 2.8.0). Will notify this thread once again when the nightly build is published.
ok @normano ! Reopening this issue as requested.
@yyoon Can you reopen this and possibly reassign to someone else. The issue may be stale, but the problem is still exists.