Files
Iwan Kawrakow c6cfbc79a9 Better gemm strategy when nth > nhead
It gives a ~10% PP performance boost for DeepSeek-Lite with 32 threads
(with or without MLA).
Before this commit, when nth > nhead heads were processed
sequentially with all nth threads participating in each
matrix multiplication. Now we ind the gcd of nhead and
nth and split threads into nth/gcd groups, each group
processing nhead/gcd heads.
2025-02-09 13:03:18 +02:00
..
2024-07-27 07:55:01 +02:00
2025-02-08 09:48:59 +02:00
2025-02-09 13:03:18 +02:00
2024-07-27 07:55:01 +02:00
2024-10-04 14:43:26 +03:00