arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.16432cs.AR
收藏

DFModel:利用数据流映射的大规模系统设计空间优化

DFModel: Design Space Optimization of Large-Scale Systems Exploiting Dataflow Mappings

Sho Ko, Nathan Zhang, Olivia Hsu, Ardavan Pedram, Kunle Olukotun

AI总结:

提出DFModel建模框架,通过在多层级存储与互连网络上优化数据流映射,针对大规模系统进行设计空间探索,实验证明其在LLM训练等任务中显著提升性能与能效。

摘要:

我们提出了DFModel,一个用于将数据流计算图映射到大规模系统的建模框架。将工作负载映射到系统需要在多个层级优化数据流映射,包括芯片间(芯片之间)层级和芯片内(芯片内部)层级。据我们所知,DFModel是首个在存储器层次结构和互连网络层次结构的多个层级执行优化的框架。我们使用DFModel在各种系统上探索了广泛的工作负载。评估的工作负载包括两个最先进的机器学习应用(大型语言模型和深度学习推荐模型)以及两个高性能计算应用(高性能LINPACK和快速傅里叶变换)。研究的系统参数涵盖了数据流和传统加速器架构、存储技术(DDR、HBM)、互连技术(PCIe、NVLink)以及互连网络拓扑(torus、DGX、dragonfly)的组合。对于广泛系统上的各种工作负载,DFModel提供的映射预测平均比在真实系统上测量的映射性能好1.25倍。DFModel表明,对于大型语言模型训练,与非数据流架构相比,数据流架构实现了1.52倍更高的性能、1.59倍更好的成本效率和1.6倍更好的功率效率。在具有数据流架构的工业系统上,与来自先前性能模型(如Calculon)的非数据流映射相比,DFModel优化的数据流映射实现了6.13倍的加速,与供应商提供的数据流映射相比实现了1.52倍的加速。

英文摘要:

We propose DFModel, a modeling framework for mapping dataflow computation graphs onto large-scale systems. Mapping a workload to a system requires optimizing dataflow mappings at various levels, including the inter-chip (between chips) level and the intra-chip (within a chip) level. DFModel is, to the best of our knowledge, the first framework to perform the optimization at multiple levels of the memory hierarchy and the interconnection network hierarchy. We use DFModel to explore a wide range of workloads on a variety of systems. Evaluated workloads include two state-of-the-art machine learning applications (Large Language Models and Deep Learning Recommendation Models) and two high-performance computing applications (High Performance LINPACK and Fast Fourier Transform). System parameters investigated span the combination of dataflow and traditional accelerator architectures, memory technologies (DDR, HBM), interconnect technologies (PCIe, NVLink), and interconnection network topologies (torus, DGX, dragonfly). For a variety of workloads on a wide range of systems, the DFModel provided a mapping that predicts an average of 1.25X better performance compared to the ones measured on real systems. DFModel shows that for large language model training, dataflow architectures achieve 1.52X higher performance, 1.59X better cost efficiency, and 1.6X better power efficiency compared to non-dataflow architectures. On an industrial system with dataflow architectures, the DFModel-optimized dataflow mapping achieves a speedup of 6.13X compared to non-dataflow mappings from previous performance models such as Calculon, and 1.52X compared to a vendor provided dataflow mapping.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