mlsanityData to 7 Oct 2026

FP8 versus INT8 for efficient deep learning inference

arXiv 2303.17951 ↗First posted 31 Mar 2023cs.LGcited by 31

Not on the map. Why?

Abstract (arXiv)

Recently, the idea of using FP8 as a number format for neural network training has been floating around the deep learning world. Given that most training is currently conducted with entire networks in FP32, or sometimes FP16 with mixed-precision, the step to having some parts of a network run in FP8 with 8-bit weights is an appealing potential speed-up for the generally costly and time-intensive training procedures in deep learning. A natural question arises regarding what this development means for efficient inference on edge devices. In the efficient inference device world, workloads are frequently executed in INT8. Sometimes going even as low as INT4 when efficiency calls for it. In this whitepaper, we compare the performance for both the FP8 and INT formats for efficient on-device inference. We theoretically show the difference between the INT and FP formats for neural networks and present a plethora of post-training quantization and quantization-aware-training results to show how this theory translates to practice. We also provide a hardware analysis showing that the FP formats are somewhere between 50-180% less efficient in terms of compute in dedicated hardware than the INT format. Based on our research and a read of the research field, we conclude that although the proposed FP8 format could be good for training, the results for inference do not warrant a dedicated implementation of FP8 in favor of INT8 for efficient inference. We show that our results are mostly consistent with previous findings but that important comparisons between the formats have thus far been lacking. Finally, we discuss what happens when FP8-trained networks are converted to INT8 and conclude with a brief discussion on the most efficient way for on-device deployment and an extensive suite of INT8 results for many models.

Key facts. Cited by 31 papers in the map (data through 7 Oct 2026). Builds on 41 of its 66 references that are in the map. First posted on arXiv 31 Mar 2023.

Builds on

41 of 66 references.

References · 41

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  5. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  7. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  8. 2019nuScenes: A multimodal dataset for autonomous drivingcited by 4,485
  9. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
  10. 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
  11. 2019Searching for MobileNetV3cited by 1,984
  12. 2019Deep High-Resolution Representation Learning for Visual Recognitioncited by 1,417
29 more
  1. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
  2. 2020Center-based 3D Object Detection and Trackingcited by 1,143
  3. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
  4. 2019Learned Step Size Quantizationcited by 604
  5. 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
  6. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 517
  7. 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 507
  8. 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 464
  9. 2021A White Paper on Neural Network Quantizationcited by 453
  10. 2015Deep Learning with Limited Numerical Precisioncited by 368
  11. 2019Data-Free Quantization Through Weight Equalization and Bias Correctioncited by 328
  12. 2019Q8BERT: Quantized 8Bit BERTcited by 296
  13. 2022The case for 4-bit precision: k-bit Inference Scaling Lawscited by 247
  14. 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 240
  15. 2020SalsaNext: Fast, Uncertainty-aware Semantic Segmentation of LiDAR Point Clouds for Autonomous Drivingcited by 226
  16. 2022FP8 Formats for Deep Learningcited by 187
  17. 2020LSQ+: Improving low-bit quantization through learnable offsets and better initializationcited by 180
  18. 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 163
  19. 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
  20. 2022Overcoming Oscillations in Quantization-Aware Trainingcited by 116
  21. 2022FP8 Quantization: The Power of the Exponentcited by 87
  22. 2023With Shared Microexponents, A Little Shifting Goes a Long Waycited by 47
  23. 2019Training High-Performance and Large-Scale Deep Neural Networks with Full 8-bit Integerscited by 32
  24. 2022Neural Network Quantization with AI Model Efficiency Toolkit (AIMET)cited by 24
  25. 20228-bit Numerical Formats for Deep Neural Networkscited by 23
  26. 2021In-Hindsight Quantization Range Estimation for Quantized Trainingcited by 7
  27. 2021All-You-Can-Fit 8-Bit Flexible Floating-Point Format for Accurate and Memory-Efficient Inference of Deep Neural Networkscited by 5
  28. 2021Dense Prediction with Attentive Feature Aggregationcited by 4
  29. 2022Simple and Efficient Architectures for Semantic Segmentationcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 8; 2024: 8; 2025: 8; 2026: 7.

