mlsanityData to 7 Oct 2026

The Feasibility of Implementing Large-Scale Transformers on Multi-FPGA Platforms

arXiv 2404.16158 ↗First posted 24 Apr 2024cs.AR cs.DC cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

FPGAs are rarely mentioned when discussing the implementation of large machine learning applications, such as Large Language Models (LLMs), in the data center. There has been much evidence showing that single FPGAs can be competitive with GPUs in performance for some computations, especially for low latency, and often much more efficient when power is considered. This suggests that there is merit to exploring the use of multiple FPGAs for large machine learning applications. The challenge with using multiple FPGAs is that there is no commonly-accepted flow for developing and deploying multi-FPGA applications, i.e., there are no tools to describe a large application, map it to multiple FPGAs and then deploy the application on a multi-FPGA platform. In this paper, we explore the feasibility of implementing large transformers using multiple FPGAs by developing a scalable multi-FPGA platform and some tools to map large applications to the platform. We validate our approach by designing an efficient multi-FPGA version of the I-BERT transformer and implement one encoder using six FPGAs as a working proof-of-concept to show that our platform and tools work. Based on our proof-of-concept prototype and the estimations of performance using the latest FPGAs compared to GPUs, we conclude that there can be a place for FPGAs in the world of large machine learning applications. We demonstrate a promising first step that shows that with the right infrastructure and tools it is reasonable to continue to explore the possible benefits of using FPGAs for applications such as LLMs.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 45 references that are in the map. First posted on arXiv 24 Apr 2024.

Builds on

17 of 45 references.

References · 17

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
  7. 2021I-BERT: Integer-only BERT Quantizationcited by 250
  8. 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 198
  9. 2024FlightLLM: Efficient Large Language Model Inference with a Complete Mapping Flow on FPGAscited by 60
  10. 2020FTRANS: Energy-Efficient Acceleration of Transformers using FPGAcited by 52
  11. 2022DFX: A Low-latency Multi-FPGA Appliance for Accelerating Transformer-based Text Generationcited by 46
  12. 2023Understanding the Potential of FPGA-Based Spatial Acceleration for Large Language Model Inferencecited by 29
5 more
  1. 2021NPE: An FPGA-based Overlay Processor for Natural Language Processingcited by 15
  2. 2016DLAU: A Scalable Deep Learning Accelerator Unit on FPGAcited by 12
  3. 2024SSR: Spatial Sequential Hybrid Architecture for Latency Throughput Tradeoff in Transformer Accelerationcited by 9
  4. 2023CHARM: Composing Heterogeneous Accelerators for Matrix Multiply on Versal ACAP Architecturecited by 5
  5. 2023RIFL: A Reliable Link Layer Network Protocol for Data Center Communicationcited by 1

Built on by

Not cited yet.