Archived
Rotated Qwen3.8-27B checkpoints: ParoQuant MXFP4, int5 bit-plane and z-lab's int4 import (the givens
transform with parts, per-row scales, zero points), the w5a16/w4a16_asym decode GEMMs, the
w4a8i8/w5a8i8 prefill band, the givens_rotate kernel, and the dense per-group rotation
(givens_dense_quant: one 128x128 f16 matrix a part and group on the matrix cores) for the quantising
rotation in prefill. gemm_nt_q gains part bounds (pb1/pb2), an op-schema change an out-of-tree
kernel library has to follow.
Fixes on top: the dense matrices are a container table ("t.dense") that rad-convert composes in f64
from the pairs and angles, and the loader only moves its bits. A container converted before this is
refused at load, naming the re-convert (--reuse copies every unchanged weight). A gemm_nt_q row that
does not read part bounds refuses them instead of ignoring them. libavx implements givens_rotate and
givens_dense_quant.
This commit is contained in:
commit
f6a9467cb5
40 files changed
+4206
-143
No files matched your search
@@ -106,6 +106,8 @@ int ref_quant_act_i8 (const RadArgs*, RadStream);
|
||||
int ref_had_quant_act_i8 (const RadArgs*, RadStream);
|
||||
int ref_quant_act_fp8 (const RadArgs*, RadStream);
|
||||
int ref_had_quant_act_fp8 (const RadArgs*, RadStream);
|
||||
int ref_givens_dense_quant(const RadArgs*, RadStream);
|
||||
int ref_givens_rotate(const RadArgs*, RadStream);
|
||||
int ref_rmsnorm_quant_fp8 (const RadArgs*, RadStream);
|
||||
int ref_gated_quant_fp8 (const RadArgs*, RadStream);
|
||||
int ref_gemm_nt_q_gated (const RadArgs*, RadStream);
|
||||
@@ -240,6 +242,8 @@ REF_SHAPE_FN(ref_quant_act_i8);
|
||||
REF_SHAPE_FN(ref_had_quant_act_i8);
|
||||
REF_SHAPE_FN(ref_quant_act_fp8);
|
||||
REF_SHAPE_FN(ref_had_quant_act_fp8);
|
||||
REF_SHAPE_FN(ref_givens_dense_quant);
|
||||
REF_SHAPE_FN(ref_givens_rotate);
|
||||
REF_SHAPE_FN(ref_rmsnorm_quant_fp8);
|
||||
REF_SHAPE_FN(ref_gated_quant_fp8);
|
||||
REF_SHAPE_FN(ref_gemm_nt_q_gated);
|
||||
|
||||
Reference in new issue
Block a user