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
I downloaded the model from HF and the app crashes when I tried to start it from AS. I think the app was able to find the model and prompt file, but it still crashes.
No idea what's going on.
2023-07-04 11:46:20.935 6202-6202 System.out com.sx.llama.jni I /storage/emulated/0/Android/data/com.sx.llama.jni/ggml-vic7b-q5_0.bin
2023-07-04 11:46:20.980 6202-6202 llama-io-prompt com.sx.llama.jni I 1
2023-07-04 11:46:20.980 6202-6202 llama-io-prompt com.sx.llama.jni I 1
2023-07-04 11:46:20.980 6202-6202 libc com.sx.llama.jni A Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x14c0 in tid 6202 (om.sx.llama.jni), pid 6202 (om.sx.llama.jni)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A Cmdline: com.sx.llama.jni
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A pid: 6202, tid: 6202, name: om.sx.llama.jni >>> com.sx.llama.jni <<<
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A #00 pc 00000000000e6c48 /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A #1 pc 00000000000e66b8 /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A #2 pc 0000000000106a08 /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (std::__ndk1::__hash_const_iterator<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, int>, void*>> std::__ndk1::__hash_table<std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, int>, std::__ndk1::__unordered_map_hasher<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, int>, std::__ndk1::hash<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > >, true>, std::__ndk1::__unordered_map_equal<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, int>, std::__ndk1::equal_to<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > >, true>, std::__ndk1::allocator<std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, int> > >::find<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > >(std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&) const+72) (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#3 pc 00000000001036ac /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#5 pc 000000000010295c /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (llama_tokenizer::tokenize(std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&, std::__ndk1::vector<int, std::__ndk1::allocator >&)+380) (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#6 pc 00000000000e0c58 /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#7 pc 00000000000e0a24 /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (llama_tokenize+100) (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#8 pc 00000000000bdbe0 /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (llama_tokenize(llama_context, std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&, bool)+160) (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#9 pc 00000000000cee0c /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (Model::model_run(char const*)+684) (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#10 pc 00000000000cea9c /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (Java_com_sx_llama_jni_MainActivity_runIOLLModel+124) (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#13 pc 0000000000000608 [anon:dalvik-classes4.dex extracted in memory from /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!classes4.dex] (com.sx.llama.jni.MainActivity.llamaIOPrompt+68)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#15 pc 00000000000007c6 [anon:dalvik-classes4.dex extracted in memory from /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!classes4.dex] (com.sx.llama.jni.MainActivity.onCreate+114)
---------------------------- PROCESS ENDED (6202) for package com.sx.llama.jni ----------------------------
The text was updated successfully, but these errors were encountered:
I downloaded the model from HF and the app crashes when I tried to start it from AS. I think the app was able to find the model and prompt file, but it still crashes.
No idea what's going on.
2023-07-04 11:46:20.935 6202-6202 System.out com.sx.llama.jni I /storage/emulated/0/Android/data/com.sx.llama.jni/ggml-vic7b-q5_0.bin
2023-07-04 11:46:20.980 6202-6202 llama-io-prompt com.sx.llama.jni I 1
2023-07-04 11:46:20.980 6202-6202 llama-io-prompt com.sx.llama.jni I 1
2023-07-04 11:46:20.980 6202-6202 libc com.sx.llama.jni A Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x14c0 in tid 6202 (om.sx.llama.jni), pid 6202 (om.sx.llama.jni)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A Cmdline: com.sx.llama.jni
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A pid: 6202, tid: 6202, name: om.sx.llama.jni >>> com.sx.llama.jni <<<
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A #00 pc 00000000000e6c48 /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A #1 pc 00000000000e66b8 /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A #2 pc 0000000000106a08 /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (std::__ndk1::__hash_const_iterator<std::__ndk1::__hash_node<std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, int>, void*>> std::__ndk1::__hash_table<std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, int>, std::__ndk1::__unordered_map_hasher<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, int>, std::__ndk1::hash<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > >, true>, std::__ndk1::__unordered_map_equal<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, int>, std::__ndk1::equal_to<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > >, true>, std::__ndk1::allocator<std::__ndk1::__hash_value_type<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator >, int> > >::find<std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > >(std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&) const+72) (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#3 pc 00000000001036ac /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#5 pc 000000000010295c /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (llama_tokenizer::tokenize(std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&, std::__ndk1::vector<int, std::__ndk1::allocator >&)+380) (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#6 pc 00000000000e0c58 /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#7 pc 00000000000e0a24 /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (llama_tokenize+100) (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#8 pc 00000000000bdbe0 /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (llama_tokenize(llama_context, std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&, bool)+160) (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#9 pc 00000000000cee0c /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (Model::model_run(char const*)+684) (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#10 pc 00000000000cea9c /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!libio-prompt.so (Java_com_sx_llama_jni_MainActivity_runIOLLModel+124) (BuildId: e44f4b7907256591989eb650f300d9c6a82a090f)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#13 pc 0000000000000608 [anon:dalvik-classes4.dex extracted in memory from /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!classes4.dex] (com.sx.llama.jni.MainActivity.llamaIOPrompt+68)
2023-07-04 11:46:21.187 6230-6230 DEBUG pid-6230 A ggerganov#15 pc 00000000000007c6 [anon:dalvik-classes4.dex extracted in memory from /data/app/~~3aci2F4xex9WoO_5fZAIPg==/com.sx.llama.jni-PWfYwotZuuwxDX8utIbRcw==/base.apk!classes4.dex] (com.sx.llama.jni.MainActivity.onCreate+114)
---------------------------- PROCESS ENDED (6202) for package com.sx.llama.jni ----------------------------
The text was updated successfully, but these errors were encountered: