NestedFP: High-Performance, Memory-Efficient Dual-Precision Floating Point Support for LLMs
Haeun Lee, Omin Kwon, Yeonhong Park, Jae W. Lee

TL;DR
NestedFP introduces a memory-efficient method for supporting dual-precision FP16 and FP8 inference in large language models, enabling dynamic SLO management with minimal quality and performance trade-offs.
Contribution
It proposes a novel overlay technique that allows FP8 parameters to share memory with FP16 parameters, reducing memory overhead for dual-precision LLM serving.
Findings
Supports both FP16 and FP8 with minimal quality loss
Reduces memory overhead by overlaying FP8 onto FP16 parameters
Maintains high inference throughput across modes
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. 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMagnetic confinement fusion research · Numerical Methods and Algorithms · Parallel Computing and Optimization Techniques
