Views
No views yet
Q8_K_XL GGUF of coder3101/gemma-4-31B-it-heretic, built for llama.cpp. Includes the full BF16 vision projector so the model retains image understanding.google/gemma-4-31B-it that suppresses refusal behavior while preserving instruction-following. The abliteration survives quantization cleanly — post-quant tests show the model still answers directly without hedging.| File | Size | Notes |
|---|---|---|
gemma-4-31B-it-heretic-Q8_K_XL.gguf | ~33 GB | Language model weights (Q8_0 base + selective F16) |
mmproj-BF16.gguf | ~1.2 GB | Vision projector, full BF16 |
Q8_0 with the token embedding and output tensors also at Q8_0. Six transformer blocks identified as activation-outlier hotspots are escalated to F16 on their attention Q/K and full MLP (gate / up / down):blk.{1,52,53,57,58,59}.attn_q.weight = f16
blk.{1,52,53,57,58,59}.attn_k.weight = f16
blk.{1,52,53,57,58,59}.ffn_gate.weight = f16
blk.{1,52,53,57,58,59}.ffn_up.weight = f16
blk.{1,52,53,57,58,59}.ffn_down.weight = f16UD-Q8_K_XL variants: protect the first transformer block and the last few blocks where activation magnitudes blow up, leave the rest at Q8_0 where the K-quant superblock structure handles things just fine.bartowski/c4_datasets_calibration_data calibration_datav3.txt — general text, ~70K tokenseaddario/imatrix-calibration tools_micro.parquet — tool-calling patterns, ~400K tokenseaddario/imatrix-calibration code_micro.parquet — code instructions, ~150K tokens--ctx 2048 --batch 512, full GPU offload, on 4× A100 80GB.down_proj even with aggressive dampening, falls back to RTN, and produces visible token-level corruption in code output (background-color: #3-, dropped articles, etc.) at every bit width tested (W4A16 sym/asym, W8A16, mixed). llama.cpp's K-quant superblock-scale format plus per-channel imatrix weighting handles the outliers correctly. Validated with code generation, reasoning, and tool-calling tests post-quant.1llama-server \
2 -m gemma-4-31B-it-heretic-Q8_K_XL.gguf \
3 --mmproj mmproj-BF16.gguf \
4 -ngl 999 \
5 -c 262144 \
6 --flash-attn on \
7 --cache-type-k q8_0 \
8 --cache-type-v q8_0 \
9 --jinja \
10 --chat-template-kwargs '{"enable_thinking":true}' \
11 --temp 1.0 --top-p 0.95 --top-k 64 \
12 --host 0.0.0.0 --port 8081Q8_K_XL label follows Unsloth's naming convention for "Q8 base with selected layers escalated to higher precision" — the actual ggml type of the base tensors is q8_0.google/gemma-4-31B-it — base modelcoder3101/gemma-4-31B-it-heretic — abliteration