TL;DR
Nari Labs published NariQ builds of Qwen3.8-27B on November 20, 2026: three GGUF files at 2, 2.5 and 3 bits per weight, from 6.29 GiB to 9.43 GiB, under Apache 2.0. We did not run them. We read the model card, the Hugging Face file listing and the GGUF header of the 2.0bpw file, then worked out what the model costs in memory on your own machine.
Three things matter for an edge plan. First, the header shows 64 blocks with a full-attention layer every 4th block, 4 KV heads and a head size of 256, so only 16 layers grow a KV cache, at exactly 64 KiB per token. Second, the card keeps the KV cache in BF16 today, so that figure is what you pay: 2 GiB at 32K and 16 GiB at the full 262,144 tokens, which is more than the 3-bit weights. Third, these files do not load in stock llama.cpp. They need Nari Labs' llama.cpp fork, so the runtime decides whether this is an option for you before the bit width does.
What exactly did Nari Labs release?
The repository nari-labs/Qwen3.8-27B-NariQ-GGUF lists Qwen/Qwen3.8-27B as its base model and carries the Apache 2.0 license. NariQ is described as a trellis-coded post-training quantization (PTQ), calibrated on real coding-agent traces. The trellis codes build on QTIP, and the tech report is on arXiv as 2611.26157. These are the sizes from the file listing (GiB = 2^30 bytes):
| File | Size (GiB) | Size (GB, card) |
|---|---|---|
Qwen3.8-27B-NariQ-3.0bpw.gguf | 9.43 | 10.12 |
Qwen3.8-27B-NariQ-2.5bpw.gguf | 7.86 | 8.44 |
Qwen3.8-27B-NariQ-2.0bpw.gguf | 6.29 | 6.75 |
Qwen3.8-27B-NariQ-mmproj-BF16.gguf | 0.87 | 0.93 |
The bit widths hold up as file arithmetic. A 27B model at 2.0 bits per weight is 6.75 GB, and the card lists 6.75 GB. At 2.5 bits it is 8.44 GB and at 3.0 bits it is 10.12 GB, again matching the card. The card compares these against a 53.8 GB BF16 file, so the 3-bit file is about 5.3 times smaller and the 2-bit file about 8 times smaller.
The vision projector is a separate 0.87 GiB file shared by all three. If you only need text and tool calls, you never load it, and your budget is the first three rows alone.
Why do these files need a special llama.cpp?
This is the first thing to check before downloading. The header of the 2.0bpw file reports general.architecture = qwen35 and general.file_type = 32, but the weight tensors are not described by standard ggml types. Instead the file carries 496 trellis.desc.blk.* metadata entries, one per quantized tensor, plus trellis.desc.token_embd.band00 to band15 and trellis.desc.output.band00 to band15. The keys trellis.version = 1, trellis.embed_bands = 16 and trellis.lm_head_bands = 16 complete the picture. The 496 count is consistent with the architecture: 48 linear-attention blocks with 8 described tensors each, plus 16 full-attention blocks with 7 each.
The card states the consequence directly: stock llama.cpp, Ollama and LM Studio cannot load the new tensor types yet, and the files run on the Nari Labs fork. Nari Labs says it hopes to merge support upstream. The card is also specific about hardware: the fork is focused on Blackwell workstation GPUs (RTX PRO 6000), with H100, L4 and A10 also tested. Ampere, Ada, Hopper and Apple M-series are slower than comparable GGUFs for now, Metal and ROCm are experimental, and Intel GPUs are not supported.
For an app that ships its own inference binary, that means NariQ fits today if your users have a recent NVIDIA card and you can bundle the fork. For a cross-platform desktop app, a conventional GGUF is the lower-risk path until upstream support lands.
# Linux, NVIDIA driver 570 or newer, using the fork's launcher curl -fsSLO https://github.com/nari-labs/nari-llama.cpp/releases/download/b12431-nariv0/run.sh bash run.sh 3.0 # or 2.5, 2.0 # or serve it yourself with llama-server from the fork hf download nari-labs/Qwen3.8-27B-NariQ-GGUF \ Qwen3.8-27B-NariQ-3.0bpw.gguf --local-dir . llama-server -m Qwen3.8-27B-NariQ-3.0bpw.gguf -ngl 99 -c 131072 --jinja --port 8080 \ --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 Note --min-p 0. The card gives these as the thinking-mode sampling settings its scores used (temperature 1.0, top-p 0.95, top-k 20), and the GGUF header stores the same top-k, top-p and temperature as defaults.
How much KV cache does a 27B with 16 attention layers need?
File size is only the weights. We read the header keys that set the cache size:
| Header key | Value |
|---|---|
qwen35.block_count | 64 |
qwen35.full_attention_interval | 4 |
qwen35.attention.head_count / head_count_kv | 24 / 4 |
qwen35.attention.key_length / value_length | 256 / 256 |
qwen35.context_length | 262144 |
qwen35.ssm.inner_size / state_size / time_step_rank | 6144 / 128 / 48 |
A full-attention layer every 4th block means 16 of the 64 blocks keep a conventional KV cache. The other 48 are linear-attention layers whose state does not grow with context. In BF16 or f16, one token costs:
layers, kv_heads, head_dim = 16, 4, 256 bytes_per_token = layers * kv_heads * head_dim * 2 * 2 # K and V, 2 bytes each print(bytes_per_token) # 65536 = 64 KiB per token print(bytes_per_token * 32768 / 2**30) # 2.0 GiB at 32K print(bytes_per_token * 262144 / 2**30) # 16.0 GiB at 262,144 A dense model with the same head layout on all 64 layers would need four times as much, 8 GiB at 32K. The hybrid layout is why a 27B model is plausible on a single consumer GPU at all.
The important edge detail is in the card's limits section: today the KV cache and activations stay in BF16, and KV-cache quantization is listed as next work. Many local setups lean on a q8_0 or q4_0 cache to stretch context. Here that lever is not available yet, so the f16 numbers below are the real ones.
| Context | KV cache (GiB) | 2.0bpw total | 2.5bpw total | 3.0bpw total |
|---|---|---|---|---|
| 8K | 0.5 | 6.79 | 8.36 | 9.93 |
| 32K | 2.0 | 8.29 | 9.86 | 11.43 |
| 64K | 4.0 | 10.29 | 11.86 | 13.43 |
| 128K | 8.0 | 14.29 | 15.86 | 17.43 |
| 262K | 16.0 | 22.29 | 23.86 | 25.43 |
Totals are weights plus cache, text-only, before compute buffers, the CUDA context and the recurrent state of the 48 linear layers. Add 0.87 GiB if you load the vision projector.
Does the card's 24 GB context figure match the arithmetic?
It does, and the check is worth doing. The card says a 24 GB GPU fits about 135K tokens with the 3-bit file, about 160K with 2.5-bit and about 184K with 2-bit, all with the projector loaded. Convert each to cache size at 64 KiB per token and add weights plus the projector:
for name, w, ctx in [("3.0", 9.43, 135_000), ("2.5", 7.86, 160_000), ("2.0", 6.29, 184_000)]: cache = ctx * 65536 / 2**30 print(name, round(w + 0.87 + cache, 1)) # 18.5, 18.5, 18.7 GiB All three land near 18.5 GiB. That means the card's context numbers imply roughly 4 to 5 GB of headroom on a 24 GB card for compute buffers, the CUDA context and the linear-attention state. The planning rule for your own device is therefore: weights plus projector plus 64 KiB per token plus about 4.5 GiB of overhead must stay below your usable VRAM. It also shows why the smaller files buy context: every GiB saved in weights becomes about 16,000 tokens of cache.
What do the vendor's benchmarks say about each file?
Everything in this section is the vendor's reported result; we did not reproduce it. The card uses the Claude Code CLI driving the local model, with thinking on and a 262,144-token context.
| Model | DeepSWE v1.1 | Terminal-Bench 2.1 | AIME 25+26 | MGSM | RealWorldQA |
|---|---|---|---|---|---|
| BF16 (53.8 GB) | 39.8 | 62.6 | 97.7 | 94.0 | 82.4 |
| NariQ 3-bit | 41.0 | 63.8 | 98.3 | 93.1 | 82.4 |
| NariQ 2.5-bit | 41.9 | 60.2 | 96.5 | 91.8 | 81.3 |
| NariQ 2-bit | 28.6 | 52.4 | 86.0 | 90.6 | 80.9 |
On the card's numbers, the 3-bit and 2.5-bit files sit at or near the BF16 line on long-horizon agent tasks, math and image understanding, and the 2.5-bit file is only 8.44 GB. The 2-bit file is the smallest, with MGSM and RealWorldQA within a few points of BF16. The card recommends 2.5-bit or 3-bit when you want the highest overall performance.
The card also reports decode speed on one RTX PRO 6000 (Blackwell) with a BF16 cache: at 4K context 88.9, 99.2 and 111.7 tokens per second for 3.0, 2.5 and 2.0 bpw, and at 64K context 70.7, 77.5 and 85.0. Those are single-session greedy numbers on one GPU type, so expect different results on other cards.
How do I choose a file for my device?
A pragmatic path, assuming a single user and an NVIDIA GPU:
- Check the runtime first. If you cannot bundle the Nari Labs fork, use a standard GGUF instead.
- On 24 GB, start with 2.5bpw at 128K context: 7.86 GiB weights plus 8 GiB cache is 15.86 GiB before overhead, which leaves room for the projector.
- On 16 GB, run 2.5bpw at 32K to 64K. At 64K the total is 11.86 GiB, which leaves a few GiB of headroom.
- On 12 GB, the 2.0bpw file at 32K totals 8.29 GiB. Test it on your own tasks first, since it is the smallest of the three.
- Measure resident memory with
nvidia-smiand compare it with the table before you raise the context. - Keep your own tool-calling regression set and run it on the exact file you ship.
FAQ
Can I run NariQ Qwen3.8-27B in stock llama.cpp, Ollama or LM Studio?
Not today. The card says those runtimes cannot load the new tensor types yet, and the files need the Nari Labs llama.cpp fork.
How big are the NariQ files?
The file listing shows 6.29 GiB (2.0bpw), 7.86 GiB (2.5bpw) and 9.43 GiB (3.0bpw), plus an optional 0.87 GiB vision projector.
How much KV cache does a 262K context need?
In BF16 it is 16 GiB: 16 full-attention layers, 4 KV heads, head size 256, 64 KiB per token. The card says KV-cache quantization is planned but not available yet.
Does the 24 GB context claim hold up?
By our arithmetic, yes. The card's 135K, 160K and 184K contexts all work out to about 18.5 GiB of weights, projector and cache, leaving roughly 4 to 5 GB of headroom.
Are the benchmark scores independently confirmed?
We have not reproduced them. They come from the vendor's card and tech report, so run your own task suite on the file you plan to ship.
Is the vision projector required?
Only for image input. It is a separate 0.87 GiB file, and text-only serving never loads it.
Links
- Model card and files: https://huggingface.co/nari-labs/Qwen3.8-27B-NariQ-GGUF
- Tech report: https://arxiv.org/abs/2611.26157
- Nari Labs llama.cpp fork: https://github.com/nari-labs/nari-llama.cpp
- Base model: https://huggingface.co/Qwen/Qwen3.8-27B

