logoalt Hacker News

janalsncmyesterday at 11:12 PM2 repliesview on HN

PTQ and vector quantization aren’t used for this because part of the point of ternary LLMs is to make them faster. In a ternary LLM every weight is an add, subtract, or no-op so it is fast on CPU.

If you’re just using a code book to reconstruct a f16 model the only savings you can get are in sending it over the wire.


Replies

om8today at 1:40 AM

> If you’re just using a code book to reconstruct a f16 model the only savings you can get are in sending it over the wire.

That’s why you need to use efficient gemm kernels like FLUTE for inference. They are ~as good as what you can do with ternary quantization.

mitxelayesterday at 11:35 PM

which is important though since sending it across the wire over and over and over is actually the main bottleneck.