MLDSE:面向多层级硬件的设计空间探索基础设施扩展
MLDSE: Scaling Design Space Exploration Infrastructure for Multi-Level Hardware
AI总结:
MLDSE提出面向多层级硬件的设计空间探索基础设施,通过硬件IR建模、时空映射和事件驱动模拟三项创新,支持架构、参数与映射的三层DSE探索。
摘要:
为高效支持大规模神经网络,多层级硬件利用先进的集成与互连技术,已成为应对摩尔定律放缓的有前景的解决方案。然而,此类硬件庞大的设计空间,加之其空间层级与组织结构的复杂性,给设计空间探索(DSE)带来了重大挑战。现有DSE工具依赖预定义的硬件模板来探索特定架构的参数,难以探索多层级硬件固有的多样化组织结构、空间层级和架构多态性。为解决这些局限,我们提出了多层级设计空间探索器(MLDSE),一种面向多层级硬件领域专用DSE的新型基础设施。MLDSE从DSE的三个基本视角引入了三项关键创新:1)建模:MLDSE引入硬件中间表示(IR),可通过不同粒度的可组合元素递归建模多样化的多层级硬件。2)映射:MLDSE提供全面的时空映射IR和映射原语,促进多层级硬件上的映射策略探索,尤其是同步和跨层级通信。3)模拟:MLDSE支持基于任务级事件驱动模拟机制的通用模拟器生成。其特色是采用硬件一致的调度算法,可处理通用任务级资源争用。通过对大语言模型(LLM)工作负载的实验,我们展示了MLDSE在架构、硬件参数和映射三个层级执行DSE的独特能力。
英文摘要:
To efficiently support large-scale NNs, multi-level hardware, leveraging advanced integration and interconnection technologies, has emerged as a promising solution to counter the slowdown of Moore's law. However, the vast design space of such hardware, coupled with the complexity of their spatial hierarchies and organizations, introduces significant challenges for design space exploration (DSE). Existing DSE tools, which rely on predefined hardware templates to explore parameters for specific architectures, fall short in exploring diverse organizations, spatial hierarchies, and architectural polymorphisms inherent in multi-level hardware. To address these limitations, we present Multi-Level Design Space Exploror (MLDSE), a novel infrastructure for domain-specific DSE of multi-level hardware. MLDSE introduces three key innovations from three basic perspectives of DSE: 1) Modeling: MLDSE introduces a hardware intermediate representation (IR) that can recursively model diverse multi-level hardware with composable elements at various granularities. 2) Mapping: MLDSE provides a comprehensive spatiotemporal mapping IR and mapping primitives, facilitating the mapping strategy exploration on multi-level hardware, especially synchronization and cross-level communication; 3) Simulation: MLDSE supports universal simulator generation based on task-level event-driven simulation mechanism. It features a hardware-consistent scheduling algorithm that can handle general task-level resource contention. Through experiments on LLM workloads, we demonstrate MLDSE's unique capability to perform three-tier DSE spanning architecture, hardware parameter, and mapping.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。