MLDSE: Scaling Design Space Exploration Infrastructure for Multi-Level Hardware
Authors:
- Huanyu QuHQHuanyu Qu
- Weihao ZhangWZWeihao Zhang
- Junfeng LinJLJunfeng Lin
- Songchen MaSMSongchen Ma
- Hongyi LiHLHongyi Li
- Luping ShiLSLuping Shi
- Chengzhong XuCXChengzhong Xu
Preprint
Abstract
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.Keywords
All Related Versions
This publication has 30 references indexed in Scilit:
- The Big Chip: Challenge, model and architectureFundamental Research, 2024
- MECLA: Memory-Compute-Efficient LLM Accelerator with Scaling Sub-matrix Partition2024
- Tender: Accelerating Large Language Models via Tensor Decomposition and Runtime Requantization2024
- Benchmarking and Dissecting the Nvidia Hopper GPU Architecture2024
- Monad: Towards Cost-Effective Specialization for Chiplet-Based Spatial Accelerators2023
- Cerebras Architecture Deep Dive: First Look Inside the HW/SW Co-Design for Deep Learning : Cerebras Systems2022
- TensorLib: A Spatial Accelerator Generation Framework for Tensor Algebra2021
- Multi-Million Core, Multi-Wafer AI Cluster2021
- Think Fast: A Tensor Streaming Processor (TSP) for Accelerating Deep Learning Workloads2020
- Towards artificial general intelligence with hybrid Tianjic chip architectureNature, 2019