当前位置:首页 > 报告详情

FactorFlow:通过自适应编程和贪婪优化将 GEMM 映射到空间架构上.pdf

上传人: 芦苇 编号:651785 2025-05-01 36页 6.64MB

1、ASP-DAC 2025FactorFlow:Mapping GEMMs onSpatial Architectures through Adaptive Programming and Greedy OptimizationMarco RonzaniSpeaker PhD Student marco.ronzanipolimi.itCristina SilvanoFull Professor cristina.silvanopolimi.itMotivationGeneral Purpose High Perf.Power-HungrySpecialized High Perf.Per Wa

2、ttMFLOPs GFLOPs TFLOPs per inferenceSource:13,14,15MLPMLPCNNCNNTransformerTransformerSPATIAL ARCHITECTURESSPATIAL ARCHITECTURESSystolicSystolic ArrayArrayGPUGPUCPUCPUProcessing Elements MeshProcessing Elements Mesh1SystolicSystolic ArrayArrayGPUGPUCPUCPUMLPMLPCNNCNNTransformerTransformerGeneral Purp

3、ose High Perf.Power-HungrySpecialized High Perf.Per WattMFLOPs GFLOPs TFLOPs per inferenceMAPPING:MAPPING:determines the workloads determines the workloads execution on the hardwareexecution on the hardwareGOAL:GOAL:to minimize the enegy and to minimize the enegy and latency of running AI kernelslat

4、ency of running AI kernelsSource:13,14,151.1Processing Elements MeshProcessing Elements MeshContributionsMany mapping techniques.No current mapping tool focuses on GEMMs.SoA AnalysisFactorFlow finds 1-161x better mappings in up to205x less time than four SoA tools.Mapping Tools ComparisonThree novel

5、 robust heuristics to map GEMMs.New Mapping Tool:FactorFlowMathematical formulation of the mapping problem.Mapping FormalizationMap-space size analysis.2General Matrix Multiplication(GEMM)Each operand is orthogonal to a loop data reusedata reuseRegular data dependencies parallelism opportunitiespara

6、llelism opportunitiesLoop order is arbitrary,a loop can be split in multiple copies.Multiply and Accumulate(MAC)3Spatial Architectures(SAs)Components:Array of Processing Elements(PEs)Memory hierarchyInterconnectsModeled as a hierarchy of levelshierarchy of levels:Memory levelSpatial fanout levelComp

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
本文主要介绍了Marco Ronzani和Cristina Silvano等人提出的针对通用矩阵乘法(GEMM)在空间架构上进行自适应编程和贪心优化的方法。该方法名为FactorFlow,特别适用于GEMM,并包括一个映射器和一种模型。研究比较了四种现有映射工具与FactorFlow的性能,发现在40个多样化的映射空间中,FactorFlow在能量和延迟方面表现出色,找到了36个全局最优解。FactorFlow通过迭代排列、最大化扇出和贪心下降因素分配等步骤,能够有效处理映射问题。此外,FactorFlow已开源,可在GitHub上获取。
"GEMMs在空间架构上的映射如何优化?" "FactorFlow工具如何实现GEMM映射的高效性?" "深度学习硬件加速器如何提升AI计算性能?"
客服
商务合作
小程序
服务号
折叠