arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1909.07437cs.DC
收藏

用于多DNN工作负载的异构数据流加速器

Heterogeneous Dataflow Accelerators for Multi-DNN Workloads

Hyoukjun Kwon, Liangzhen Lai, Michael Pellauer, Tushar Krishna, Yu-Hsin Chen, Vikas Chandra

摘要:

增强/虚拟现实(AR/VR)等新兴AI应用利用多个深度神经网络(DNN)模型来执行子任务,如目标检测、手部跟踪等。由于子任务的多样性,DNN模型内部和跨DNN模型的层在操作和形状上高度异构。这样的层异质性对于在单个加速器衬底上采用固定带宽的固定带宽加速器(FDA)是一个挑战,因为每个层优选不同的带宽(计算顺序和并行化)和瓦片大小。已经提出了可重构DNN加速器(RDA),以使其流适应不同的层,以应对这一挑战。然而,RDA的低灵活性是以昂贵的硬件结构(交换机、控制器等)的面积和能量成本实现的。和每层重新配置。或者,这项工作提出了一种新的加速器,异构以太网加速器(HDAs),它部署了多个子加速器,每个子加速器支持不同的以太网。HDA比RDA具有更高的能效和更低的面积成本,比RDA具有更粗粒度的灵活性。为了利用这些好处,需要仔细优化跨子加速器的硬件资源分区和层执行调度。因此,我们还提出了Herald,它共同优化硬件分区和层执行调度。在一套AR/VR和MLPerf工作负载上使用Herald,我们发现了一种有前途的HDA架构Maelstrom,它比最好的FDAs降低了65.3%的延迟和5.0%的能耗,比最先进的RDA降低了22.0%的能耗,但延迟却增加了20.7%。结果表明,HDA是RDA的另一类帕累托最优加速器,具有能量优势,根据用例,它可能是比RDA更好的选择。

英文摘要:

Emerging AI-enabled applications such as augmented/virtual reality (AR/VR) leverage multiple deep neural network (DNN) models for sub-tasks such as object detection, hand tracking, and so on. Because of the diversity of the sub-tasks, the layers within and across the DNN models are highly heterogeneous in operation and shape. Such layer heterogeneity is a challenge for a fixed dataflow accelerator (FDA) that employs a fixed dataflow on a single accelerator substrate since each layer prefers different dataflows (computation order and parallelization) and tile sizes. Reconfigurable DNN accelerators (RDAs) have been proposed to adapt their dataflows to diverse layers to address the challenge. However, the dataflow flexibility in RDAs is enabled at the area and energy costs of expensive hardware structures (switches, controller, etc.) and per-layer reconfiguration. Alternatively, this work proposes a new class of accelerators, heterogeneous dataflow accelerators (HDAs), which deploys multiple sub-accelerators each supporting a different dataflow. HDAs enable coarser-grained dataflow flexibility than RDAs with higher energy efficiency and lower area cost comparable to FDAs. To exploit such benefits, hardware resource partitioning across sub-accelerators and layer execution schedule need to be carefully optimized. Therefore, we also present Herald, which co-optimizes hardware partitioning and layer execution schedule. Using Herald on a suite of AR/VR and MLPerf workloads, we identify a promising HDA architecture, Maelstrom, which demonstrates 65.3% lower latency and 5.0% lower energy than the best FDAs and 22.0% lower energy at the cost of 20.7% higher latency than a state-of-the-art RDA. The results suggest that HDA is an alternative class of Pareto-optimal accelerators to RDA with strength in energy, which can be a better choice than RDAs depending on the use cases.

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

↑