Skip to content
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

feat(android): enable runtime repacking for Q4_0 quantization on aarch64 #105

Merged

Conversation

a-ghorbani
Copy link
Contributor

This PR adds -DLM_GGML_USE_CPU_AARCH64 compile definition to Android CMake build, which in turn enables runtime tensor repacking optimization for Q4_0 quantization on ARM64.

The screenshot from PocketPal's benchmarking before/after setting -DLM_GGML_USE_CPU_AARCH64:

Screenshot 2025-01-06 at 10 17 57

@jhen0409 jhen0409 merged commit 758157b into mybigday:main Jan 7, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants