bf16 and imatrix?

#4
by minyor25 - opened

Hello, thank you for your great work, Q3 quant works good for me in 48Gb of vram.
But I would love to play with it and create couple of alternative mixed precision quants myself, can you pls share 16bit model and imatrix?
Thanks

Glad the Q3 is working on 48 GB.

There's no bf16 β€” it never existed here. The prune is a binary copy: surviving expert tensors get lifted straight out of Unsloth's already-quantized GGUF, the rest are dropped, zero requantization. No fp16 checkpoint is ever produced on my side. The imatrix I can't share either, it's built on private traffic.

But the thing you actually want is already in the repo: manifests/seleccion_mass_K320.json β€” the per-layer kept-expert list ({"<layer>": [ids...]}, stock ids 0-511). That's the entire prune. Apply it to any Unsloth tier and you get that tier at K=320, which is exactly how the Q2 and Q3 here were made: same manifest, different source quant. An IQ4 at K=320 costs you a file copy, not a quantization run.

For genuinely mixed per-tensor precision you need the real weights, and those are public: Qwen's safetensors -> convert_hf_to_gguf.py -> llama-quantize with your own imatrix and --tensor-type overrides, then apply the manifest. It's a binary copy, so either order composes.

Worth knowing before you start, since "imatrix" is doing two different jobs in this repo: mine only ranks experts for the REAP selection and never touches the bits β€” the bits are Unsloth's, untouched. So you don't want mine anyway, you want one calibrated on the traffic you serve. Recipe is in #5; changing only the corpus was worth +5.5 HumanEval points at identical everything else.

If you build something good, post it here.

Thank you for the explanation, I am still very new to all this reap stuff :)
Will definitely try to play with the manifest.
Just curious, is it possible to similarly reap the unsloth's imatrix file?

Hey, was experimenting with the reaping stuff, I think I managed to reproduce your pruning technique, created 2 scripts one for model and another for imatrix pruning.
https://github.com/minyor/ymq-compiler/blob/main/ymq_reap_gguf.py
https://github.com/minyor/ymq-compiler/blob/main/ymq_reap_imatrix_gguf.py

Reaped base Qwen3.8 Flash into a bf16, then quantized it with my YMQ Mixed Precision quantization script.
Expert Gradient: Q6_K βž” IQ4_NL βž” IQ3_XXS βž” IQ2_XS (floor) Β· Armor: Q8_0 / Q5_K
The size turned out to be about ~2Gb smaller so I can comfortably run this in 48Gb of vram with --spec-draft-n-max 2 and mmproj
If you curios, you can try it here:
https://huggingface.co/zerodigest/Qwen3.8-Flash-Next-REAP-320-YMQ-GGUF/blob/main/Qwen3.8-Flash-Next-REAP-320-YMQ-M-TI.gguf

Sign up or log in to comment