Archived
ParoQuant int5/int4: the review fixes of PR 1 carried to the 5-/4-bit path
* givens_rotate and givens_quant_act_i8g take the same checked `pairs` relayout as givens_quant_act_fp8. * gemm_w4a8i8/w5a8i8_tiled: one re-tile slab for every part, as gemm_mxfp4a8_tiled (they share its scratch hook, which is one slab now). * LinearFP8::decl_gemm_q: the one gemm_nt_q declaration, pb1/pb2 only with parts, for the MXFP4, the skinny 5-/4-bit and the int8 prefill GEMMs.
This commit is contained in:
1 parent
6091039926
commit
3491aca6fe
3 files changed
+33
-44
No files matched your search
+6
-4
@@ -5254,8 +5254,9 @@ static const RadKernelInfo kKernels[] = {
|
||||
"scales",
|
||||
RAD_DOMAIN_DEVICE, R4D_PRIO_ONLY,
|
||||
ROW(cHadQuantActFp8), NOTUNE,
|
||||
nullptr, nullptr, r4d_rad_givens_quant_act_i8g, nullptr, nullptr, nullptr,
|
||||
nullptr, nullptr, nullptr, r4d_rad_givens_quant_act_i8g_describe },
|
||||
nullptr, nullptr, r4d_rad_givens_quant_act_i8g, nullptr, r4d_rad_layout_givens_pairs,
|
||||
r4d_rad_relayout_givens_pairs, nullptr, r4d_rad_unrelayout_givens_pairs, nullptr,
|
||||
r4d_rad_givens_quant_act_i8g_describe },
|
||||
|
||||
{ "givens_rotate", "givens_rotate", "quant",
|
||||
"the channel scale and ParoQuant's Givens rotations, once for each rotated part, to f16",
|
||||
@@ -5264,8 +5265,9 @@ static const RadKernelInfo kKernels[] = {
|
||||
"f32 channel scales",
|
||||
RAD_DOMAIN_DEVICE, R4D_PRIO_ONLY,
|
||||
ROW(cHadQuantActFp8), NOTUNE,
|
||||
nullptr, nullptr, r4d_rad_givens_rotate, nullptr, nullptr, nullptr,
|
||||
nullptr, nullptr, nullptr, r4d_rad_givens_rotate_describe },
|
||||
nullptr, nullptr, r4d_rad_givens_rotate, nullptr, r4d_rad_layout_givens_pairs,
|
||||
r4d_rad_relayout_givens_pairs, nullptr, r4d_rad_unrelayout_givens_pairs, nullptr,
|
||||
r4d_rad_givens_rotate_describe },
|
||||
|
||||
{ "quant_act_i8g", "quant_act_i8g", "quant",
|
||||
"per-(row, 128-column) symmetric int8 quantisation of a bf16 activation",
|
||||
|
||||
Reference in new issue
Block a user