HoodLLM benchmark pack for JetBrains Mellum 2.1 Instruct (12B MoE, 2.5B active): identical GGUF files, identical pinned corpus, identical llama.cpp commit — measured on Strix Halo (Vulkan), M1 Max (Metal), and RTX 5060 Ti (CUDA).
At llama.cpp commit 8e23278c7 (2026-11-27), with byte-identical files (sha256-verified across machines) and the same 400 KB pinned corpus:
| Quant | M1 Max / Metal | Strix Halo / Vulkan | RTX 5060 Ti / CUDA |
|---|---|---|---|
| Q3_K_M | 22.10 | 22.07 | 24.74 |
| Q4_K_M | 15.25 | 15.20 | 17.05 |
| Q5_K_S | 14.51 | 14.48 | 16.27 |
| Q6_K | 15.67 | 15.69 | 17.51 |
| MXFP4_MOE | 15.67 | 15.65 | 20.43 |
BLACKWELL_NATIVE_FP4=1, native FP4 compute) while scoring the same as Q6 on Metal/Vulkan.Our first Halo leg ran on a non-canonical corpus: the pipeline couldn't find a verified local copy on the Halo and silently fell back to a Gutenberg mirror that served a different text slice. The result looked like a dramatic "AMD Vulkan scores 2.8 PPL worse" backend divergence — and it even matched JetBrains' official model-card PPLs (18.02/18.74) by pure coincidence.
It was caught by a chunk-count mismatch: Halo runs processed 186 chunks of the corpus, Mac runs 197 — same model, same tokenizer, so the text itself must differ. Re-running the full Halo leg on the pinned corpus (sha256 6367505b…) erased the entire "divergence": Halo landed on top of Mac within noise. The pipeline scripts now hard-fail on any corpus hash mismatch. Lesson: pin your corpus, and log chunk counts.
FA_QUANTS = q4_0-q4_0,q8_0-q8_0,f16-f16,bf16-bf16,f8_e4m3-f8_e4m3 in the 5060 log) and different matmul rounding.llama-quantize here.| Quant | Halo pp/tg | Mac pp/tg | 5060 Ti pp/tg |
|---|---|---|---|
| Q3_K_M | 2611 / 102.7 | 1269 / 83.1 | 5957 / 207.5 |
| Q4_K_M | 2705 / 94.7 | 1349 / 89.3 | 6796 / 186.2 |
| Q5_K_S | 2631 / 88.7 | 1199 / 76.9 | 6572 / 180.7 |
| Q6_K | * | * | 5993 / 159.4 |
| MXFP4_MOE | 2961 / 88.4 | 1202 / 84.1 | 7478 / 177.4 |
(* = Q6 speeds on Metal/Vulkan still from build 12826; Q6 is a quality-skip regardless.) Decode rank order is backend-dependent on current builds (e.g. Mac decodes Q4 > Q3 while Halo has Q3 > Q4) — kernel efficiency per format differs per backend at this context length; compare within a column, not across.
v1 (scripts/toolcalls_basic.py, 20 well-specified tool prompts, temp 0, via llama-server OpenAI-compatible API with tools): 100% on every quant on all three machines.
v2 (scripts/toolcalls_adversarial.py, 18 hard prompts: distractor tool choice, parallel double-calls, arguments buried in noisy context, strict type/enum compliance, negative prompts that must NOT trigger a call, two-tool chains):
| Quant | Metal | Vulkan | CUDA |
|---|---|---|---|
| Q3_K_M | 77.8 | 77.8 | 77.8 |
| Q4_K_M | 83.3 | 83.3 | 77.8 |
| Q5_K_S | 77.8 | 77.8 | 77.8 |
| Q6_K | 77.8 | 77.8 | 77.8 |
| MXFP4_MOE | 72.2 | 66.7 | 72.2 |
chain_1 (two-tool chains) and ambig_1 (vague prompts) fail on every quant on every machine — a model-level weakness in multi-tool planning, not quant damage.false_call = model answered a conceptual question by calling a tool. This is the failure mode that breaks agent pipelines, and it appears at Q3/Q5/Q6/MXFP4 everywhere.scripts/kld/kld_eval.cpp computes per-token KL(BF16‖quant) and top-1 token agreement over the pinned corpus, compiled against the machine's own llama.cpp build. Two machine legs (101,237 tokens each; on the 5060 the BF16 reference runs on CPU due to VRAM, quant on CUDA):
| Quant | Halo/Vulkan KLD | 5060/CUDA KLD | top-1 (Vulkan / CUDA) |
|---|---|---|---|
| Q3_K_M | 0.2839 | 0.3088 | 77.7% / 78.3% |
| Q4_K_M | 0.0803 | 0.0979 | 87.1% / 86.7% |
| Q5_K_S | 0.0352 | 0.0470 | 91.4% / 90.8% |
| Q6_K | 0.0149 | 0.0188 | 94.4% / 94.7% |
| MXFP4_MOE | 0.1231 | 0.3082 | 83.9% / 76.7% |
CUDA KLDs run uniformly higher than Vulkan's on identical files — same direction as the +1.8 PPL divergence, two independent metrics agreeing. The MXFP4 result is the clincher: on CUDA its distribution drifts as far from the reference as Q3_K_M's does (0.308 vs 0.309) with the worst top-1 agreement in either table — direct mechanistic evidence for the Blackwell FP4 PPL blow-up. (Caveat: the 5060's CPU-run reference may add a small uniform offset; orderings and the MXFP4 result are unaffected.) Quants are plain llama-quantize without imatrix — known to sit ~2× higher on KLD than imatrix quants.
Fidelity ≠ quality. KLD ranks strictly by bits-per-weight (Q6 < Q5 < Q4 < MXFP4 < Q3) — yet the PPL ladder inverts it (Q5 beats Q4; Q6 is worse than Q4 downstream) and the tool-call ladder ranks Q4 best. The most "faithful" quant to the reference is not the best model on tasks: quantization noise in Q4/Q5 appears to act as regularization on this corpus, which fidelity metrics structurally cannot see. This matches 2026's published findings that KLD collapses as a predictor near the baseline — and our data shows it even inverts against downstream scores.
corpus/eval.txt, 400 KB pinned prose corpus, sha256 6367505b053f0e0c229196dd6423c6fe6f4ce1429b394acbe73d7ea8c722050c; every pipeline script hard-fails on hash mismatch8e23278c7 on all three machines (verified via --version / git log)llama-perplexity -f corpus/eval.txt --chunks 512 -ngl 99llama-bench -p 512 -n 128 -ngl 99/v1/chat/completions with pinned tool schemas, temperature 0results/perplexity_speed_matrix.tsv — full 3-machine matrix (PPL + prompt/gen speed)results/kld_strix_halo.tsv, results/kld_rtx_5060ti.tsv — KLD/top-1 fidelity results per machineresults/toolcalls_basic.tsv, results/toolcalls_adversarial.tsv — tool-call results with per-case detailscripts/run_strix_halo.sh — full Halo pipeline (convert → quantize → bench → ppl → MTP bonus)scripts/run_m1_max.sh — Metal eval pipelinescripts/run_rtx_5060ti.ps1 — Windows/CUDA eval pipelinescripts/toolcalls_basic.py, scripts/toolcalls_adversarial.py — tool-call evals (machine-independent, stdlib-only Python)scripts/kld/kld_eval.cpp + scripts/kld/run_strix_halo.sh, run_m1_max.sh, run_rtx_5060ti.ps1 — quantization-fidelity eval: per-token KL divergence vs the BF16 reference and top-1 agreement, compiled against each machine's own llama.cpp build so it measures the same backend as the benchmarkcorpus/eval.txt — pinned eval corpusbash scripts/run_strix_halo.sh /path/to/workdir # Strix Halo / Linux
bash scripts/run_m1_max.sh # Apple Silicon
powershell -File scripts/run_rtx_5060ti.ps1 # Windows / CUDA
python3 scripts/toolcalls_adversarial.py --bin <llama.cpp>/build/bin --models-dir models \
--prefix Mellum2.1-Instruct --quants Q3_K_M,Q4_K_M,Q5_K_S,Q6_K,MXFP4_MOE
The scripts run from a self-contained workdir (models/, tools/, llama.cpp/, logs — nothing outside it). Copy corpus/eval.txt into <workdir>/tools/eval.txt first; every script refuses to run unless its sha256 matches the pinned 6367505b… hash. The KLD wrappers in scripts/kld/ follow the same layout.
Apache 2.0, same as the base model. The full Apache 2.0 text is included, matching the base model's declared license.
JetBrains/Mellum2.1-12B-A2.5B-Instruct