Local Inference

NariQ quantization fits Qwen3.8-27B in 10.1 GB, but only on its own llama.cpp fork

Nari Labs' 3-bit trellis-coded Qwen3.8-27B GGUF matches BF16 on its own agent and math benchmarks at 10.12 GB, but stock llama.cpp, Ollama and LM Studio cannot load it yet.

Published
November 23, 2026
Read
6 min
Published by
Samir Sengupta
NariQ 3-bit Qwen3.8-27B GGUF at 10.12 GB vs 53.8 GB BF16, with DeepSWE scores and a llama.cpp fork requirement
Note 158 / 159Daily note · Written from 1 source

How this was madeDrafted with Claude, Anthropic’s model, from 1 cited source, then checked against it in a second editing pass. Editorial policy

Disclosure I build Wayne, an AI coding harness for VS Code, and Omnitron, an agent harness, so I work in this category. See the project

the short version

  • On Nari Labs' own runs, the 3-bit NariQ file (10.12 GB) scores within 1.2 points of BF16 (53.8 GB) on DeepSWE v1.1, Terminal-Bench 2.1, AIME 25+26, MGSM and RealWorldQA.
  • The 2.5-bit file (8.44 GB) is close on most benchmarks but trails BF16 by 2.4 points on Terminal-Bench 2.1.
  • The 2-bit file (6.75 GB) is a real step down, falling from 39.8 to 28.6 on DeepSWE and from 97.7 to 86.0 on AIME.
  • The files load only in Nari's llama.cpp fork. The fork is tuned for SM120 GPUs such as the RTX PRO 6000 and runs slower than comparable GGUFs on Ampere, Ada, Hopper and Apple M-series.

Nari Labs has released NariQ v1 GGUFs of Qwen3.8-27B at 3, 2.5 and 2 bits per weight. NariQ is a trellis-coded post-training quantization, calibrated on real coding-agent traces and stored in a layout that runs on a single GPU. The 3-bit file is 10.12 GB against 53.8 GB for BF16. On the lab's own runs it scores 41.0 on DeepSWE v1.1, against 39.8 for BF16. The catch for anyone deploying it is that only Nari's llama.cpp fork can load the new tensor types.

The release is dated Nov 20, 2026 on the Hugging Face card. It includes three language-model files and a 0.93 GB BF16 vision projector shared by all three. Nari claims the 3-bit and 2.5-bit files match BF16 on long-horizon agent tasks, math and image understanding, and states that the 2-bit file scores lower. Every number below comes from Nari's own measurements, and the sources contain no independent reproduction.

How NariQ compresses Qwen3.8-27B to 3 bits

The card describes the method in one sentence and defers the details to a tech report that is not part of the published card text. The codebook design, the trellis structure and the size of the calibration set are therefore not documented in the material available. One commenter on Hacker News argued that NariQ appears to derive from exl3's mul1 codebook. The same commenter asked whether the 2.5-bit variant simply averages k2 and k3 rather than using a true half-bit code, and called it a red flag that the card does not state its inspiration. The card does not mention exl3, and the commenter's reading is unverified.

Another commenter gave the general picture of trellis quants. The weights are rotated until they resemble Gaussian noise, then a search finds the best set of bits to encode that noise. In that commenter's account, this keeps the coarse structure and loses fine detail. Over-quantized models can lose fine-grained knowledge, track and accumulate less accurately, and occasionally loop.

3-bit and 2.5-bit hold BF16 scores; 2-bit does not

  • DeepSWE v1.1 (113 tasks x 3, mean pass@1): BF16 39.8, 3-bit 41.0, 2.5-bit 41.9, 2-bit 28.6
  • Terminal-Bench 2.1 (82 tasks x 3): BF16 62.6, 3-bit 63.8, 2.5-bit 60.2, 2-bit 52.4
  • AIME 25+26 (60 x 8): BF16 97.7, 3-bit 98.3, 2.5-bit 96.5, 2-bit 86.0
  • MGSM (250 x 11 languages): BF16 94.0, 3-bit 93.1, 2.5-bit 91.8, 2-bit 90.6
  • RealWorldQA (765 x 3): BF16 82.4, 3-bit 82.4, 2.5-bit 81.3, 2-bit 80.9

The DeepSWE lead for the quantized files is small in absolute terms. The mean number of fully solved tasks per round was 45.0 for BF16, 46.3 for 3-bit and 47.3 for 2.5-bit, out of 113. The mean share of each task's new tests that passed was 83.1% for BF16, 82.9% for 3-bit and 83.2% for 2.5-bit. One BF16 verifier timeout in round 3 was scored as zero, so BF16 had 338 of 339 trials graded while each NariQ variant had all 339. The card text gives no confidence intervals.

The 2.5-bit file does not hold BF16 everywhere. On Terminal-Bench 2.1 it scores 60.2 against 62.6, or 148 solved trials against 154. The agent runs used the Claude Code CLI 2.1.309 with thinking on and effort max, a 262,144-token context, and the model's thinking-mode sampling of temperature 1.0, top-p 0.95 and top-k 20.

Commenters on Hacker News asked what information is lost when the file shrinks. The card's answer is a KL divergence chart against BF16 on held-out coding-agent traces, plotted against file size, but the card text does not give the chart's values. The visible cost is the 2-bit row. DeepSWE drops 11.2 points to 28.6, and the partial-test share falls to 77.2%. Another commenter asked whether context had been cut to 64K. It had not: the agent runs used the full 262,144-token context, and only the speed table stops at 64K.

Against Unsloth's Q3 quants, the evidence is indirect

