PrismML Releases Ternary Bonsai 2 27B: A 5.9 GB Apache 2.0 Model Retaining 98.2% of Qwen3.8 27B Performance

2026年9月18日 18:06
站內 AI 整理稿

PrismML has released Ternary Bonsai 2 27B, a ternary-weight version of Qwen3.8 27B.The language model occupies 5.93 GB, against 53.80 GB in FP16.PrismML reports that it keeps 98.2% of the parent model’s average across 20 benchmarks.The model accepts text and images and supports a 262K-token context.

PrismML demos it driving Cline coding agents and computer use on an RTX 5090.It arrives 2 months after the first Bonsai 27B, whose ternary variant retained about 95%.Is it deployable?Yes.The Apache 2.0 weights run today on a 16 GB laptop or a single 24 GB GPU.You need PrismML’s llama.

cpp fork or its MLX runtime.What is Ternary Bonsai 2 27B?The model keeps the Qwen3.8 27B architecture unchanged.It has 27.36B parameters.That splits into a 24.35B language backbone, 2.54B in embeddings and LM head, and a 0.47B vision tower.

The backbone uses hybrid attention, with about 75% linear-attention and 25% full-attention layers.Ternary weights cover embeddings, attention projections, MLP projections and the LM head.Only 26.2M parameters, or 0.0976%, stay in higher precision.

Those are the recurrent state path and normalization weights.In GGUF, the vision tower ships separately as a 0.63 GB file, loaded only for image input.How Does the Ternary Format Work?Each weight takes 1 of 3 values: -1, 0 or +1.Every group of 128 weights shares 1 FP16 scale.

A ternary value carries log2(3), or about 1.585 bits.Adding 16 scale bits per 128 weights gives 1.71 bits per weight.Counting the high-precision tensors brings the model to 1.72.Real kernels need a packed layout, so the whitepaper describes 2 GGUF packings.PTQ10 packs trits densely at 1.

76 bits per weight and 5.93 GB.PQ20 stores each trit in a 2-bit slot at 7.25 GB, which is cheaper to unpack.Weights are also stored in a rotated basis.PrismML applies a blockwise Hadamard rotation with block size 1,024 before ternary assignment.

The runtime applies the matching transform to activations before each multiply.The whitepaper cites SpinQuant for this idea.PrismML does not publish how it assigns the ternary values.(function(){var f=document.getElementById("mtp-bonsai2-27b-x9k4");window.

addEventListener("message",function(e){if(f&&e.source===f.contentWindow&&e.data&&e.data.mtpH){f.style.height=e.data.mtpH+"px";}});})(); How Does It Score Against Qwen3.8 27B?PrismML evaluated all models in thinking mode with EvalScope and vLLM on H100 GPUs.CapabilityQwen3.6 27BQwen3.

8 27BTernary Bonsai 2 27BRetentionKnowledge and reasoning84.7186.6683.9596.9%Math94.6497.0696.5799.5%Coding82.5782.1781.5899.3%Agentic and tool calling80.0579.7477.5797.3%Instruction following74.5381.2582.66101.7%Vision79.8281.6478.5996.3%Overall (20)83.685.483.998.

2% The comparison with conventional quantization is the sharper result.An IQ2XXS build of Qwen3.8 27B averages 75.2 at 7.3 GB.On AIME26 it scores 78.6, while Bonsai 2 scores 95.83.On LiveCodeBench v6 the gap is 70.05 versus 90.07.Where Does It Still Lose Quality?The 98.

2% figure is an average, and the losses are uneven.Vision retains 96.3% and knowledge and reasoning retains 96.9%.Long-horizon agent work drops further.Bonsai 2 scores 52.8 on Terminal-Bench 2.1, against 69.7 for Qwen3.8 27B.On SWE-bench Verified it scores 60.8 against 80.6.

That is about 75% retention, and both sit outside the 20-benchmark average.Reasoning effort matters too.At medium effort the model averages 79.3, against 82.6 for the FP16 baseline.Low effort is not supported.All results are PrismML’s own and have not been independently reproduced.

