NestedFP: High-Performance, Memory-Efficient Dual-Precision Floating Point Support for LLMs

Haeun Lee, O. Kwon, Yeonhong Park, Jae W. Lee
6/1/2025
6 citations

No official code found. Best implementation: SNU-ARC/NestedFP (7 stars).

Abstract

Meeting service-level objectives (SLOs) in Large Language Models (LLMs) serving is critical, but managing the high variability in load presents a significant challenge. Recent advancements in FP8 inference, backed by native hardware support, offer a potential solution: executing FP16 models by default, while switching to FP8 models during sudden load surges to achieve higher throughput at the cost of a slight quality degradation.

Show full abstract

Although this approach facilitates effective SLO management, it introduces additional memory overhead due to storing two versions of the same model. In response, this paper proposes NestedFP, an LLM serving technique that supports both FP16 and FP8 models in a memory-efficient manner by overlaying FP8 parameters onto FP16 parameters, allowing both models to share the same FP16 memory footprint. By leveraging a compact data format for the overlay and a specialized GEMM kernel optimized for this format, NestedFP ensures minimal degradation in both model quality and inference throughput across both FP8 and FP16 modes. NestedFP provides a flexible platform for dynamic, SLO-aware precision selection. The code is available at https://github.com/SNU-ARC/NestedFP.

View on arXivView PDF

Code Implementations(1)

SNU-ARC/NestedFPCommunity25%

[NeurIPS 2025] NestedFP: High-Performance, Memory-Efficient Dual-Precision Floating Point Support for LLMs

70

Similar Papers

Cite this paper

@article{lee2025nestedfp,
  title  = {NestedFP: High-Performance, Memory-Efficient Dual-Precision Floating Point Support for LLMs},
  author = {Haeun Lee and O. Kwon and Yeonhong Park and Jae W. Lee},
  year   = {2025},
  eprint = {2506.02024},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2506.02024},
  url    = {https://doi.org/10.48550/arXiv.2506.02024},
  journal = {Neural Information Processing Systems}
}

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/2506.02024.svg)](https://codeofpaper.com/paper/2506.02024)

Discussion