The card does not directly compare NariQ with the Q4 and Q3 GGUFs teams already run. Its DeepSWE and Terminal-Bench charts plot Unsloth's Dynamic V3.1 results as hollow diamonds. Those values are read approximately from Unsloth's published chart and were measured with mini-swe-agent rather than Claude Code. Nari therefore tells readers to compare each point only with the BF16 line of its own harness. The charts also include Nari's own GSQ-RCO points, which use one round instead of three, and the card does not explain what GSQ-RCO is.

No Q4-class file appears in any table, and the chart values are not given in text. The one direct comparison is decode speed against Unsloth's UD-IQ3_XXS (10.9 GB), which ran on stock llama.cpp and was measured earlier on the same GPU type. It decodes at 94.7, 89.8 and 74.8 tok/s at 4K, 16K and 64K context. NariQ 3.0bpw (10.1 GB) decodes at 88.9, 84.5 and 70.7. NariQ 2.5bpw is faster than UD-IQ3_XXS at every context, at 99.2, 93.8 and 77.5.

A 24 GB GPU fits about 135K context

With the vision projector loaded, a 24 GB GPU fits about 135K context with the 3-bit file, 160K with 2.5-bit and 184K with 2-bit. The full 262K context needs about 30 GB, 28 GB and 27 GB respectively. The card recommends -c 262144 only on 32 GB or more. It says -c 131072 fits a 24 GB GPU with little to spare, and should be lowered if a display shares the GPU. The card's known-limits section lists KV-cache and activation quantization but is cut off there, and a reply in the Hacker News thread says the ~30 GB figure is without that quantization.

On one RTX PRO 6000 (Blackwell), single session, 512 greedy output tokens, 3.0bpw decodes at 88.9, 84.5 and 70.7 tok/s at 4K, 16K and 64K context. The 2.0bpw file reaches 111.7 tok/s at 4K. The speed runs used flash attention, a BF16 KV cache and greedy sampling on the GPU. The card's manual serving command is below.

bash
hf download nari-labs/Qwen3.8-27B-NariQ-GGUF \
  Qwen3.8-27B-NariQ-3.0bpw.gguf Qwen3.8-27B-NariQ-mmproj-BF16.gguf --local-dir .
llama-server -m Qwen3.8-27B-NariQ-3.0bpw.gguf --mmproj Qwen3.8-27B-NariQ-mmproj-BF16.gguf \
  -ngl 99 -c 131072 --jinja --port 8080 \
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0

Only Nari's llama.cpp fork loads NariQ files

Stock llama.cpp, Ollama and LM Studio cannot load the new tensor types yet. Nari says it hopes to merge support into upstream llama.cpp. It describes an internal SGLang plugin and an inference engine built on Resin as works in progress for potential public release. The quickstart script, run.sh, targets Linux with an NVIDIA GPU and driver 570 or newer. It downloads the fork's binaries and the model files, checks them, and fits the context to the GPU.

The fork is focused on SM120 performance, for example the RTX PRO 6000. Ampere, Ada, Hopper and Apple M-series GPUs run slower than comparable GGUFs for now, and GPUs older than Ampere fall back to slow CPU execution. AMD and Intel GPUs are not supported yet. Tested GPUs are the RTX PRO 6000, H100, L4 and A10, and GeForce cards have not been tested.

On Apple M-series, Metal requires building from source. An M3 Pro (18 GB) decodes at about 3.8 tok/s with the 3.0bpw file and 4.9 with 2.0bpw, and other Macs are untested. One commenter calculated that at about 4 tok/s a 1,000-token reply takes around four minutes, and judged it not worth running until Metal speed improves. Commenters also asked whether the model would fit a 16 GB Mac and how it compares with Bonsai 2 27B, and the card answers neither.

The MTP (multi-token prediction) module is not included yet and is still to be quantized. The vision tower stays in BF16, and only the language model is quantized. One commenter in the thread said the goal is to run fast on an 18 GB Mac and a 16 GB 5060 Ti, and that inference speedups and KV and activation quantization are being explored.

The card names a LICENSE file, not a licence

The repository metadata points to a LICENSE file, but the available card text does not name the licence. It also says nothing about the licence of the llama.cpp fork or the run.sh binaries. Teams shipping this commercially should read that file and the base model's terms before building on it. Until NariQ support lands in upstream llama.cpp, any deployment also depends on a fork that Nari describes as a solo effort.

Questions this raises

Does the 3-bit NariQ Qwen3.8-27B match BF16 quality?

On Nari Labs' own benchmarks it does, scoring 41.0 on DeepSWE v1.1 against 39.8 for BF16 and 98.3 on AIME 25+26 against 97.7. These are lab-reported numbers with no independent reproduction and no confidence intervals. The 2-bit file falls clearly behind, dropping to 28.6 on DeepSWE.

Can I run NariQ GGUFs in Ollama or LM Studio?

Not yet. Only Nari's llama.cpp fork can load the new tensor types, and stock llama.cpp, Ollama and LM Studio cannot. Nari says it hopes to merge support into upstream llama.cpp.

How much context fits on a 24 GB GPU with NariQ Qwen3.8-27B?

With the vision projector loaded, about 135K tokens fit with the 3-bit file, 160K with 2.5-bit and 184K with 2-bit. The full 262,144-token context needs about 30 GB, 28 GB and 27 GB respectively, and the card recommends it only on 32 GB or more.

Spotted an error? Email samir.s.sengupta@gmail.com and I will correct it and date the change at the top of the note. How these notes are researched, drafted and checked is in the editorial policy.

More notes

Building something on this?

I ship production LLM, RAG and agentic systems for a living - the infrastructure behind the things these notes are about. Open to roles, contract work and research collaboration.