paper-with-me

Papers

SAMP: A Model Inference Toolkit of Post-Training Quantization for Text Processing via Self-Adaptive Mixed-Precision

2022-09-19 · Rong Tian, Zijing Zhao, Weijie Liu, Haoyan Liu, Weiquan Mao, Zhe Zhao, Kan Zhou

The latest industrial inference engines, such as FasterTransformer and TurboTransformers, have verified that half-precision floating point (FP16) and 8-bit integer (INT8) quantization can greatly improve model inference speed. However, the existing INT8 quantization methods are too complicated, and improper usage will lead to model performance damage greatly. In this paper, we develop a toolkit for users to easily quantize their models for inference, in which Self-Adaptive Mixed-Precision (SAMP) is proposed to automatically control quantization rate by a mixed-precision architecture to balance model accuracy and efficiency. Experimental results show that our SAMP toolkit has a higher speedup than PyTorch and FasterTransformer while ensuring the required accuracy. In addition, SAMP is based on a modular design, decoupling the tokenizer, embedding, encoder and target layers, which allows users to handle various downstream tasks and can be seamlessly integrated into PyTorch.

📄 PDF Abstract BibTeX arXiv:2209.09130

Code (0)

등록된 구현이 없습니다.

Tasks

Quantization

Similar Papers 제목 키워드 기반

Neural Network Quantization with AI Model Efficiency Toolkit (AIMET)

2022-01-20 · Sangeetha Siddegowda, Marios Fournarakis, Markus Nagel, Tijmen Blankevoort 외

While neural networks have advanced the frontiers in many machine learning applications, they often come at a high computational cost. Reducing the power and latency of neural network inference is vital to integrating mo…

Model OptimizationQuantization

Quantization Backdoors to Deep Learning Commercial Frameworks

2021-08-20 · Hua Ma, Huming Qiu, Yansong Gao, Zhi Zhang 외

Currently, there is a burgeoning demand for deploying deep learning (DL) models on ubiquitous edge Internet of Things (IoT) devices attributed to their low latency and high privacy preservation. However, DL models are of…

Deep LearningQuantization

AngelSlim: A more accessible, comprehensive, and efficient toolkit for large model compression

2026-02-07 · Rui Cen, QiangQiang Hu, Hong Huang, Hong Liu 외 arxiv

This technical report introduces AngelSlim, a comprehensive and versatile toolkit for large model compression developed by the Tencent Hunyuan team. By consolidating cutting-edge algorithms, including quantization, specu…

Model Compression

Quantization of Acoustic Model Parameters in Automatic Speech Recognition Framework

2020-06-16

Robust automatic speech recognition (ASR) system exploits state-of-the-art deep neural networks (DNN) based acoustic model (AM) trained with Lattice Free-Maximum Mutual Information (LF-MMI) criterion and n-gram language …

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)Quantizationspeech-recognition+1

The Sockeye 2 Neural Machine Translation Toolkit at AMTA 2020

2020-08-11 · AMTA 2020 10 · Tobias Domhan, Michael Denkowski, David Vilar, Xing Niu 외

We present Sockeye 2, a modernized and streamlined version of the Sockeye neural machine translation (NMT) toolkit. New features include a simplified code base through the use of MXNet's Gluon API, a focus on state of th…

CPUMachine TranslationNMTQuantization+1