-
Notifications
You must be signed in to change notification settings - Fork 13.8k
llama.android : Rewrite Android binding (w/o cpu_features dep) #17413
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
Open
naco-siren
wants to merge
274
commits into
ggml-org:master
Choose a base branch
from
naco-siren:ai-chat-binding-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,586
−1,267
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…k navigation inside conversation and benchmark
… enable alert dialog on back navigation inside conversation and benchmark
…ens in generation
…the basic sample app from https://github.com/hanyin-arm/Arm-AI-Chat-Sample Note: the full Google Play version of AI Chat app will be open will be open sourced in another repo soon, therefore didn't go through the trouble of pruning the history using `git filter-repo` here.
…ifferent build types
…shots; add my GitHub ID to maintainer list
Author
|
just merged and resolved conflicts with changes introduced 3 days ago from cb44fc8 |
Author
|
Not sure why one test case in
|
66b92ef to
21d1876
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
android
Issues specific to Android
documentation
Improvements or additions to documentation
examples
ggml
changes relating to the ggml tensor library for machine learning
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
a. enable Aarch64 acceleration up to
SME2b. enable x86_64 acceleratiion up to
AMXc. support both
AndroidandChromeOSa. automatic message role formatting
b. system prompt injection
c. context overflow handling
d. batch decoding
a. engine states
b. new API (such as system prompt)
a. parse GGUF metadata
Architectural diagram

Performance comparison
Against Google AI Edge Gallery on the same Pixel 9:
512345275-355b5941-65c2-4088-8622-44979954caef.mp4
Production app

The full-featured production app "Arm AI Chat" is published on Google Play, it's built with the same binding and works on both Android and ChromeOS: