Mhp23 patch 1#23
Conversation
fix: Excluded arm64 architecture for iPhone simulators on the pod
|
Hey - thanks for your PR!
I am building TensorFlow Lite from source from their current main - so if they fixed the issue, it should be resolved. |
|
@mrousavy You're welcome! |
|
Ah I see - I think this approach is not really good since it blocks simulators / makes it harder to use on simulators. I think we can compile |
|
See #26 |
|
Same issue here, why it blocks simulators, I think it'd run in simulator as @Mhp23 mentioned. |
|
I found this tensorflow PR from 2022 that was supposed to enable tflite to build for arm64 simulators: tensorflow/tensorflow#55777 Is it possible we just need to add |
|
Hi - thanks for the PR - we recently migrated the library to Nitro and upgraded it to latest LiteRT, so I think this PR is quite out of sync now - sorry for not getting it merged sooner. I'm going to close this for now, but if this is still relevant in the latest version, we can open another PR and get it merged. 👍 |
arm64simulators from the podSince the current stable version of TensorFlow Lite doesn't support
arm64simulators, building the app is failing for Apple Silicon (It appears that this issue is resolved in the TensorFlow Lite nightly version). Therefore, in this PR, the arm64 simulator is excluded, and instructions for running the app directly onx86_64architecture simulators from the command line are added to the documentation.