Optimized Spatial Architecture Mapping Flow for Transformer Accelerators
Recent innovations in Transformer-based large language models have significantly advanced the field of general-purpose neural language understanding and generation. With billions of trainable parameters, deployment of these large models relies on high-performance hardware accelerators to efficiently...
Gespeichert in:
Veröffentlicht in: | arXiv.org 2024-10 |
---|---|
Hauptverfasser: | , , , , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | |
---|---|
container_issue | |
container_start_page | |
container_title | arXiv.org |
container_volume | |
creator | Xu, Haocheng Tahmasebi, Faraz Ye Qiao Tian, Hongzheng Kwon, Hyoukjun Huang, Sitao |
description | Recent innovations in Transformer-based large language models have significantly advanced the field of general-purpose neural language understanding and generation. With billions of trainable parameters, deployment of these large models relies on high-performance hardware accelerators to efficiently deliver the required computation. Spatial architectures, such as TPUs, offer a promising solution to accelerating computation-intensive workloads. However, the design process for existing spatial architectures is predominantly manual, and it often involves time-consuming redesigns for new applications and new problem dimensions, which greatly limits the development of optimally designed accelerators for Transformer models. To address these challenges, we propose SAMT (Spatial Architecture Mapping for Transformers), a comprehensive framework designed to optimize the dataflow mapping of Transformer inference workloads onto spatial accelerators. We demonstrate the effectiveness of SAMT in improving the performance of spatial accelerators for Transformer models. We propose and leverage the dynamic operator fusion schemes for the Transformer models and co-search the optimal dataflow mapping strategies for spatial accelerators. SAMT significantly reduces inference latency by 12% to 91% and energy consumption by 3% to 23% for evaluated Transformer models compared to traditional spatial accelerator designs among edge, mobile and cloud settings. |
format | Article |
fullrecord | <record><control><sourceid>proquest</sourceid><recordid>TN_cdi_proquest_journals_3115595524</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>3115595524</sourcerecordid><originalsourceid>FETCH-proquest_journals_31155955243</originalsourceid><addsrcrecordid>eNqNir0KwjAYAIMgWLTvEHAutEnjz1jE0kUc7F5C_KopaRK_pAg-vR18AKc7uFuQhHFeZIeSsRVJQxjyPGe7PROCJ6S5-qhH_YE7vXkZtTS0QvXUEVScEOhFeq_tg9bGvWnvkLYobZhlBKSVUmAAZXQYNmTZSxMg_XFNtvW5PTWZR_eaIMRucBPaOXW8KIQ4CsFK_t_1BXnzPHk</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>3115595524</pqid></control><display><type>article</type><title>Optimized Spatial Architecture Mapping Flow for Transformer Accelerators</title><source>Free E- Journals</source><creator>Xu, Haocheng ; Tahmasebi, Faraz ; Ye Qiao ; Tian, Hongzheng ; Kwon, Hyoukjun ; Huang, Sitao</creator><creatorcontrib>Xu, Haocheng ; Tahmasebi, Faraz ; Ye Qiao ; Tian, Hongzheng ; Kwon, Hyoukjun ; Huang, Sitao</creatorcontrib><description>Recent innovations in Transformer-based large language models have significantly advanced the field of general-purpose neural language understanding and generation. With billions of trainable parameters, deployment of these large models relies on high-performance hardware accelerators to efficiently deliver the required computation. Spatial architectures, such as TPUs, offer a promising solution to accelerating computation-intensive workloads. However, the design process for existing spatial architectures is predominantly manual, and it often involves time-consuming redesigns for new applications and new problem dimensions, which greatly limits the development of optimally designed accelerators for Transformer models. To address these challenges, we propose SAMT (Spatial Architecture Mapping for Transformers), a comprehensive framework designed to optimize the dataflow mapping of Transformer inference workloads onto spatial accelerators. We demonstrate the effectiveness of SAMT in improving the performance of spatial accelerators for Transformer models. We propose and leverage the dynamic operator fusion schemes for the Transformer models and co-search the optimal dataflow mapping strategies for spatial accelerators. SAMT significantly reduces inference latency by 12% to 91% and energy consumption by 3% to 23% for evaluated Transformer models compared to traditional spatial accelerator designs among edge, mobile and cloud settings.</description><identifier>EISSN: 2331-8422</identifier><language>eng</language><publisher>Ithaca: Cornell University Library, arXiv.org</publisher><subject>Accelerators ; Computation ; Design ; Energy consumption ; Flow mapping ; Inference ; Large language models ; Optimization ; Transformers ; Workload ; Workloads</subject><ispartof>arXiv.org, 2024-10</ispartof><rights>2024. This work is published under http://arxiv.org/licenses/nonexclusive-distrib/1.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>780,784</link.rule.ids></links><search><creatorcontrib>Xu, Haocheng</creatorcontrib><creatorcontrib>Tahmasebi, Faraz</creatorcontrib><creatorcontrib>Ye Qiao</creatorcontrib><creatorcontrib>Tian, Hongzheng</creatorcontrib><creatorcontrib>Kwon, Hyoukjun</creatorcontrib><creatorcontrib>Huang, Sitao</creatorcontrib><title>Optimized Spatial Architecture Mapping Flow for Transformer Accelerators</title><title>arXiv.org</title><description>Recent innovations in Transformer-based large language models have significantly advanced the field of general-purpose neural language understanding and generation. With billions of trainable parameters, deployment of these large models relies on high-performance hardware accelerators to efficiently deliver the required computation. Spatial architectures, such as TPUs, offer a promising solution to accelerating computation-intensive workloads. However, the design process for existing spatial architectures is predominantly manual, and it often involves time-consuming redesigns for new applications and new problem dimensions, which greatly limits the development of optimally designed accelerators for Transformer models. To address these challenges, we propose SAMT (Spatial Architecture Mapping for Transformers), a comprehensive framework designed to optimize the dataflow mapping of Transformer inference workloads onto spatial accelerators. We demonstrate the effectiveness of SAMT in improving the performance of spatial accelerators for Transformer models. We propose and leverage the dynamic operator fusion schemes for the Transformer models and co-search the optimal dataflow mapping strategies for spatial accelerators. SAMT significantly reduces inference latency by 12% to 91% and energy consumption by 3% to 23% for evaluated Transformer models compared to traditional spatial accelerator designs among edge, mobile and cloud settings.</description><subject>Accelerators</subject><subject>Computation</subject><subject>Design</subject><subject>Energy consumption</subject><subject>Flow mapping</subject><subject>Inference</subject><subject>Large language models</subject><subject>Optimization</subject><subject>Transformers</subject><subject>Workload</subject><subject>Workloads</subject><issn>2331-8422</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>ABUWG</sourceid><sourceid>AFKRA</sourceid><sourceid>AZQEC</sourceid><sourceid>BENPR</sourceid><sourceid>CCPQU</sourceid><sourceid>DWQXO</sourceid><recordid>eNqNir0KwjAYAIMgWLTvEHAutEnjz1jE0kUc7F5C_KopaRK_pAg-vR18AKc7uFuQhHFeZIeSsRVJQxjyPGe7PROCJ6S5-qhH_YE7vXkZtTS0QvXUEVScEOhFeq_tg9bGvWnvkLYobZhlBKSVUmAAZXQYNmTZSxMg_XFNtvW5PTWZR_eaIMRucBPaOXW8KIQ4CsFK_t_1BXnzPHk</recordid><startdate>20241009</startdate><enddate>20241009</enddate><creator>Xu, Haocheng</creator><creator>Tahmasebi, Faraz</creator><creator>Ye Qiao</creator><creator>Tian, Hongzheng</creator><creator>Kwon, Hyoukjun</creator><creator>Huang, Sitao</creator><general>Cornell University Library, arXiv.org</general><scope>8FE</scope><scope>8FG</scope><scope>ABJCF</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>AZQEC</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>DWQXO</scope><scope>HCIFZ</scope><scope>L6V</scope><scope>M7S</scope><scope>PIMPY</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>PTHSS</scope></search><sort><creationdate>20241009</creationdate><title>Optimized Spatial Architecture Mapping Flow for Transformer Accelerators</title><author>Xu, Haocheng ; Tahmasebi, Faraz ; Ye Qiao ; Tian, Hongzheng ; Kwon, Hyoukjun ; Huang, Sitao</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-proquest_journals_31155955243</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Accelerators</topic><topic>Computation</topic><topic>Design</topic><topic>Energy consumption</topic><topic>Flow mapping</topic><topic>Inference</topic><topic>Large language models</topic><topic>Optimization</topic><topic>Transformers</topic><topic>Workload</topic><topic>Workloads</topic><toplevel>online_resources</toplevel><creatorcontrib>Xu, Haocheng</creatorcontrib><creatorcontrib>Tahmasebi, Faraz</creatorcontrib><creatorcontrib>Ye Qiao</creatorcontrib><creatorcontrib>Tian, Hongzheng</creatorcontrib><creatorcontrib>Kwon, Hyoukjun</creatorcontrib><creatorcontrib>Huang, Sitao</creatorcontrib><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>Materials Science & Engineering Collection</collection><collection>ProQuest Central (Alumni Edition)</collection><collection>ProQuest Central UK/Ireland</collection><collection>ProQuest Central Essentials</collection><collection>ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Central Korea</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Engineering Collection</collection><collection>Engineering Database</collection><collection>Publicly Available Content Database</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>Engineering Collection</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Xu, Haocheng</au><au>Tahmasebi, Faraz</au><au>Ye Qiao</au><au>Tian, Hongzheng</au><au>Kwon, Hyoukjun</au><au>Huang, Sitao</au><format>book</format><genre>document</genre><ristype>GEN</ristype><atitle>Optimized Spatial Architecture Mapping Flow for Transformer Accelerators</atitle><jtitle>arXiv.org</jtitle><date>2024-10-09</date><risdate>2024</risdate><eissn>2331-8422</eissn><abstract>Recent innovations in Transformer-based large language models have significantly advanced the field of general-purpose neural language understanding and generation. With billions of trainable parameters, deployment of these large models relies on high-performance hardware accelerators to efficiently deliver the required computation. Spatial architectures, such as TPUs, offer a promising solution to accelerating computation-intensive workloads. However, the design process for existing spatial architectures is predominantly manual, and it often involves time-consuming redesigns for new applications and new problem dimensions, which greatly limits the development of optimally designed accelerators for Transformer models. To address these challenges, we propose SAMT (Spatial Architecture Mapping for Transformers), a comprehensive framework designed to optimize the dataflow mapping of Transformer inference workloads onto spatial accelerators. We demonstrate the effectiveness of SAMT in improving the performance of spatial accelerators for Transformer models. We propose and leverage the dynamic operator fusion schemes for the Transformer models and co-search the optimal dataflow mapping strategies for spatial accelerators. SAMT significantly reduces inference latency by 12% to 91% and energy consumption by 3% to 23% for evaluated Transformer models compared to traditional spatial accelerator designs among edge, mobile and cloud settings.</abstract><cop>Ithaca</cop><pub>Cornell University Library, arXiv.org</pub><oa>free_for_read</oa></addata></record> |
fulltext | fulltext |
identifier | EISSN: 2331-8422 |
ispartof | arXiv.org, 2024-10 |
issn | 2331-8422 |
language | eng |
recordid | cdi_proquest_journals_3115595524 |
source | Free E- Journals |
subjects | Accelerators Computation Design Energy consumption Flow mapping Inference Large language models Optimization Transformers Workload Workloads |
title | Optimized Spatial Architecture Mapping Flow for Transformer Accelerators |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-12T10%3A51%3A15IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=document&rft.atitle=Optimized%20Spatial%20Architecture%20Mapping%20Flow%20for%20Transformer%20Accelerators&rft.jtitle=arXiv.org&rft.au=Xu,%20Haocheng&rft.date=2024-10-09&rft.eissn=2331-8422&rft_id=info:doi/&rft_dat=%3Cproquest%3E3115595524%3C/proquest%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=3115595524&rft_id=info:pmid/&rfr_iscdi=true |