google-ai-edge / mediapipe-samples

Apache License 2.0
1.52k stars 398 forks source link

Support for armeabi-v7a (32-bit ARM) the LLM Inference API #423

Closed shubham0204 closed 3 weeks ago

shubham0204 commented 2 months ago

I was trying to test an app using the LLM Inference API on a 32-bit ARM Android device (the only supported ABI is armeabi-v7a) and the app instantly crashed with the error:

java.lang.UnsatisfiedLinkError: dlopen failed: library "libllm_inference_engine_jni.so" not found

on analyzing the APK, I discovered that there were no libraries for armeabi-v7a in the libs directory (I could find arm64-v8a).

PaulTR commented 3 weeks ago

Closing this out as I've put a feature request in for internal tracking around armeabi-v7a support.