Open tempo-riz opened 2 months ago
same issue
E/AndroidRuntime(11679): java.lang.UnsatisfiedLinkError: dlopen failed: library "libllm_inference_engine_jni.so" not found
E/AndroidRuntime(11679): at java.lang.Runtime.loadLibrary0(Runtime.java:1082)
E/AndroidRuntime(11679): at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
E/AndroidRuntime(11679): at java.lang.System.loadLibrary(System.java:1661)
E/AndroidRuntime(11679): at com.google.mediapipe.tasks.genai.llminference.LlmInference.
I downloaded then copied the model gemma-2b-it-cpu-int4.bin that i got from kaggle, this one
(is it the correct one @DenisovAV ?)
then called
Gemma.instance.init( maxTokens: 512, );
on a physical device :
in the emulator :