]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml-cpu: support K tails in power10 Q8/Q4 MMA matmul (llama/24753)
authorshalinib-ibm <redacted>
Fri, 19 Jun 2026 05:55:38 +0000 (11:25 +0530)
committerGeorgi Gerganov <redacted>
Fri, 19 Jun 2026 09:53:43 +0000 (12:53 +0300)
commit587f602ea1cc081b83de5c23f70ccf7a170d1392
treeb9432b2b324ed8bbee53b778cc92afe74c255299
parent50fd261d0d2e393a9f524f70eb3bdf3625227ca3
ggml-cpu: support K tails in power10 Q8/Q4 MMA matmul (llama/24753)

* ggml-cpu: support K tails in Power10 MMA Q8/Q4 matmul

This patch removes the requirement that K be divisible by kc in the tinyBlas_Q0_PPC tiled matmul path. Process the final K panel using its actual depth and pass the reduced panel size through packing and kernel execution.  This allows more workloads to use the MMA kernel and reduces fallback to mnpack.

* Apply suggestion from @taronaeo

Co-authored-by: Aaron Teo <redacted>
---------

Co-authored-by: Aaron Teo <redacted>
ggml/src/ggml-cpu/llamafile/sgemm.cpp