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?
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.
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.
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.
> 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.
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.
> 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.
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.
Comments (149) 35 threads
Show all comments
Showing thread 11 of 35
But I have a dumb question about this model - is there hardware acceleration for ternary weights aside from an FPGA?
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.
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.
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.
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.
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.