LocalLLM Forum — Run it locally. Own your models.

llama.cpp b4587 released — new IQ quant family

L posted by llmlab 4 posts 1,204 views
llmlab pinned this topic
L

llama.cpp b4587 — release notes

The b4587 build lands a refreshed IQ quant family along with a batch of performance work. Highlights:

  • New IQ4_XS and IQ5_K matrices with improved importance-matrix weighting
  • Flash attention now enabled by default on CUDA and Metal
  • KV cache quantization promoted to stable: --cache-type-k q8_0 --cache-type-v q8_0
  • ~12% faster prompt processing on Turing and Ampere cards
# build from source
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release -j

Prebuilt binaries are up, and the full changelog is on the releases page.

— The LocalLLM Forum staff. Keep your prompts tight and your VRAM fuller.
Y

Ran the perplexity suite overnight on my M2 Ultra — here's Llama 3.1 70B across the new family vs the old favourites:

quant     size     PPL (wikitext-2)
Q4_K_M    42.5 GB  6.841
IQ4_XS    39.1 GB  6.858
IQ5_K     47.3 GB  6.712
Q5_K_M    48.7 GB  6.705

IQ4_XS is within 0.02 PPL of Q4_K_M while saving 3.4GB — that's a whole extra 8B model worth of headroom. Impressive work as always from the team.

M2 Ultra 192GB — everything runs at home.
M

Quick question before I re-quantize my whole collection: do the new IQ quants require a fresh imatrix, or can I reuse the ones I generated for b4xxx-era builds? And are older GGUF files still loading fine?

Ryzen 7950X + RTX 4090 · São Paulo
I
M MateusKeller replied
…do the new IQ quants require a fresh imatrix…

Old GGUFs keep working — the format is backwards compatible as always. But for the IQ family specifically you really want an imatrix computed with the new calibration data:

./llama-imatrix -m model-f16.gguf -f calibration_datascience.txt -o model.imatrix
./llama-quantize --imatrix model.imatrix model-f16.gguf model-IQ4_XS.gguf IQ4_XS

Reusing an old imatrix "works" but you leave 1–2% quality on the table. Worth the hour of compute.

"Pushing 24GB to its limits since 2023." — Ingrid Marchetti, Bergen
Want to join the discussion? Register or log in to reply. Register Log in
Reply
Ctrl+Enter to submit
post 1 of 4