M2XFP4 (MXFP4v2): quantiser, gfx1201 WMMA kernels, host rows, df2 wiring, .rad packer (Import::ParoM2), stability fixes (counters-in-scratch x3, aql publish fences), kbench rows, runbook (REMAINING.md)

This commit is contained in:
hugypufy committed 2026-10-23 12:25:59 +01:00
1 parent 9eaf10da6e
commit ea0908596b
60 files changed
+4619 -193

No files matched your search

+7 -3
View File
@@ -4,11 +4,14 @@
* grid point, `gptq` feeds each column's rounding error into later columns, `awq` scales the input
* channels the activations say matter, `autoround` descends on the rounding itself and `paroquant`
* first learns a rotation of the input channels. They share the grid options, so anything added to
* the grid is available to all. Two are not over a grid: `ggml` writes llama.cpp's formats by
* llama.cpp's own searches (lq_ggml.h), and `cast` converts a weight to another float dtype.
* the grid is available to all. Three are not over a grid: `ggml` writes llama.cpp's formats by
* llama.cpp's own searches (lq_ggml.h), `cast` converts a weight to another float dtype, and
* `m2xfp4` quantises on the MXFP4 grid itself but stores a metadata plane beside it, a scheme of
* its own that it decodes (lq_m2xfp.h).
*/
#include "lq_ggml.h"
#include "lq_gptq.h"
#include "lq_m2xfp.h"
#include "lq_quant.h"
#include "lq_common.h"
#include "rad_plugin.h"
@@ -244,6 +247,7 @@ const std::vector<const RadQuantizerInfo*>& table() {
v.push_back(&autoround_info());
v.push_back(&paroquant_info());
v.push_back(&ggml_quantizer);
v.push_back(&m2xfp_info());
return v;
}();
return t;
@@ -256,7 +260,7 @@ const RadPluginInfo kInfo = {
"the built-in quantisers: round-to-nearest, GPTQ, AWQ, AutoRound and ParoQuant over any "
"integer, float or codebook grid, with grouped, blocked, two-level and shared-exponent scales "
"and a Hadamard, permutation or Givens transform; llama.cpp's legacy, K- and I-quants by its "
"own searches; and a plain float cast (spec.md §4.5)",
"own searches; M2XFP's metadata-augmented MXFP4; and a plain float cast (spec.md §4.5)",
"host"
};