logoalt Hacker News

Lramseyer • yesterday at 9:17 PM • 3 replies • view on HN

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?


Replies

Foobar8568 • yesterday at 9:20 PM

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.

➕ show 3 replies
iagiagiag • yesterday at 9:49 PM

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.

dotancohen • yesterday at 9:24 PM

  > 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.