跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

电气工程与系统科学 > 系统与控制

arXiv:2209.10797 (eess)
[提交于 2022年9月22日]

标题: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
查看论文《DFX: A Low-latency Multi-FPGA Appliance for Accelerating Transformer-based Text Generation》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Transformer is a deep learning language model widely used for natural language processing (NLP) services in datacenters. Among transformer models, Generative Pre-trained 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.58x speedup and 3.99x energy efficiency over four NVIDIA V100 GPUs on the modern GPT-2 model. DFX is also 8.21x more cost-effective than the GPU appliance, suggesting that it is a promising solution for text generation workloads in cloud datacenters.
评论: Extension of HOTCHIPS 2022 and accepted in MICRO 2022
主题: 系统与控制 (eess.SY); 硬件体系结构 (cs.AR); 机器学习 (cs.LG); 系统与控制 (cs.SY)
引用方式: arXiv:2209.10797 [eess.SY]
  (或者 arXiv:2209.10797v1 [eess.SY] 对于此版本)
  https://doi.org/10.48550/arXiv.2209.10797

提交历史

来自:Seongmin Hong
[v1] 2022年9月22日 星期四 05:59:59 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

eess.SY
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-09
切换浏览方式为:
eess
cs.AR
cs.LG
cs.SY

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站