paper-with-me

홈 › Papers

Zero-Shot Dynamic Quantization for Transformer Inference

2022-11-17 · Yousef El-Kurdi, Jerry Quinn, Avirup Sil

We introduce a novel run-time method for significantly reducing the accuracy loss associated with quantizing BERT-like models to 8-bit integers. Existing methods for quantizing models either modify the training procedure,or they require an additional calibration step to adjust parameters that also requires a selected held-out dataset. Our method permits taking advantage of quantization without the need for these adjustments. We present results on several NLP tasks demonstrating the usefulness of this technique.

📄 PDF Abstract BibTeX arXiv:2211.09744

Code (4)

2023-MindSpore-1/ms-code-211/tree/main/DynamicQuant mindspore
2023-MindSpore-4/Code3/tree/main/DynamicQuant mindspore
MindSpore-MS-Code2/code0/tree/main/DynamicQuant mindspore
MindSpore-paper-code-3/code8/tree/main/DynamicQuant mindspore

Tasks

Quantization

Similar Papers 제목 키워드 기반

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

2023-10-26 · Zhewei Yao, Reza Yazdani Aminabadi, Stephen Youn, Xiaoxia Wu 외

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 ov…

Quantization

Zero-Shot Sharpness-Aware Quantization for Pre-trained Language Models

2023-10-20 · Miaoxi Zhu, Qihuang Zhong, Li Shen, Liang Ding 외

Quantization is a promising approach for reducing memory overhead and accelerating inference, especially in large pre-trained language model (PLM) scenarios. While having no access to original training data due to securi…

Language ModelingLanguage ModellingQuantization

The case for 4-bit precision: k-bit Inference Scaling Laws

2022-12-19 · Tim Dettmers, Luke Zettlemoyer

Quantization methods reduce the number of bits required to represent each parameter in a model, trading accuracy for smaller memory footprints and inference latencies. However, the final model size depends on both the nu…

Quantization

ZeroQ: A Novel Zero Shot Quantization Framework

2020-01-01 · CVPR 2020 6 · Yaohui Cai, Zhewei Yao, Zhen Dong, Amir Gholami 외

Quantization is a promising approach for reducing the inference time and memory footprint of neural networks. However, most existing quantization methods require access to the original training dataset for retraining dur…

Data Free QuantizationModel CompressionNeural Network CompressionQuantization

A Generalized Zero-Shot Quantization of Deep Convolutional Neural Networks via Learned Weights Statistics

2021-12-06 · Prasen Kumar Sharma, Arun Abraham, Vikram Nelvoy Rajendiran

Quantizing the floating-point weights and activations of deep convolutional neural networks to fixed-point representation yields reduced memory footprints and inference time. Recently, efforts have been afoot towards zer…

Quantization