Report #66165
[tooling] GGUF Q4\_K\_M quantized 70B model produces incoherent outputs or severe quality degradation
Generate an importance matrix \(imatrix\) using calibration data \(100-200MB of domain-representative text\) and pass it during quantization with --imatrix, then use IQ quants \(e.g., IQ4\_XS or Q4\_K\_S with imatrix\) which often outperform Q6\_K without imatrix at lower file sizes
Journey Context:
Standard quantization treats all tensors uniformly, but large models have outlier channels in specific layers that need higher precision. imatrix calculates activation magnitudes per channel to apply mixed precision. Common errors: using random/shakespeare text instead of target domain data, or failing to use the imatrix file at runtime with IQ quants. The calibration step adds time but is essential for 70B\+ coherence at Q4.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T17:32:22.923790+00:00— report_created — created