fp8 prefill GEMM: the last band's upper waves leave when their rows lie past M

This commit is contained in:
Brandon Bertelsen committed 2026-10-28 09:51:08 -04:00
1 parent 6a192ff0d7
commit f9fdc7b57f
2 files changed
+10 -1

No files matched your search

+5 -1
View File
@@ -29917,7 +29917,11 @@ static void device_phase(const Plugin& pl) {
fp8_gemm_case(pl, "gemm_fp8a16_nt_m1", "fp8a16", 1, N, K, 0, &tp);
fp8_gemm_case(pl, "gemm_fp8a8_nt_m16", "fp8a8", 8, N, K, 1);
fp8_gemm_case(pl, "gemm_fp8a8_nt_m16", "fp8a8", 16, N, K, 1);
fp8_gemm_case(pl, "gemm_fp8a8_tiled", "fp8a8", 256, 256, K, 1);
/* The last 128-row band at every kind of tail: one band with its upper four waves gone
* (1, 36, 64), one band with them staying (65, 127), two bands with each (129, 200), and
* whole bands (256). */
for (const int64_t m : { 1, 36, 64, 65, 127, 129, 200, 256 })
fp8_gemm_case(pl, "gemm_fp8a8_tiled", "fp8a8", m, 256, K, 1);
}
/* --- the fp8 activation quantiser and the device sampler --- */