Commit 587f602
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 <taronaeo@gmail.com>
---------
Co-authored-by: Aaron Teo <taronaeo@gmail.com>1 parent 50fd261 commit 587f602
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2345 | 2345 | | |
2346 | 2346 | | |
2347 | 2347 | | |
2348 | | - | |
| 2348 | + | |
2349 | 2349 | | |
2350 | 2350 | | |
2351 | 2351 | | |
| |||
3063 | 3063 | | |
3064 | 3064 | | |
3065 | 3065 | | |
| 3066 | + | |
3066 | 3067 | | |
3067 | | - | |
| 3068 | + | |
3068 | 3069 | | |
3069 | | - | |
| 3070 | + | |
3070 | 3071 | | |
3071 | | - | |
3072 | | - | |
| 3072 | + | |
| 3073 | + | |
3073 | 3074 | | |
3074 | 3075 | | |
3075 | 3076 | | |
| |||
0 commit comments