Skip to content

fix: support MXFP4 in mixed GGUF splicer - #703

Open
Berserk-hub150 wants to merge 1 commit into
antirez:mainfrom
Berserk-hub150:fix/mxfp4-splicer
Open

fix: support MXFP4 in mixed GGUF splicer#703
Berserk-hub150 wants to merge 1 commit into
antirez:mainfrom
Berserk-hub150:fix/mxfp4-splicer

Conversation

@Berserk-hub150

Copy link
Copy Markdown

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.

@Berserk-hub150

Copy link
Copy Markdown
Author

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gguf-tools splicer cannot read the MXFP4 GGUF this repo publishes (unsupported GGML tensor type 39)

1 participant