Hugging Face Blog

Making LLMs even more accessible with bitsandbytes, 4-bit quantization and QLoRA

arXiv AI
1d ago

MixFold: Sub-4-Bit Mixed-Precision LLM Inference via Output-Channel Grouping on Mobile NPUs

MixFold is a method for sub‑4‑bit mixed‑precision inference of large language models on mobile NPUs. It runs 3‑bit and perfectly symmetric 2‑bit weights using native integer operations without expanding them to wider types, and assigns datatypes to output‑channel groups that align with matrix‑unit tiles, allowing finer granularity than layer‑level assignment. In tests on the Qualcomm Hexagon NPU of a Snapdragon 8 Elite Gen 5, MixFold matches or exceeds llama.cpp’s sub‑4‑bit accuracy while decoding 1.16–1.41× faster and producing 1.5–4.3× more tokens per joule.

By Vinnam Kim, Seong Hoon Seo, Junhan Kim, Jaeseong You, An Chen
arXiv AI
1d ago

A Continuous Relaxation of Quantization-Aware Training

The paper introduces RelaxQAT, a continuous relaxation of quantization‑aware training that gradually adjusts bitwidth during model training. This approach addresses challenges of low‑bit quantization, such as limited levels and flat loss surfaces, by avoiding abrupt changes in precision. Experiments show that RelaxQAT yields up to 6.3% accuracy gains on vision tasks and 7.7% on natural language tasks compared to leading QAT methods.

By Kartikeya Bhardwaj, Mohammed Almousa, Chaitanya Mullapudi, Ananth Balasubramanian, Nithin Ramesan, Tuc Nguyen, Harris Teague
Hugging Face Trending Papers
Jun 25

CAT-Q: Cost-efficient and Accurate Ternary Quantization for LLMs

In this paper, we present CAT-Q, Cost-efficient and Accurate Ternary Quantization, for compressing and accelerating LLMs. Unlike existing state-of-the-art ternary quantization methods that rely on data-intensive and costly quantization-aware training to mitigate severe performance degradation, CAT-Q is a simple yet effective post-training quantization scheme that is readily applicable to LLMs with diverse architectures and model sizes.

arXiv Machine Learning
Sep 1

A Target-Centric Survey of Quantization-Aware Training

The paper presents a target‑centric survey of Quantization‑Aware Training (QAT), a technique that simulates quantization during model training to produce low‑bit models with accuracy comparable to full‑precision ones. It systematically reviews existing QAT methods using a target‑centric taxonomy, highlighting differences in error characteristics, numerical formats, and strategy transferability across targets. The survey also summarizes QAT evaluation paradigms, discusses optimization and deployment challenges, and outlines potential future research directions.

By Jiamin Song, Mengjie Zhao, Zijing Wang, Yongkang Liu, Qian Li, Shi Feng, Feiliang Ren, Daling Wang, Hinrich Sch\"utze