SFMP: Fine-Grained, Hardware-Friendly and Search-Free Mixed-Precision Quantization for Large Language Models

Xin Nie, Haicheng Zhang, Liang Dong, Beining Feng, Jinhong Weng +1 more
2/1/2026
2 citations
cs.LG
quantization-pruning

Official code: Nkniexin/SFMP (5 stars, Python, last commit 2026-06-09).

Abstract

Mixed-precision quantization is a promising approach for compressing large language models under tight memory budgets. However, existing mixed-precision methods typically suffer from one of two limitations: they either rely on expensive discrete optimization to determine precision allocation, or introduce hardware inefficiencies due to irregular memory layouts.

Show full abstract

We propose SFMP, a search-free and hardware-friendly mixed-precision quantization framework for large language models. The framework is built upon four novel ideas: Fractional bit-width, which extends integer bit-width for weight matrix to fractional value and transforms discrete precision allocation as a continuous problem; 2)Block-wise mixed-precision, enabling fine-grained precision within weight matrices while remaining hardware-friendly; 3)Row-column weight reordering, which aggregates salient weights via row and column reordering, incurring only a small activation reordering overhead during inference; 4)Unified GEMM kernel, which supports mixed-precision GEMM at arbitrary average bit-width. Extensive experiments demonstrate that SFMP outperforms state-of-the-art layer-wise mixed-precision methods under the same memory constraints, while significantly reducing quantization cost and improving inference efficiency. Code is available at https://github.com/Nkniexin/SFMP

View on arXivView PDF

Code Implementations(1)

Nkniexin/SFMPOfficial100%

official implementation for "SFMP: Fine-Grained, Hardware-Friendly and Search-Free Mixed-Precision Quantization for Large Language Models"

52Python, C++Dec 5, 20255 months ago

Similar Papers

Cite this paper

@article{nie2026sfmp,
  title  = {SFMP: Fine-Grained, Hardware-Friendly and Search-Free Mixed-Precision Quantization for Large Language Models},
  author = {Xin Nie and Haicheng Zhang and Liang Dong and Beining Feng and Jinhong Weng and Guiling Sun},
  year   = {2026},
  eprint = {2602.01027},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.01027v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.01027.svg)](https://codeofpaper.com/paper/2602.01027)

Discussion