Close

Presentation

Ternainfer: Pushing the Compression Boundary of Ternary LLMs Towards 1.58-Bit GPU Inference
DescriptionRecent advances in Microsoft's ternary BitNet, restricting weights to {-1, 0, +1}, have highlighted the potential of low-bit large language models (LLMs).
Ideally, each ternary weight requires only log_2(3), approximately 1.58 bits. However, existing inference systems still use redundant bit representations for computational efficiency.
To push the compression boundary and maintain efficiency, we propose TernaInfer, a GPU inference framework for ternary LLMs that integrates lossless compression with ternary-optimized sparse matrix multiplication.
To our knowledge, TernaInfer is the first work to realize 1.58 bits per weight on the ternary BitNet while providing 1.53 times throughput improvement over half-precision GPU inference.