mlsanityData to 7 Oct 2026

Fast NF4 Dequantization Kernels for Large Language Model Inference

arXiv 2604.02556 ↗First posted 2 Apr 2026cs.LG cs.AR cs.PFcited by 0

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have grown beyond the memory capacity of single GPU devices, necessitating quantization techniques for practical deployment. While NF4 (4-bit NormalFloat) quantization enables 4× memory reduction, inference on current NVIDIA GPUs (e.g., Ampere A100) requires expensive dequantization back to FP16 format, creating a critical performance bottleneck. This paper presents a lightweight shared memory optimization that addresses this gap through principled memory hierarchy exploitation while maintaining full ecosystem compatibility. We compare our technique against the open-source BitsAndBytes implementation, achieving 2.0--2.2× kernel speedup across three models (Gemma 27B, Qwen3 32B, and Llama3.3 70B) and up to 1.54× end-to-end improvement by leveraging the 12--15× latency advantage of shared memory over global memory access. Our optimization reduces instruction counts through simplified indexing logic while using only 64 bytes of shared memory per thread block, demonstrating that lightweight optimizations can deliver substantial performance gains with minimal engineering effort. This work provides a plug-and-play solution for the HuggingFace ecosystem that democratizes access to advanced models on existing GPU infrastructure.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 14 of its 22 references that are in the map. First posted on arXiv 2 Apr 2026.

Builds on

14 of 22 references.

References · 14

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2025Qwen3 Technical Reportcited by 8,195
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  7. 2020Scaling Laws for Neural Language Modelscited by 6,411
  8. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  9. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
  10. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  11. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  12. 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Modelscited by 98
2 more
  1. 2024Fast Matrix Multiplications for Lookup Table-Quantized LLMscited by 27
  2. 2022Demystifying the Nvidia Ampere Architecture through Microbenchmarking and Instruction-level Analysiscited by 9

Built on by

Not cited yet.