logoalt Hacker News

om8yesterday at 10:40 PM2 repliesview on HN

Ternary quantization does not make any sense. Vector quantization and trellis based methods are better in this region for PTQ.


Replies

janalsncmyesterday at 11:12 PM

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.

show 2 replies
om8yesterday at 10:42 PM

If you want sub-2 bit llm, get one that’s already trained in higher precision, and compress it with something like YAQA/QTIP with finetuning or PV-tuning + AQLM/HIGGS