LightSeq: A High Performance Inference Library for Transformers

By Xiaohui Wang, Ying Xiong, Yang Wei, Mingxuan Wang, Lei Li. 2021

72 citations recorded by the source corpus.

Transformer and its variants have achieved great success in natural language processing. Since Transformer models are huge in size, serving these models is a challenge for real industrial applications. In this paper, we propose , a highly efficient inference library for models in the Transformer family. includes a series of GPU optimization techniques to both streamline the computation of Transformer layers and reduce memory footprint. supports models trained using PyTorch and Tensorflow. Experimental results on standard machine translation benchmarks show that achieves up to 14x speedup compared with TensorFlow and 1.4x speedup compared with , a concurrent CUDA implementation. The code will be released publicly after the review.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Efficiency & Compression, ML Systems & Hardware

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Christopher R'e
  2. Ji-rong Wen
  3. Wayne Xin Zhao
  4. Ce Zhang
  5. Percy Liang
  6. Ion Stoica
  7. Jian-Yun Nie
  8. Jianfeng Gao

In Computer Vision and Pattern Recognition

  1. Christopher R'e
  2. Ji-rong Wen
  3. Wayne Xin Zhao
  4. Daniel Y. Fu
  5. Ce Zhang
  6. Ion Stoica
  7. Percy Liang
  8. Jian-Yun Nie

In Efficiency & Compression

  1. Daniel Y. Fu
  2. Ji-rong Wen
  3. Jian-Yun Nie
  4. Percy Liang
  5. Ajit Rajasekharan
  6. Ce Zhang
  7. Tianyi Tang
  8. Junyi Li

In ML Systems & Hardware

  1. Percy Liang
  2. Ce Zhang
  3. Christopher R'e
  4. Lianmin Zheng
  5. Ion Stoica
  6. Beidi Chen
  7. Daniel Y. Fu

Citations in the corpus