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

PALM:面向大规模模型训练的瓦片化加速器的高效性能模拟器

PALM: A Efficient Performance Simulator for Tiled Accelerators with Large-scale Model Training

Jiahao Fang, Huizheng Wang, Qize Yang, Dehao Kong, Xu Dai, Jinyi Deng, Yang Hu, Shouyi Yin

AI总结:

本文提出PALM性能模拟器,通过事件驱动调度、可配置的流水线/张量/数据并行及片上SRAM、NoC与片外DRAM交互建模,高效预测瓦片化加速器在大规模模型训练与推理中的最优并行映射和性能吞吐量。

摘要:

深度学习(DL)模型正引起高度关注,并以空前的速度扩展规模。为此,已提出若干瓦片化加速器来支持此类大规模训练任务。然而,这些加速器通常包含大量核心或瓦片,甚至扩展到晶圆级规模,并配备可观的片上带宽和分布式存储系统。这导致了极其复杂的设计空间。此外,由于时间限制,通过实际训练实验来寻找最优配置并不现实。因此,预测各种并行策略到此类瓦片化系统架构的最优映射变得至关重要。在本研究中,基于对现有主流深度学习模型训练策略的分析,我们引入了一款名为PALM的性能模拟器。PALM面向瓦片化加速器的训练和推理过程,旨在启发当前及未来加速器的设计。具体而言:(i)我们基于事件驱动框架建立了瓦片化加速器之间的调度机制;(ii)我们支持在瓦片化加速器上由用户配置的流水线并行、张量并行和数据并行,并确定这些并行策略下的绝对性能吞吐量;(iii)我们对算子执行过程中片上SRAM、NoC和片外DRAM之间的交互进行了建模。本工作可在此获取:https://github.com/fangjh21/PALM。

英文摘要:

Deep learning (DL) models are piquing high interest and scaling at an unprecedented rate. To this end, a handful of tiled accelerators have been proposed to support such large-scale training tasks. However, these accelerators often incorporate numerous cores or tiles even extending to wafer-scale, substantial on-chip bandwidth, and distributed memory systems. This results in an exceedingly complex design space. Moreover, conducting actual training experiments to find optimal configurations is impractical due to time constraints. Hence, predicting the optimal mapping of various parallelisms to such tiled system architectures becomes crucial. In this study, leveraging an analysis of existing mainstream DL model training strategies, we introduce a performance simulator named PALM. PALM targets both the training and inference processes for tiled accelerators, aiming to inspire the design of current and future accelerators. Specifically, (i) we establish a scheduling mechanism among tiled accelerators based on an event-driven framework; (ii) we support user-configurable pipeline, tensor, and data parallelism on tiled accelerators, determining the absolute performance throughput under these parallelism strategies; (iii) we model the interaction of on-chip SRAM, NoC, and off-chip DRAM during operator execution. This work is available here: https://github.com/fangjh21/PALM.

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

↑