Skip to content
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

TensorFlowLiteSelectTfOps - Compile error #67748

Open
thereallee opened this issue May 16, 2024 · 2 comments
Open

TensorFlowLiteSelectTfOps - Compile error #67748

thereallee opened this issue May 16, 2024 · 2 comments
Assignees
Labels
comp:lite TF Lite related issues type:bug Bug

Comments

@thereallee
Copy link

Issue type

Bug

Have you reproduced the bug with TensorFlow Nightly?

No

Source

source

TensorFlow version

pod 'TensorFlowLiteSwift'   # or 'TensorFlowLiteObjC' 	pod 'TensorFlowLiteSelectTfOps', '~> 0.0.1-nightly'

Custom code

Yes

OS platform and distribution

iOS 16.2

Mobile device

iOS

Python version

No response

Bazel version

No response

GCC/compiler version

No response

CUDA/cuDNN version

No response

GPU model and memory

No response

Current behavior?

Podfile:

pod 'TensorFlowLiteSwift'   # or 'TensorFlowLiteObjC'
pod 'TensorFlowLiteSelectTfOps', '~> 0.0.1-nightly'

After fixing the '-force_load' issue, I now see this compiller error:

Inferred submodules require a module with an umbrella

Screenshot 2024-05-16 at 9 34 32 AM

Standalone code to reproduce the issue

Use the podfile as indicated above.

Disable user script sandboxing

Fix the force_update script bug

In a Swift file, have these two imports:

import TensorFlowLite
import TensorFlowLiteSelectTfOps


Try to build.

See the error on the "import TensorFlowLiteSelectTfOps" line

> Inferred submodules require a module with an umbrella

Relevant log output

No response

@google-ml-butler google-ml-butler bot added the type:bug Bug label May 16, 2024
@tilakrayal tilakrayal added the comp:lite TF Lite related issues label May 17, 2024
@tilakrayal tilakrayal assigned sawantkumar and unassigned tilakrayal May 17, 2024
@sawantkumar sawantkumar assigned pkgoogle and unassigned sawantkumar May 21, 2024
@pkgoogle
Copy link

Hi @thereallee, are you using an emulator or a real phone? The steps to integrate Select ops with iOS are different depending on that, so I want to understand your situation.

@pkgoogle pkgoogle added the stat:awaiting response Status - Awaiting response from author label May 30, 2024
@thereallee
Copy link
Author

Hi - I see essentially the same error when building for device and simulator. See attached.

Simulator build:

Simulator_—_module_modulemap

Device build:

Device_—_module_modulemap

@google-ml-butler google-ml-butler bot removed the stat:awaiting response Status - Awaiting response from author label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:lite TF Lite related issues type:bug Bug
Projects
None yet
Development

No branches or pull requests

4 participants