HARP:面向混合复用工作负载的异构分层处理器分类法
HARP: A Taxonomy for Heterogeneous and Hierarchical Processors for Mixed-reuse Workloads
AI总结:
本文提出 HARP 分类法,系统梳理分层异构加速器设计空间,并扩展 Timeloop 以建模和分析不同存储层级异构性对混合复用张量工作负载的影响。
摘要:
人工智能(AI)应用领域包含高、低算术强度(也称复用)的张量运算混合。分层(即沿多级存储层次进行计算)和异构(包含多个不同子加速器)加速器正成为处理混合复用工作负载以及由多种形状张量算子组成的工作负载的流行方式。然而,分层和/或异构处理器(HHP)的设计空间仍相对缺乏探索。已有工作提出定制架构,利用异构性配备多个子加速器,以高效处理不同算子形状。本研究提出 HARP,这是一种用于分类各类分层和异构加速器的分类法,并用其研究架构中不同层级异构性的影响。HARP 分类法涵盖构想 HHP 的多种方式,从 B1000 核心中 SM 与 tensor core 之间的“节点内异构性”,到 NeuPIM 中出现在存储层次不同层级的跨深度异构性。我们使用 Timeloop mapper 为子加速器寻找最佳映射,并修改 Timeloop 成本模型,将其扩展为可对分层和异构加速器建模。
英文摘要:
Artificial intelligence (AI) application domains consist of a mix of tensor operations with high and low arithmetic intensities (aka reuse). Hierarchical (i.e. compute along multiple levels of memory hierarchy) and heterogeneous (multiple different sub-accelerators) accelerators are emerging as a popular way to process mixed reuse workloads, and workloads which consist of tensor operators with diverse shapes. However, the space of hierarchical and/or heterogeneous processors (HHP's) is relatively under-explored. Prior works have proposed custom architectures to take advantage of heterogeneity to have multiple sub-accelerators that are efficient for different operator shapes. In this work, we propose HARP, a taxonomy to classify various hierarchical and heterogeneous accelerators and use the it to study the impact of heterogeneity at various levels in the architecture. HARP taxonomy captures various ways in which HHP's can be conceived, ranging from B100 cores with an "intra-node heterogeneity" between SM and tensor core to NeuPIM with cross-depth heterogeneity which occurs at different levels of memory hierarchy. We use Timeloop mapper to find the best mapping for sub-accelerators and also modify the Timeloop cost model to extend it to model hierarchical and heterogeneous accelerators.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。