Elastic-DF: Scaling Performance of DNN Inference in FPGA Clouds through Automatic Partitioning
Authors:
Open Access
- 6 December 2021
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Reconfigurable Technology and Systems
- Vol. 15 (2) , 1-34
Abstract
Customized compute acceleration in the datacenter is key to the wider roll-out of applications based on deep neural network (DNN) inference. In this article, we investigate how to maximize the performance and scalability of field-programmable gate array (FPGA)-based pipeline dataflow DNN inference accelerators (DFAs) automatically on computing infrastructures consisting of multi-die, network-connected FPGAs. We present Elastic-DF, a novel resource partitioning tool and associated FPGA runtime infrastructure that integrates with the DNN compiler FINN. Elastic-DF allocates FPGA resources to DNN layers and layers to individual FPGA dies to maximize the total performance of the multi-FPGA system. In the resulting Elastic-DF mapping, the accelerator may be instantiated multiple times, and each instance may be segmented across multiple FPGAs transparently, whereby the segments communicate peer-to-peer through 100 Gbps Ethernet FPGA infrastructure, without host involvement. When applied to ResNet-50, Elastic-DF provides a 44% latency decrease on Alveo U280. For MobileNetV1 on Alveo U200 and U280, Elastic-DF enables a 78% throughput increase, eliminating the performance difference between these cards and the larger Alveo U250. Elastic-DF also increases operating frequency in all our experiments, on average by over 20%. Elastic-DF therefore increases performance portability between different sizes of FPGA and increases the critical throughput per cost metric of datacenter inference.Keywords
This publication has 38 references indexed in Scilit:
- FINN2017
- Hardware TCP Offload Engine based on 10-Gbps Ethernet for low-latency network communication2016
- Low-latency TCP/IP stack for data center applications2016
- fpgaConvNet: A Framework for Mapping Convolutional Neural Networks on FPGAs2016
- Energy-Efficient CNN Implementation on a Deeply Pipelined FPGA Cluster2016
- Modular Placement for Interposer based Multi-FPGA Systems2016
- HETRIS: Adaptive floorplanning for heterogeneous FPGAs2015
- Multiple Dice Working as One: CAD Flows and Routing Architectures for Silicon Interposer FPGAsIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2015
- Scalable 10Gbps TCP/IP Stack Architecture for Reconfigurable Hardware2015
- 40Gbps multi-connection TCP/IP offload engine2011