ggml-cpu: arm64: q5_K repack gemm and gemv (and generic) implementations (dotprod)#19356
Open
Alcpz wants to merge 11 commits intoggml-org:masterfrom
Open
ggml-cpu: arm64: q5_K repack gemm and gemv (and generic) implementations (dotprod)#19356Alcpz wants to merge 11 commits intoggml-org:masterfrom
Alcpz wants to merge 11 commits intoggml-org:masterfrom
Conversation
Alcpz
commented
Feb 5, 2026
Collaborator
Author
7d0ad88 to
9ee2115
Compare
5e197d3 to
3bec3af
Compare
Collaborator
Author
|
@ggerganov comments addressed and rebased on top of master, let me know if something else is preferred |
taimur-10x
reviewed
Feb 14, 2026
|
|
||
| float sumf[8]; | ||
| float sum_minf[8]; | ||
| uint32_t utmp[32]; |
Contributor
There was a problem hiding this comment.
@Alcpz, these should use the template parameter 'N'.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR extends #18860 for DOTPROD devices.
PR contents:
Same methodology for testing -> llama-cli output, outputs of gemm and gemvs and perplexity to double check prompt processing.
Performance
-mcpu=cortex-a76+dotprod+noi8mm+nosve)Perplexity
llama-cli
llama-cli using repack
build : b7852-171ba67cf
model : LFM2-1.2B-Q5_K_M.gguf
modalities : text
available commands:
/exit or Ctrl+C stop or exit
/regen regenerate the last response
/clear clear the chat history
/read add a text file
The capital of Turkey is Ankara. It was officially chosen as the capital in 1920, replacing Istanbul, which had been Turkey's capital for centuries. Ankara is located in the central Anatolian region of Turkey and is known for its historical significance, modern architecture, and as the country's political and administrative center.
[ Prompt: 137.8 t/s | Generation: 53.3 t/s ]
No, you cannot visit the Eiffel Tower in Ankara. The Eiffel Tower is located in Paris, France.
If you’re interested in visiting Turkey and its landmarks, Ankara has several notable sites! For example, you could explore:
For specific Eiffel Tower-related plans (e.g., guided tours or events), check with Turkish tour operators or international travel agencies that may connect Ankara to European destinations. Safe travels! 😊
[ Prompt: 132.8 t/s | Generation: 55.3 t/s ]
llama-cli using generic
build : b7852-171ba67cf
model : LFM2-1.2B-Q5_K_M.gguf
modalities : text
available commands:
/exit or Ctrl+C stop or exit
/regen regenerate the last response
/clear clear the chat history
/read add a text file
The capital of Turkey is Ankara. It has been the capital of Turkey since 1923, when the nation's capital was moved from Istanbul following Mustafa Kemal Atatürk's secularization and modernization reforms.
[ Prompt: 2.5 t/s | Generation: 13.1 t/s ]
No, you cannot visit the Eiffel Tower in Ankara. Here's why:
If you’re interested in Turkey’s own iconic structures, the city of Istanbul (with its historic Eiffel Tower-inspired landmarks like the Galata Tower) is a better place to visit. For Ankara, focus on its modern administrative, cultural, or natural attractions (e.g., Ankara Atatürk University, the National Museum, or natural parks like the Şehitli Lake area).
Enjoy exploring Turkey’s unique sites instead! 🇹🇷
[ Prompt: 3.2 t/s | Generation: 11.2 t/s ]