-
Notifications
You must be signed in to change notification settings - Fork 404
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
Feature/add android support #1130
base: master
Are you sure you want to change the base?
Conversation
cc: @martindevans |
Is it CPU inference only or can we have GPU acceleration as well? |
It's only CPU in this PR. As far as I know, Mobile GPU inference is still quite slow at the moment. Saw it was even slower than CPU inference in some cases. Besides, it takes a bit of effort building CLBlast from source and trying to get that to work with the Android builds so I didn't consider it. |
<file src="runtimes/deps/osx-arm64/libllama.dylib" target="runtimes\osx-arm64\native\libllama.dylib" /> | ||
<file src="runtimes/deps/osx-arm64/libllava_shared.dylib" target="runtimes\osx-arm64\native\libllava_shared.dylib" /> | ||
|
||
<file src="runtimes/deps/android-arm64-v8a/libllama.so" target="runtimes\android-arm64-v8a\native\libllama.so" /> |
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.
Can these be split into a separate Backend package for Android (e.g. Backend.CPU.Android
)?
I've given this a deeper look, overall it looks good! Left to resolve:
|
Great, thanks for the review. Will follow up with the requested changes later today. |
Description of Changes
.nuspec
file.targets
file to include new Android additionsPlease let me know if any updates are required.