gguf_convert_endian.py: skip MXFP4 data#17523
Conversation
|
Hmmm, won't converting |
|
|
@AlekseiNikiforovIBM Mind having a look at |
|
I can take a look at these scripts. Are there any examples on how to use |
A very simple test would just be |
* gguf_convert_endian.py: skip MXFP4 data * Use gguf.constants.GGML_QUANT_SIZES to determine block sizes
* gguf_convert_endian.py: skip MXFP4 data * Use gguf.constants.GGML_QUANT_SIZES to determine block sizes
MXFP4 data only uses 1-byte data, there's nothing to byteswap.
Also use gguf.constants.GGML_QUANT_SIZES to determine block sizes. Don't duplicate block size constants.