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

面向分布式深度学习训练的工作负载感知硬件加速器挖掘

Workload-Aware Hardware Accelerator Mining for Distributed Deep Learning Training

Muhammad Adnan, Amar Phanishayee, Janardhan Kulkarni, Prashant J. Nair, Divya Mahajan

AI总结:

提出一种基于启发式和关键路径的硬件加速器架构搜索技术,首次解决分布式张量与流水线并行场景,相比Spotlight搜索快31倍且吞吐量提升12倍,并比TPU架构提升12%。

摘要:

在本文中,我们提出了一种新技术,用于搜索针对深度神经网络(DNNs)端到端训练优化的加速器硬件架构。我们的方法同时解决了单设备和分布式流水线以及张量模型并行场景,后者是首次被解决。该搜索在固定的面积和功率约束下,针对训练相关指标(如吞吐量/TDP)优化加速器。然而,随着专用架构和复杂分布式训练机制的激增,硬件加速器的设计空间探索非常庞大。该领域的先前工作试图通过将搜索空间缩减为仅针对推理的单个加速器执行,或者针对特定层(例如卷积)调整架构来解决这个问题。相反,我们采用一种独特的基于启发式和关键路径的方法,来确定可用资源(功率和面积)的最佳用途,无论是一组DNN工作负载还是每个工作负载单独使用。首先,我们执行局部搜索以确定每个流水线和张量模型阶段的架构。具体而言,系统迭代地生成架构配置,并使用一种新颖的基于启发式的方法调整设计,该方法将加速器资源和调度优先分配给机器学习工作负载中的关键算子。其次,为了解决分布式训练的复杂性,局部搜索为每个阶段选择多个(k)设计。然后,全局搜索从top-k集合中识别出一个加速器,以优化跨阶段的训练吞吐量。我们在11个不同的DNN模型上评估了这项工作。与最近仅针对推理的工作Spotlight相比,我们的方法平均在31倍更少的时间内收敛到一个设计,并提供12倍的更高吞吐量。此外,使用我们的方法生成的设计比TPU架构实现了12%的吞吐量提升。

英文摘要:

In this paper, we present a novel technique to search for hardware architectures of accelerators optimized for end-to-end training of deep neural networks (DNNs). Our approach addresses both single-device and distributed pipeline and tensor model parallel scenarios, latter being addressed for the first time. The search optimized accelerators for training relevant metrics such as throughput/TDP under a fixed area and power constraints. However, with the proliferation of specialized architectures and complex distributed training mechanisms, the design space exploration of hardware accelerators is very large. Prior work in this space has tried to tackle this by reducing the search space to either a single accelerator execution that too only for inference, or tuning the architecture for specific layers (e.g., convolution). Instead, we take a unique heuristic-based critical path-based approach to determine the best use of available resources (power and area) either for a set of DNN workloads or each workload individually. First, we perform local search to determine the architecture for each pipeline and tensor model stage. Specifically, the system iteratively generates architectural configurations and tunes the design using a novel heuristic-based approach that prioritizes accelerator resources and scheduling to critical operators in a machine learning workload. Second, to address the complexities of distributed training, the local search selects multiple (k) designs per stage. A global search then identifies an accelerator from the top-k sets to optimize training throughput across the stages. We evaluate this work on 11 different DNN models. Compared to a recent inference-only work Spotlight, our method converges to a design in, on average, 31x less time and offers 12x higher throughput. Moreover, designs generated using our method achieve 12% throughput improvement over TPU architecture.

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

↑