After reading the results I skipped back to the comment section to ask if this was real because it looks a little too good to be true, but figured I should check authors and it's Microsoft research and UCAS so yeah, real. This is going to change a lot of things, obviously the edge computing applications they point out, but also this is going to bottom out the cost of providing high-performance LLMs in the cloud. I do…
If this dethrones Nvidia, it would be a wonderful side effect
The Era of 1-bit LLMs: ternary parameters for cost-effective computing
101–110 of 462 posts
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#102This is great, my employer just gave me a M1 laptop with only 16gb ram and I had to downgrade my 7B parameter local LLM’s to 3 bit quantizing, they’ve been surprisingly okay! In my personal machine at 64gb ram, I usually use 8x7B at Q5 or 70B at Q4 Its Mistral all the way down! Imagining Q1.58 that’s doing well makes me happy
Also, try using pure llama.cpp, AFAIK it's the least possible overhead
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#103Earlier quoted context omitted.
LLMs will give normal people a firmer standing in technological society. That's a good thing. But will it change everything? Not a chance. Even if LLMs did change everything, that probably would not be a good thing. Dijkstra says Muslim algebra died when it returned to the rhetoric style, and the modern civilized world could only emerge —for better or for worse— when Western Europe could free itself from the fetters…
LLM's can do math as well.
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#104I have often mused that, in some ways, it seems like the transistor is really being wasted in AI applications. We use binary states in normal computing to reduce entropy. In AI this is less of a concern, so why not use more of the available voltage range? Basically, re-think the role of the transistor and re-design from the ground up - maybe NAND gates are not the ideal fundamental building block here?
People are working on that [1]. In some sense, it's a step back to analog computing. Add/multiply is possible to do directly in memory with voltages, but it's less versatile (and stable) than digital computing. So you can't do all calculations in a neural network that way, meaning some digital components will always be necessary. But I'm pretty sure analog will make a comeback for AI chips sooner or later. [1] https:…
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#105Powers of 3 don't pack well into binary memory... A 1 bit multiplier in silicon is a single logic gate, but a ternary decoder to decode a packed tri-state 'weight' is bigger. I therefore suspect that this method will be extended to make all weights simple 1 or 0 (ie. Binary). Perhaps that will be done by having half the weights have 1 or 0 values, while the other half are -1 or 0.
5 trits fit into 1 byte pretty well, since 3^5 = 243 is just under 2^8 = 256. That should be called an 8/5 = 1.6 bit model though, while the paper names it 1.58 bit, closer to log_2(3) ~ 1.5849625
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#106Earlier quoted context omitted.
LLM's can do math as well.
What makes you think that? Which LLMs?
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#107Earlier quoted context omitted.
They call it 1.58-bit in the paper. (1.58 is roughly the base 2 logarithm of 3.)
So by “1-bit” they mean “less than 2 bits”. AI is an insufferable field at times like this.
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#108Earlier quoted context omitted.
LLMs will give normal people a firmer standing in technological society. That's a good thing. But will it change everything? Not a chance. Even if LLMs did change everything, that probably would not be a good thing. Dijkstra says Muslim algebra died when it returned to the rhetoric style, and the modern civilized world could only emerge —for better or for worse— when Western Europe could free itself from the fetters…
LLM's can do math as well.
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#109Earlier quoted context omitted.
LLMs will give normal people a firmer standing in technological society. That's a good thing. But will it change everything? Not a chance. Even if LLMs did change everything, that probably would not be a good thing. Dijkstra says Muslim algebra died when it returned to the rhetoric style, and the modern civilized world could only emerge —for better or for worse— when Western Europe could free itself from the fetters…
LLM's can do math as well.