Top
Best
New

Posted by b0m 17 hours ago

Ternary Bonsai 2.5 27B(prismml.com)
490 points | 150 commentspage 2
Lramseyer 16 hours ago|
This is really cool! I am glad that people are asking questions about the optimal bit depth for a language model! What's a smarter model? One with more parameters and fewer bits, or more bits and fewer parameters?

But I have a dumb question about this model - is there hardware acceleration for ternary weights aside from an FPGA?

Foobar8568 16 hours ago||
I feel you would need a fairly expensive FPGA board to be able to have proper performance for these models. And you would be limited by the usual low bandwith, even with HBM, 90%~ on decode of 700GB/sec? I don't remember, but basically worse than a MacBook Pro, and the FPGA board would cost 3-5 times the price.

edit: Alveo V80 is like 10k and 800GB/sec for 32GB of HBM and 2.6M LUT for 190W, and on mouser, next delivery date is July 2027.

dlcarrier 15 hours ago|||
FPGAs aren't great at doing math. Most of them basically cheat by having internal ALUs that get used for math, but a GPU has a lot more of them and will significantly outperform FPGAs for a given die area and power consumption, on the same process.

Where FPGAs really shine is super-low-power applications, like detecting wakewords for voice prompts, where the neural network has thousands of parameters at most.

halfmatthalfcat 16 hours ago||||
FPGAs/ASICs aren't worth it unless you care about watt/tok/s
dlcarrier 15 hours ago||
There's lots of work showing ASICs built around specific models or even a generic transformer architecture have huge performance advantage over GPUs. FPGAs, on the other hand, need enough baked-in IP to get any reasonable performance that they're just ASICs running a model on a die that also contains an FPGA.
lossolo 14 hours ago|||
> edit: Alveo V80 is like 10k and 800GB/sec for 32GB of HBM and 2.6M LUT for 190W, and on mouser, next delivery date is July 2027.

So it seems a better deal is just to buy an NVIDIA card, seems like even 5090 (1.8 TB/s) with 32 GB GDDR7 is better than this FPGA with 32 GB of HBM for LLMs.

suprjami 10 hours ago|||
It's not quite that simple.

You can quantize some tensors heavily before capability drops off.

Other tensors really need to be kept at full size otherwise the model degrades fast.

This is the idea behind quant schemes like Unsloth Dynamic.

There are also improvements one can make during quantization, like EXL3 uses Hessians instead of llama.cpp's diagonals, which should result in less quantization loss.

iagiagiag 16 hours ago|||
In the end I'm sure all models will be 1 bit per parameter. For now it's still problematic because we can't (easily) train models like that. Idk if we'll find a way to train models that way or if we'll do it with better quantization methods. I've not looked too deep into how bonsai models work during inference, but you have hardware acceleration for any weight provided you give them the right size during inference, and you do have acceleration for some binary operations. So they use tricks. I think the last generation of GPUs has nvfp4 (4 bits) min.
dofm 12 hours ago|||
> What's a smarter model? One with more parameters and fewer bits, or more bits and fewer parameters?

There are many more variables to consider now. The impact of the harness, various forms of QAT, streaming experts, looping, post-training to reduce thinking overhead, post-training to match the harness…

Local weights models might be outgunned by frontier cloud models, but my contention is that if you want to be actually relevant in the future, you have to have some instincts for all this stuff — some broad sense of how and why. When the labs people say "learn AI", a lot of them mean "learn our SaaS product" — learn a dependency.

I say, if you can run even the smallest local weights model (Gemma 4 E4B QAT, Nvidia Dory, Gemma 4 12B QAT, and up) you really should. Get a sense for what they can and can't do, run the whole stack, get Pi, understand how tool calling really works, write tools, etc.

This is a way to start building the core skills, or at least the footing for the core skills, that develops some cognitive independence.

One day very soon, I think, the talk of open weights will be much closer to practical, much closer to necessary, and I think being slightly further along in understanding is going to help.

And I say this as really a perpetual novice.

dotancohen 16 hours ago||

  > What's a smarter model? One with more parameters and fewer bits, or more bits and fewer parameters?
I've never dated a model, but if I did, I'd choose the one with more bits and fewer parameters.
minimaxa 13 hours ago||
Great to see more options and methods, but the market is already saturated.

Where the focus will be in the next year is Omni models, all in one MOE coding, video, image, and voice.

Anything else is three steps behind, burning through inference training costs.

suprjami 11 hours ago|
Yeah we're all waiting for Qwen 4 Flash to do this.
lettergram 8 hours ago||
They should do this for a >100B model, if we're looking at a 90% reduction in memory requirements you can effectively bring the largest models to a maxed out macbook, or a home computer with a couple of GPUs.
ycui7 13 hours ago||
for the first time, bonsai passed my 2048 needles dense retrieval test over 256K context length. really good progress for them.
NoidFonsense 17 hours ago||
Holy cow, that is a really good quant. I assume they achieve this through some type of quanitzation-aware retraining?
derac 13 hours ago|
This sentence doesn't make sense. The term quantization-aware refers to doing quantization at training time as opposed to post-training as is done here.
DeathArrow 17 hours ago||
I like Inkling 2 Mini more.
bensyverson 16 hours ago|
Isn't that much bigger?
liuliu 16 hours ago||
MoE, thus, you can run it fine with ~8GiB runtime VRAM without any additional quantization (native NVFP4 / MXFP8 weights).
DANmode 2 hours ago|||
> MoE

Mixture of Experts, for anyone learning along at home.

bensyverson 13 hours ago|||
I run Inkling 2 Mini and it consumes much more than 8gb of VRAM
derac 13 hours ago||
He's saying you can run it efficiently because it's an moe, not that it uses less than 8GB of ram.
dpflan 16 hours ago||
What is the business model for this company?
dlcarrier 15 hours ago||
Here's an uncensored version, for those who don't like condescending and contemptuous attitudes from LLMs, or are interested in learning about what happened in Tienanmen Square in 1989: https://huggingface.co/AtomicChat/Ternary-Bonsai-2.5-27B-Unc...
jedbrooke 16 hours ago|
Bonsai 2 was a huge leap from Bonsai 1 (Bonsai 1 could barely do anything multi-turn, it would get confused by the second message and keep responding to the first one, frequent doom loops, etc).

Bonsai 2 I would describe as Certified Usable™*, So I’m excited to see what they’ve cooked up with 2.5.

*: probably on par with Luna or Sonnet, definitely not Opus. Vibes wise it’s able to do multi step agent workflows, but has trouble conforming to my style guide. It reeks heavily of clauditis in its stock configuration (tons of “My genuine honest opinion” stuff), but I was able to get that down maybe 70% with a style guide

Foobar8568 16 hours ago|
Qwen 27b is far from Opus...Even 4.6, Bonsai 2 was definitely worse than Qwen 27b Q4 when I was playing with it in agentic coding.
More comments...