Build project on Magic Leap 2 (x86-64 Android Device) #8770
Unanswered
XinyuGroceryStore
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to build llama.cpp on my Magic Leap.

I can build ggml and run ggml samples on my magic leap with following the instructions Compiling for Android on GGML git web .
Now I want to do the same thing with llama.cpp, and I went the same procedures but it didn't work. I guess I may built wrong. My commands are as follows.
set NDK = /path/to/AppData\Local\Android\Sdk\ndk\26.2.11394342
cmake -DCMAKE_TOOLCHAIN_FILE=%NDK%/build/cmake/android.toolchain.cmake -DANDROID_ABI=x86_64 -DANDROID_PLATFORM=android-23 -G "Ninja" ..
ninja
It built succeeded but didn't work with command
./llama-cpp/bin/llama-cli -m /models/capybarahermes-2.5-mistral-7b.Q3_K_M.gguf -p "I love hotpot"
The result is :
Beta Was this translation helpful? Give feedback.
All reactions