-
-
Notifications
You must be signed in to change notification settings - Fork 147
Feat: Migrate to unified KleidiAI build and direct internal model downloads #137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,12 +42,17 @@ android { | |
| arguments += "-DLLAMA_BUILD_COMMON=ON" | ||
| arguments += "-DLLAMA_CURL=OFF" | ||
| arguments += "-DGGML_LLAMAFILE=OFF" | ||
| arguments += "-DGGML_CPU_KLEIDIAI=ON" | ||
|
afalefesifiofo marked this conversation as resolved.
|
||
| arguments += "-DLLAMA_RUNNER_BACKEND=llama.cpp" | ||
| // (debugging) uncomment the following line to enable debug builds | ||
| // and attach hardware-assisted address sanitizer | ||
| // arguments += "-DCMAKE_BUILD_TYPE=Debug" | ||
| // arguments += listOf("-DANDROID_SANITIZE=hwaddress") | ||
| } | ||
| } | ||
| ndk { | ||
| abiFilters.add("arm64-v8a") | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will break support for armeabi-v7a devices (32-bit Android).
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I know. From my research it would affect only 7-5 % of the active devices, and that's going to shrink year by year. We can add that again for the moment tho |
||
| } | ||
| } | ||
|
|
||
| buildTypes { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes good look 👍🏻