NariQ:以 10 GB 檔案提供 BF16 級 Qwen3.8-27B
NariQ: BF16-level Qwen3.8-27B in a 10 GB file
NariQ 為 Qwen3.8-27B 提供 3-bit 或更低位元量化版本,檔案大小為 10 GB,並在 Agent 任務、數學、多語言推理及圖像理解等方面保留接近 BF16 的品質。
Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
NariQ: BF16-level Qwen3.8-27B in a 10 GB file (huggingface.co) 22 points by toebee1 hour ago | hide | past | favorite | 2 comments We built NariQ: 3-bit-or-lower quantizations of Qwen3.8-27B that retain near-BF16 quality across agentic tasks, math, multilingual reasoning, and image understanding. To our knowledge, this is the first 3-bit-or-lower quantization that retains BF16 lvl performance on long-horizon agentic tasks. Benchmarks (BF16 / 3-bit / 2.5-bit / 2-bit): - DeepSWE: 39.8 / 41.0 / 41.9 / 28.6 - Terminal-Bench 2.1: 62.6 / 63.8 / 60.2 / 52.4 - AIME 25+26: 97.7 / 98.3 / 96.5 / 86.0 - MSGM: 94.0 / 93.1 / 91.8 / 90.6 - RealWorldQA: 82.4 / 82.4 / 81.3 / 80.9 Decode speed is comparable to other quants on an RTX PRO 6000. Context-length results below (3-bit / 2.5-bit / 2-bit / Unsloth UD-IQ3_XXS): - 4K: 88.9 / 99.2 / 111.7 / 94.7 - 16K: 84.5 / 93.8 / 105.1 / 89.8 - 64K: 70.7 / 77.5 / 85.0 / 74.8 Running these currently require our llama.cpp fork: (https://github.com/nari-labs/nari-llama.cpp) Feedback and questions welcome. We'd love to hear how these perform on your workloads. help
jedbrooke16 minutes ago | next[–] > Apple M-series (Metal): build from source; on an M3 Pro (18 GB) decode is about 3.8 tok/s with the 3.0bpw file (4.9 with 2.0bpw), far slower than CUDA. Other Macs are untested. I wonder if it would be possible to squeeze it into a 16GB mac. Comparisons to Bonsai 2 27B would be useful too. Qwen 3.8 27B has truly been such a gift to the self hosted model landscape. “normie” hardware like a 16GB macbook being able to run “pretty useful” (obv not frontier level) LLMs is crazy reply
mmastrac13 minutes ago | prev[–] EDIT: I'm not sure why there's downvotes here - if you purport to come out with a new quantization format and it's not front-and-center what your inspiration and trellis are, that's a bit of a red flag (and especially any comparison to the mul1 codebook that it's evolved from). Its seems unnecessarily hard to understand what NariQ is, but it appears to be a derivative of exl3's mul1 with k1-k6, costing ~2 IMAD + 2 LOP3 + 2 IDP + 1 pack IMAD. It's not a real half-width codebook, just averaging k2/k3 to make k2.5? Happy to see someone else discovering the integer addition tricks too. FWIW in exlr8 we added a pmcgx codebook that likely does better than this at low bitrates, and has a real half-bit (it's pairwise so you can feed an odd number of bits to it). Our team just finished a quant on Qwen 3.8 flash next, but I might be able to spin one up on Qwen3.8-27B to do a direct head-to-head. Ran a quick head-to-head on some pseudo weights via Claude too: - NariQ's codebook comes out within ±0.3% of mul1 on every site. Neither of its two changes matters much at K2: the 6-bit digits and the skipped E4M3 rounding each move the error by about 0.1%. - pmcgx L20 has 1.1% to 3.1% less error than mul1, so it beats NariQ by about the same margin. Side-by-side codebooks: mul1(s): nariq(s): pmcgx(w): # w = 20-bit state, 2 values x = s * 0x83DCD12D x = s * 0x83DCD12D x1 = w * 0xCBAC1FED t = sum(bytes(x)) t = sum(bytes(x) >> 2) x2 = w * 0xBCA14C51 v = fp16(1024 + t)*c + d v = t - 126 m1 = (x1 & 0x8FFF8FFF) ^ 0x3B603B60 return e4m3(v) return v # int, exact m2 = (x2 & 0x8FFF8FFF) ^ 0x3B603B60 a = fp16(m1.lo) + fp16(m2.hi) b = fp16(m1.hi) + fp16(m2.lo) return e4m3(a), e4m3(b) reply
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact Search:
來源:Hacker News:AI 熱帖 · news.ycombinator.com