English

ZeroQuant-HERO: Hardware-Enhanced Robust Optimized Post-Training Quantization Framework for W8A8 Transformers

Machine Learning 2023-10-30 v1 Computation and Language

Abstract

Quantization techniques are pivotal in reducing the memory and computational demands of deep neural network inference. Existing solutions, such as ZeroQuant, offer dynamic quantization for models like BERT and GPT but overlook crucial memory-bounded operators and the complexities of per-token quantization. Addressing these gaps, we present a novel, fully hardware-enhanced robust optimized post-training W8A8 quantization framework, ZeroQuant-HERO. This framework uniquely integrates both memory bandwidth and compute-intensive operators, aiming for optimal hardware performance. Additionally, it offers flexibility by allowing specific INT8 modules to switch to FP16/BF16 mode, enhancing accuracy.

Keywords

Cite

@article{arxiv.2310.17723,
  title  = {ZeroQuant-HERO: Hardware-Enhanced Robust Optimized Post-Training Quantization Framework for W8A8 Transformers},
  author = {Zhewei Yao and Reza Yazdani Aminabadi and Stephen Youn and Xiaoxia Wu and Elton Zheng and Yuxiong He},
  journal= {arXiv preprint arXiv:2310.17723},
  year   = {2023}
}

Comments

8 pages, 2 figures

R2 v1 2026-06-28T13:03:13.500Z