How Fast is It on Real Hardware?Figures are batch size 1 decode on PrismML’s custom kernels, measured September 16, 2026.An RTX 5090 reaches 142.5 tokens per second at 0.582 mWh per token.An RTX 4090 reaches 96.7 with PTQ10, and a 72 W L4 reaches 32.1.On Apple laptops, an M5 Max reaches 46.

8 and an M5 Pro reaches 27.7.Neither packing wins everywhere.PTQ10 is faster on Ada-generation cards and the L4.PQ20 is faster on Blackwell, Hopper, Ampere and Apple silicon, and at prompt processing everywhere.

PrismML research team also claims 40% better energy efficiency than a full-precision 8B model.How Do You Run It?The GGUF files need PrismML’s llama.cpp fork.Stock llama.cpp rejects the PTQ10 and PQ20 types.The Bonsai-demo repo is the supported path.Run ./setup.sh, then ./scripts/startllamaserver.

sh for chat, vision and tools at localhost:8080.Mac users can take the MLX pack, which needs its bundled loader.A WebGPU demo runs the model inside a browser.Key Takeaways 5.93 GB language model, about 9.1x smaller than the 53.80 GB FP16 baseline.83.9 average on 20 benchmarks, versus 85.4 for Qwen3.

8 27B in FP16.142.5 tokens per second on an RTX 5090 and 46.8 on an M5 Max.Long-horizon agent benchmarks keep only about 75% of full-precision scores.Stock llama.cpp cannot load these files.PrismML’s fork is required.

Check out the Whitepaper, Model weights, GitHub repo, Docs, WebGPU demo and announcement on X.All credit goes to the researcher of this project.Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter.Wait!are you on telegram?

now you can join us on telegram as well.Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.?Connect with us The post PrismML Releases Ternary Bonsai 2 27B: A 5.9 GB Apache 2.0 Model Retaining 98.2% of Qwen3.

8 27B Performance appeared first on MarkTechPost.

Related

相關文章

雷峰網模型更新

騰訊12.8億用戶蟬聯中國互聯網第一,綠泡泡月活破1.5億,手遊top10獨佔8款

本文作者: Nemo 2026-11-03 18:59 導語:短劇業務是本次報告的關注重點。11 月 3 日,QuestMobile發佈最新《中國移動互聯網秋季大報告》。報告顯示,截至 2026 年 9 月,騰訊控股以 12.80 億去重總用戶量(APP + 小程序)位列中國互聯網公司用戶規模榜首,第九年蟬聯榜首,霸主地位穩固。

1 小時前
智東西模型更新

實測阿里版Muse:千問Go 7×24小時在線,幫我逛淘寶、盯大麥

AI應用風向標(公眾號:ZhidxcomAI) 作者|畢偉豪 編輯|漠影 如果有這樣一個AI,它有一部手機和一臺電腦在雲端24小時運轉等你發號施令,能登錄你的淘寶、高德、大麥,能幫忙挑選商品,還能在雲端電腦上開發遊戲,甚至可以一句話做出應用,你會拿它來做什麼?

3 小時前

QuestMobile:豆包、DeepSeek月人均使用次數超其他AI應用

報告認為,具備獨立服務閉環的應用入口,以及能夠打通服務交付的系統級入口,正在逐漸佔據優勢。數據顯示,2026年9月,豆包和DeepSeek的月人均使用次數分別達到72.0次和65.9次,月人均使用時長分別為132.5分鐘和136.7分鐘,在使用頻次和時長方面領先其他AI應用。

6 小時前6200
雷峰網模型更新

從用戶場景到產業落地:美的原創性競爭的底層邏輯

每年的科技月都是美的展示技術肌肉的時刻,聚光燈下的獎項固然耀眼,但真正值得關注的,往往是藏在產品背後的研發邏輯。第31屆科技月傳遞出一個明確信號:美的的創新重心,正從“參數內卷”轉向“原創性競爭”。在頒獎儀式上,美的集團董事長兼總裁方洪波強調:“沒有科技的投入和沉澱,就不會有美的的今天;要從同質化競爭,升級到原創性競爭。”這句話不是一句應景的口號,而是美的研發體系多年演進的底層邏輯。

9 小時前