First-Generation Inference Accelerator Deployment at Facebook
Not on the map. Why?
Abstract (arXiv)
In this paper, we provide a deep dive into the deployment of inference accelerators at Facebook. Many of our ML workloads have unique characteristics, such as sparse memory accesses, large model sizes, as well as high compute, memory and network bandwidth requirements. We co-designed a high-performance, energy-efficient inference accelerator platform based on these requirements. We describe the inference accelerator platform ecosystem we developed and deployed at Facebook: both hardware, through Open Compute Platform (OCP), and software framework and tooling, through Pytorch/Caffe2/Glow. A characteristic of this ecosystem from the start is its openness to enable a variety of AI accelerators from different vendors. This platform, with six low-power accelerator cards alongside a single-socket host CPU, allows us to serve models of high complexity that cannot be easily or efficiently run on CPUs. We describe various performance optimizations, at both platform and accelerator level, which enables this platform to serve production traffic at Facebook. We also share deployment challenges, lessons learned during performance optimization, as well as provide guidance for future inference hardware co-design.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Jul 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 3; 2023: 1; 2024: 1.
7 papers.
- 2022FP8 Formats for Deep Learningcited by 187
- 2021MixNorm: Test-Time Adaptation Through Online Normalization Estimationcited by 47
- 2022DFX: A Low-latency Multi-FPGA Appliance for Accelerating Transformer-based Text Generationcited by 46
- 2023MP-Rec: Hardware-Software Co-Design to Enable Multi-Path Recommendationcited by 9
- 2024Ascend HiFloat8 Format for Deep Learningcited by 7
- 2022Special Session: Towards an Agile Design Methodology for Efficient, Reliable, and Secure ML Systemscited by 6
- 2021Supporting Massive DLRM Inference Through Software Defined Memorycited by 5
- 2024Ascend HiFloat8 Format for Deep Learning25 Sep 2024
- 2023MP-Rec: Hardware-Software Co-Design to Enable Multi-Path Recommendation21 Feb 2023
- 2022DFX: A Low-latency Multi-FPGA Appliance for Accelerating Transformer-based Text Generation22 Sep 2022
- 2022FP8 Formats for Deep Learning12 Sep 2022
- 2022Special Session: Towards an Agile Design Methodology for Efficient, Reliable, and Secure ML Systems18 Apr 2022
- 2021Supporting Massive DLRM Inference Through Software Defined Memory21 Oct 2021
- 2021MixNorm: Test-Time Adaptation Through Online Normalization Estimation21 Oct 2021