You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are making an app that users can talk to llm models offline in mobile. For this, im using a method like the android example in llama.cpp however i got a problem. I have this error:
D/LLamaAndroid( 9791): Dedicated thread for native code: Llm-RunLoop E/AndroidRuntime( 9791): FATAL EXCEPTION: Llm-RunLoop E/AndroidRuntime( 9791): Process: com.vertex.ai, PID: 9791 E/AndroidRuntime( 9791): java.lang.UnsatisfiedLinkError: dlopen failed: library "libllama-android.so" not found E/AndroidRuntime( 9791): at java.lang.Runtime.loadLibrary0(Runtime.java:1082) E/AndroidRuntime( 9791): at java.lang.Runtime.loadLibrary0(Runtime.java:1003) E/AndroidRuntime( 9791): at java.lang.System.loadLibrary(System.java:1661) E/AndroidRuntime( 9791): at android.llama.cpp.LLamaAndroid$runLoop$1$1.invoke(LLamaAndroid.kt:23) E/AndroidRuntime( 9791): at android.llama.cpp.LLamaAndroid$runLoop$1$1.invoke(LLamaAndroid.kt:19) E/AndroidRuntime( 9791): at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30) E/LLamaAndroid( 9791): Unhandled exception E/LLamaAndroid( 9791): java.lang.UnsatisfiedLinkError: dlopen failed: library "libllama-android.so" not found E/LLamaAndroid( 9791): at java.lang.Runtime.loadLibrary0(Runtime.java:1082) E/LLamaAndroid( 9791): at java.lang.Runtime.loadLibrary0(Runtime.java:1003) E/LLamaAndroid( 9791): at java.lang.System.loadLibrary(System.java:1661) E/LLamaAndroid( 9791): at android.llama.cpp.LLamaAndroid$runLoop$1$1.invoke(LLamaAndroid.kt:23) E/LLamaAndroid( 9791): at android.llama.cpp.LLamaAndroid$runLoop$1$1.invoke(LLamaAndroid.kt:19) E/LLamaAndroid( 9791): at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30) I/Process ( 9791): Sending signal. PID: 9791 SIG: 9 Lost connection to device.
We are making an app that users can talk to llm models offline in mobile. For this, im using a method like the android example in llama.cpp however i got a problem. I have this error:
D/LLamaAndroid( 9791): Dedicated thread for native code: Llm-RunLoop E/AndroidRuntime( 9791): FATAL EXCEPTION: Llm-RunLoop E/AndroidRuntime( 9791): Process: com.vertex.ai, PID: 9791 E/AndroidRuntime( 9791): java.lang.UnsatisfiedLinkError: dlopen failed: library "libllama-android.so" not found E/AndroidRuntime( 9791): at java.lang.Runtime.loadLibrary0(Runtime.java:1082) E/AndroidRuntime( 9791): at java.lang.Runtime.loadLibrary0(Runtime.java:1003) E/AndroidRuntime( 9791): at java.lang.System.loadLibrary(System.java:1661) E/AndroidRuntime( 9791): at android.llama.cpp.LLamaAndroid$runLoop$1$1.invoke(LLamaAndroid.kt:23) E/AndroidRuntime( 9791): at android.llama.cpp.LLamaAndroid$runLoop$1$1.invoke(LLamaAndroid.kt:19) E/AndroidRuntime( 9791): at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30) E/LLamaAndroid( 9791): Unhandled exception E/LLamaAndroid( 9791): java.lang.UnsatisfiedLinkError: dlopen failed: library "libllama-android.so" not found E/LLamaAndroid( 9791): at java.lang.Runtime.loadLibrary0(Runtime.java:1082) E/LLamaAndroid( 9791): at java.lang.Runtime.loadLibrary0(Runtime.java:1003) E/LLamaAndroid( 9791): at java.lang.System.loadLibrary(System.java:1661) E/LLamaAndroid( 9791): at android.llama.cpp.LLamaAndroid$runLoop$1$1.invoke(LLamaAndroid.kt:23) E/LLamaAndroid( 9791): at android.llama.cpp.LLamaAndroid$runLoop$1$1.invoke(LLamaAndroid.kt:19) E/LLamaAndroid( 9791): at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30) I/Process ( 9791): Sending signal. PID: 9791 SIG: 9 Lost connection to device.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are making an app that users can talk to llm models offline in mobile. For this, im using a method like the android example in llama.cpp however i got a problem. I have this error:
D/LLamaAndroid( 9791): Dedicated thread for native code: Llm-RunLoop E/AndroidRuntime( 9791): FATAL EXCEPTION: Llm-RunLoop E/AndroidRuntime( 9791): Process: com.vertex.ai, PID: 9791 E/AndroidRuntime( 9791): java.lang.UnsatisfiedLinkError: dlopen failed: library "libllama-android.so" not found E/AndroidRuntime( 9791): at java.lang.Runtime.loadLibrary0(Runtime.java:1082) E/AndroidRuntime( 9791): at java.lang.Runtime.loadLibrary0(Runtime.java:1003) E/AndroidRuntime( 9791): at java.lang.System.loadLibrary(System.java:1661) E/AndroidRuntime( 9791): at android.llama.cpp.LLamaAndroid$runLoop$1$1.invoke(LLamaAndroid.kt:23) E/AndroidRuntime( 9791): at android.llama.cpp.LLamaAndroid$runLoop$1$1.invoke(LLamaAndroid.kt:19) E/AndroidRuntime( 9791): at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30) E/LLamaAndroid( 9791): Unhandled exception E/LLamaAndroid( 9791): java.lang.UnsatisfiedLinkError: dlopen failed: library "libllama-android.so" not found E/LLamaAndroid( 9791): at java.lang.Runtime.loadLibrary0(Runtime.java:1082) E/LLamaAndroid( 9791): at java.lang.Runtime.loadLibrary0(Runtime.java:1003) E/LLamaAndroid( 9791): at java.lang.System.loadLibrary(System.java:1661) E/LLamaAndroid( 9791): at android.llama.cpp.LLamaAndroid$runLoop$1$1.invoke(LLamaAndroid.kt:23) E/LLamaAndroid( 9791): at android.llama.cpp.LLamaAndroid$runLoop$1$1.invoke(LLamaAndroid.kt:19) E/LLamaAndroid( 9791): at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30) I/Process ( 9791): Sending signal. PID: 9791 SIG: 9 Lost connection to device.
i dunno where im messin up can you help?
My project and codes
Beta Was this translation helpful? Give feedback.
All reactions