DFX: A Low-latency Multi-FPGA Appliance for Accelerating Transformer-based Text Generation

计算机科学 现场可编程门阵列 自动汇总 代码生成 设计空间探索 延迟(音频) 加速 变压器 瓶颈 并行计算 计算机硬件 计算机体系结构 嵌入式系统 人工智能 操作系统 电信 物理 量子力学 电压 钥匙(锁)
作者
Seongmin Hong,Seungjae Moon,Junsoo Kim,Sungjae Lee,Minsub Kim,Dongsoo Lee,Joo-Young Kim
标识
DOI:10.1109/micro56248.2022.00051
摘要

Transformer is a deep learning language model widely used for natural language processing (NLP) services in datacenters. Among transformer models, Generative Pretrained Transformer (GPT) has achieved remarkable performance in text generation, or natural language generation (NLG), which needs the processing of a large input context in the summarization stage, followed by the generation stage that produces a single word at a time. The conventional platforms such as GPU are specialized for the parallel processing of large inputs in the summarization stage, but their performance significantly degrades in the generation stage due to its sequential characteristic. Therefore, an efficient hardware platform is required to address the high latency caused by the sequential characteristic of text generation. In this paper, we present DFX, a multi-FPGA acceleration appliance that executes GPT-2 model inference end-to-end with low latency and high throughput in both summarization and generation stages. DFX uses model parallelism and optimized dataflow that is model-and-hardware-aware for fast simultaneous workload execution among devices. Its compute cores operate on custom instructions and provide GPT-2 operations end-to-end. We implement the proposed hardware architecture on four Xilinx Alveo U280 FPGAs and utilize all of the channels of the high bandwidth memory (HBM) and the maximum number of compute resources for high hardware efficiency. DFX achieves 5.58$\times$ speedup and 3.99$\times$ energy efficiency over four NVIDIA V100 GPUs on the modern GPT-2 model. DFX is also 8.21$\times$ more cost-effective than the GPU appliance, suggesting that it is a promising solution for text generation workloads in cloud datacenters.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
张张张xxx完成签到,获得积分10
1秒前
javyyy发布了新的文献求助10
2秒前
2秒前
2秒前
2秒前
2秒前
科研通AI6.1应助Ekko采纳,获得10
3秒前
科研通AI6.4应助小白采纳,获得10
3秒前
繁华若梦完成签到,获得积分10
4秒前
4秒前
青青发布了新的文献求助10
4秒前
好家伙发布了新的文献求助10
4秒前
朴实剑通完成签到,获得积分10
4秒前
Orange应助害怕的千山采纳,获得10
5秒前
有谁共鸣发布了新的文献求助10
5秒前
z哈哈哈发布了新的文献求助10
5秒前
陈彦彬发布了新的文献求助10
5秒前
6秒前
小蘑菇应助斑马不一般采纳,获得10
6秒前
人生几何完成签到,获得积分10
6秒前
fan完成签到,获得积分10
6秒前
6秒前
呆萌冷雪应助可乐不加冰采纳,获得10
6秒前
hhhhhhhhhhhhh完成签到,获得积分10
7秒前
桐桐应助javyyy采纳,获得10
7秒前
7秒前
zqq发布了新的文献求助10
8秒前
bkagyin应助令狐凌波采纳,获得10
9秒前
Yvonne完成签到,获得积分10
10秒前
人生几何发布了新的文献求助10
11秒前
11秒前
拼搏蝴蝶发布了新的文献求助10
12秒前
12秒前
13秒前
烂漫的诗双完成签到,获得积分10
13秒前
陈彦彬完成签到,获得积分10
13秒前
善学以致用应助木鱼采纳,获得10
14秒前
许唐成发布了新的文献求助10
14秒前
深情安青应助HH采纳,获得10
14秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Real Analysis: Theory of Measure and Integration (3rd Edition) Epub版 1200
AnnualResearch andConsultation Report of Panorama survey and Investment strategy onChinaIndustry 1000
卤化钙钛矿人工突触的研究 1000
Engineering for calcareous sediments : proceedings of the International Conference on Calcareous Sediments, Perth 15-18 March 1988 / edited by R.J. Jewell, D.C. Andrews 1000
Continuing Syntax 1000
Production of doubled haploid plants ofCucurbitaceaefamily crops through unpollinated ovule culture in vitro 700
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6266173
求助须知:如何正确求助?哪些是违规求助? 8087639
关于积分的说明 16904471
捐赠科研通 5336507
什么是DOI,文献DOI怎么找? 2840213
邀请新用户注册赠送积分活动 1817386
关于科研通互助平台的介绍 1670847