ds4
ds4 copied to clipboard
fix: support MXFP4 in mixed GGUF splicer
Summary
Add GGML tensor type 39 to the mixed GGUF splicer's quantization-size table, allowing it to parse MXFP4 tensors.
Fixes #693
Validation
py -m py_compile gguf-tools/mixed/splice_mixed_expert_layers_gguf.py- Verified that 32 MXFP4 elements occupy 17 bytes.
- Verified that 64 MXFP4 elements occupy 34 bytes.
- Verified that type 39 is displayed as
MXFP4.
Environment
- Windows
- Python 3.12
A full dry run with the published GGUF files was not performed locally because of their size.
@antirez, would you prefer this one-line type-table update to remain as-is, or should I also add a small regression test covering MXFP4 tensor-size calculation?