31 papers.

Sort:

By area:

  1. 2023Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothingcited by 147
  2. 2024Small Language Models: Survey, Measurements, and Insightscited by 109
  3. 2023ZeroQuant-FP: A Leap Forward in LLMs Post-Training W4A8 Quantization Using Floating-Point Formatscited by 44
  4. 2023A Survey of Techniques for Optimizing Transformer Inferencecited by 35
  5. 2024Mitigating the Impact of Outlier Channels for Language Model Quantization with Activation Regularizationcited by 23
  6. 2025GSQ-Tuning: Group-Shared Exponents Integer in Fully Quantized Training for LLMs On-Device Fine-tuningcited by 21
  7. 2023Training and inference of large language models using 8-bit floating pointcited by 20
  8. 2024Effective Interplay between Sparsity and Quantization: From Theory to Practicecited by 16
  9. 2023ZeroQuant(4+2): Redefining LLMs Quantization with a New FP6-Centric Strategy for Diverse Generative Taskscited by 14
  10. 2025HALO: Hadamard-Assisted Lower-Precision Optimization for LLMscited by 14
  11. 2024INT-FlashAttention: Enabling Flash Attention for INT8 Quantizationcited by 9
  12. 2025FP4DiT: Towards Effective Floating Point Quantization for Diffusion Transformerscited by 6
19 more
  1. 2025Pioneering 4-Bit FP Quantization for Diffusion Models: Mixup-Sign Quantization and Timestep-Aware Fine-Tuningcited by 6
  2. 2024Towards Cheaper Inference in Deep Networks with Lower Bit-Width Accumulatorscited by 4
  3. 2024Scalify: scale propagation for efficient low-precision LLM trainingcited by 4
  4. 2025Improving Quantization with Post-Training Model Expansioncited by 4
  5. 2023Hadamard Domain Training with Integers for Class Incremental Quantized Learningcited by 3
  6. 2023Look-Up mAI GeMM: Increasing AI GeMMs Performance by Nearly 2.5x via msGeMMcited by 3
  7. 2025P3-LLM: An Integrated NPU-PIM Accelerator for Edge LLM Inference Using Hybrid Numerical Formatscited by 3
  8. 2026SnapMLA: Efficient Long-Context MLA Decoding via Hardware-Aware FP8 Quantized Pipeliningcited by 3
  9. 2026A Survey on the Green Development of Large Models: From Resource-Efficient Architectures to Hardware-Software Co-Designcited by 3
  10. 2023Dual Grained Quantization: Efficient Fine-Grained Quantization for LLMcited by 2
  11. 2024Adaptive Resolution Inference (ARI): Energy-Efficient Machine Learning for Internet of Thingscited by 2
  12. 2026dMX: Differentiable Mixed-Precision Assignment for Low-Precision Floating-Point Formatscited by 2
  13. 2026The Integer Alibi: Localizing Cross-Kernel Divergence in INT8-Quantized LLM Inferencecited by 2
  14. 2025Resource-Efficient Language Models: Quantization for Fast and Accessible Inferencecited by 1
  15. 2025Dual Precision Quantization for Efficient and Accurate Deep Neural Networks Inferencecited by 1
  16. 2024Procrastination Is All You Need: Exponent Indexed Accumulators for Floating Point, Posits and Logarithmic Numberscited by 0
  17. 2026ALADIN: Accuracy-Latency-Aware Design-space Inference Analysis for Embedded AI Acceleratorscited by 0
  18. 2026TileMix: Tile-Centric Mixed-Precision Attention for LLM Inference Accelerationcited by 0
  19. 2026A Closed-Loop Evaluation of Capability Loss and Recovery in Compressed Driving Policiescited by 0