Imatrix ("i1") quantizations of kusuriya-labs/Qwen3.8-13.5B,
a ~13.5 B derivative of Qwen/Qwen3.8-27B.
The importance matrices used to build these quants are included in this repo, together with the exact corpus and commands that produced them. Upstream ships only f16 and q4_0, and an importance matrix is model-specific and cannot be transferred from another model — so this is the part that lets you build your own quant at any bpw without repeating the calibration pass.
| file | notes |
|---|---|
Qwen3.8-13.5B-i1-IQ2_XXS.gguf |
smallest; aggressive for a 13.5 B model — see caveats |
Qwen3.8-13.5B-i1-IQ2_M.gguf |
|
Qwen3.8-13.5B-i1-IQ3_XXS.gguf |
|
Qwen3.8-13.5B-i1-IQ3_M.gguf |
recommended for most users |
Qwen3.8-13.5B-i1-IQ4_XS.gguf |
|
imatrix/Qwen3.8-13.5B-i1-imatrix.gguf |
importance matrix, GGUF format (13.7 MB) |
The matrix is stored in GGUF format, which is what current llama-imatrix writes by default and
what llama-quantize --imatrix reads directly.
Perplexity measured with llama-perplexity, identical settings for every row including the
reference, on a corpus that is disjoint from the calibration corpus (see below).
-c 512 --chunks 64 -fa 1, single sequence| quant | size | effective bpw | PPL | vs f16 |
|---|---|---|---|---|
| f16 (reference) | 29.45 GB | 16.00 | 8.1428 | — |
| IQ4_XS | 7.83 GiB | 4.58 | 8.2248 | +1.01% |
| IQ3_M | 6.60 GiB | 3.86 | 8.5144 | +4.56% |
| IQ3_XXS | 5.88 GiB | 3.44 | 8.6554 | +6.30% |
| IQ2_M | 5.33 GiB | 3.11 | 9.1376 | +12.22% |
| IQ2_XXS | 4.53 GiB | 2.65 | 10.5183 | +29.17% |
Effective bits-per-weight is computed from the actual file size against 14.7 B parameters, so it is higher than the nominal type (IQ2_XXS is nominally 2.06 bpw). The difference is the embedding and output tensors, which are held at higher precision and are a large share of this model because its vocabulary is 248,320 tokens.
The ranking is monotonic in size across the whole range, which is what a correctly built quant family should look like.
Rows are only meaningful relative to the 8.1428 reference. Numbers measured on a different corpus, chunk count or context length are not comparable and should not be mixed into this table.
On reading these numbers. IQ4_XS at +1.01% is within the reference's own sampling interval at 64 chunks, so the honest statement is that IQ4_XS is indistinguishable from f16 at this sample size, not that it is 1% worse. IQ3_M's +4.56% and IQ3_XXS's +6.30% are clearly separated. IQ2_XXS at +29.17% is a real and large degradation.
Read the values as a ranking with an uncertainty. 64 chunks is a reasonable but not large sample; differences of a few tenths of a percentage point should not be treated as ordering. Row-level interpretation is discussed under caveats.
Fully reproducible, and pinned so that anyone can re-derive the same files.
toolchain: official llama.cpp nightly b12359, CUDA 12.8, x64
(llama-b12359-bin-ubuntu-cuda-12.8-x64 plus cudart-llama-b12359-bin-ubuntu-cuda-12.8-x64),
on Ubuntu 24.04
source: Qwen3.8-13.5B-f16.gguf. Every quant here is made from f16, never from the
upstream q4_0, so there is no double quantization
importance matrix: llama-imatrix at -c 512 --chunks 512 (491 full 512-token windows were
available and consumed), computed from the upstream
q4_0 weights. Activations are largely insensitive to weight quantisation and the q4_0 is
8.6 GB, which makes the calibration pass cheap. This is a deliberate trade and is disclosed
for that reason
calibration corpus — 512 chunks of material, entirely public:
| section | chunks | tokens | source |
|---|---|---|---|
| English | 128 | 65,534 | en.wikipedia raw wikitext, 16 articles |
| Japanese | 128 | 65,369 | ja.wikipedia raw wikitext, 18 articles |
| code / agentic | 256 | 131,451 | public llama.cpp source (de32b26) + tatsu-lab/alpaca |
evaluation corpus — disjoint from calibration by construction: different Wikipedia articles,
and ripgrep 14.1.1 (Rust) instead of llama.cpp (C/C++/CUDA), with no instruction data. Sharing
text between calibration and evaluation would let the matrix adapt the weights to the very
corpus that scores them, and would bias the table in favour of these quants.
To rebuild any of them:
# with the included imatrix
llama-quantize --imatrix imatrix/Qwen3.8-13.5B-i1-imatrix.gguf \
Qwen3.8-13.5B-f16.gguf Qwen3.8-13.5B-i1-IQ3_M.gguf IQ3_M
# or at a bitrate this repo does not ship
llama-quantize --imatrix imatrix/Qwen3.8-13.5B-i1-imatrix.gguf \
Qwen3.8-13.5B-f16.gguf Qwen3.8-13.5B-i1-Q5_K_M.gguf Q5_K_M
llama-cli -m Qwen3.8-13.5B-i1-IQ3_M.gguf -ngl 99 -fa 1 -c 8192
The model has 32 layers, hidden size 5120, and only 4 KV heads, so the KV cache is unusually
cheap for its size and long context is affordable. -fa 1 is recommended. Maximum positions 262144.
Weights-only guidance:
| quant | weights | comfortable on |
|---|---|---|
| IQ2_XXS | ~4.5 GiB | 6 GB, reduced context only |
| IQ2_M | ~5.3 GiB | 6 GB, marginal — see below |
| IQ3_XXS | ~5.9 GiB | 8 GB |
| IQ3_M | ~6.6 GiB | 8 GB |
| IQ4_XS | ~7.8 GiB | 12 GB |
kusuriya-labs/Qwen3.8-13.5B.Qwen/Qwen3.8-27B.Released under apache-2.0, following the upstream model. This is an unofficial quantisation and is not endorsed by the authors of the base model. All credit for the weights belongs to them; this repo claims only the quantisation, the calibration corpus and the matrices.