Making LLMs even more accessible with bitsandbytes, 4-bit quantization and QLoRA
Read the original on Hugging Face Blog →The Flow has not summarised this story yet — read it at Hugging Face Blog.
The Flow has not summarised this story yet — read it at Hugging Face Blog.
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.
A Detailed Look at One of the Leading Open-Source LLMs
arXiv:2606. 04050v1 Announce Type: cross Abstract: Existing quantization methods are fundamentally limited by rigid, integer-based bit-widths (e.
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.