FBGEMM: Enabling High-Performance Low-Precision Deep Learning Inference

By Daya Shanker Khudia, Jianyu Huang, Protonu Basu, Summer Deng, Haixin Liu, Jongsoo Park, M. Smelyanskiy. 2021

69 citations recorded by the source corpus.

Deep learning models typically use single-precision (FP32) floating point data types for representing activations and weights, but a slew of recent research work has shown that computations with reduced-precision data types (FP16, 16-bit integers, 8-bit integers or even 4- or 2-bit integers) are enough to achieve same accuracy as FP32 and are much more efficient. Therefore, we designed fbgemm, a high-performance kernel library, from ground up to perform high-performance quantized inference on current generation CPUs. fbgemm achieves efficiency by fusing common quantization operations with a high-performance gemm implementation and by shape- and size-specific kernel code generation at runtime. The library has been deployed at Facebook, where it delivers greater than 2x performance gains with respect to our current production baseline.

Subfields: Computer Networks and Communications, Computer Vision and Pattern Recognition, Hardware and Architecture, 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 Computer Networks and Communications

  1. Carole-Jean Wu
  2. Ali Farhadi
  3. Jongsoo Park
  4. M. Smelyanskiy
  5. Daya Shanker Khudia
  6. Jianyu Huang
  7. Luke S. Zettlemoyer
  8. Haixin Liu

In Computer Vision and Pattern Recognition

  1. Luke S. Zettlemoyer
  2. Ali Farhadi
  3. Luc Van Gool
  4. Michael Lewis
  5. Trevor Darrell
  6. Dacheng Tao
  7. Ming-Hsuan Yang
  8. Tim Dettmers

In Hardware and Architecture

  1. Tim Dettmers
  2. Luke S. Zettlemoyer
  3. Ludwig Schmidt
  4. Jongsoo Park
  5. M. Smelyanskiy
  6. Daya Shanker Khudia
  7. Jianyu Huang
  8. Haixin Liu

In Efficiency & Compression

  1. Luke S. Zettlemoyer
  2. Tim Dettmers
  3. Michael Lewis
  4. Mitchell Wortsman
  5. Ali Farhadi
  6. Ludwig Schmidt
  7. Ari S. Morcos
  8. Dan Alistarh

In ML Systems & Hardware

  1. Carole-Jean Wu
  2. Ali Farhadi
  3. Luke S. Zettlemoyer
  4. Tim Dettmers
  5. Young Geun Kim

Citations in the corpus