Closed AhSinan closed 1 month ago
Hi @AhSinan,
Apologies for the delayed response. Could you please let us know if this has been resolved on your end, or if you are still seeking a resolution? If you are still looking for a solution, could you also let us know if you are testing this on a real device or an emulator?
Thank you!!
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.
This issue was closed due to lack of activity after being marked stale for past 7 days.
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Android 14
Mobile device if the issue happens on mobile device
Pixel 8 pro
Browser and version if the issue happens on browser
N/A
Programming Language and version
C++/Java
MediaPipe version
v0.10.14
Bazel version
6.1.1
Solution
MediaPipe
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
NDK r25c
Xcode & Tulsi version (if issue is related to building for iOS)
N/A
Describe the actual behavior
Running phi-2 after conversion (with my build from source) is producing gibberish output.
Describe the expected behaviour
Running phi-2 after conversion (with my build from source) should produce non-gibberish output.
Standalone code/steps you may have used to try to get what you need
Did the same for tasks_core.aar
Then, I have used Mediapipe LLM sample app to test this: https://github.com/google-ai-edge/mediapipe-samples/tree/main/examples/llm_inference/android
When running phi-2 with my build I am getting gibberish output.
It is worth noting that Gemma model works fine after conversion with my build, I am facing this issue with the other models (e.g. phi-2). For some reason, when I use the released AARs from Maven, all models works fine, the issue happens when I build MediaPipe+XNNPACK from source.