Lune

ISCA2021顶会

HASCO: Towards Agile HArdware and Software CO-design for Tensor Computation

Qingcheng Xiao, Size Zheng, Bingzhe Wu, Pengcheng Xu, Xuehai Qian, Yun Liang

摘要

Tensor computations overwhelm traditional general-purpose computing devices due to the large amounts of data and operations of the computations. They call for a holistic solution composed of both hardware acceleration and software mapping. Hardware/software (HW/SW) co-design optimizes the hardware and software in concert and produces high-quality solutions. There are two main challenges in the co-design flow. First, multiple methods exist to partition tensor computation and have different impacts on performance and energy efficiency. Besides, the hardware part must be implemented by the intrinsic functions of spatial accelerators. It is hard for programmers to identify and analyze the partitioning methods manually. Second, the overall design space composed of HW/SW partitioning, hardware optimization, and software optimization is huge. The design space needs to be efficiently explored. To this end, we propose an agile co-design approach HASCO that provides an efficient HW/SW solution to dense tensor computation. We use tensor syntax trees as the unified IR, based on which we develop a two-step approach to identify partitioning methods. For each method, HASCO explores the hardware and software design spaces. We propose different algorithms for the explorations, as they have distinct objectives and evaluation costs. Concretely, we develop a multi-objective Bayesian optimization algorithm to explore hardware optimization. For software optimization, we use heuristic and Q-learning algorithms. Experiments demonstrate that HASCO achieves a 1.25X to 1.44X latency reduction through HW/SW co-design compared with developing the hardware and software separately.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis 引用了 Interstellar: Using Halide's Scheduling Language to Analyze DNN Accelerators
  • TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis 引用了 TENET: A Framework for Modeling Tensor Dataflow Based on Relation-centric Notation
  • TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis 引用了 FlexTensor: An Automatic Schedule Exploration and Optimization Framework for Tensor Computation on Heterogeneous System
  • TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis 引用了 Chimera: An Analytical Optimizing Framework for Effective Compute-intensive Operators Fusion
  • TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis 引用了 Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integration
  • TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based Analysis 引用了 AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstraction
  • Gemini: Mapping and Architecture Co-exploration for Large-scale DNN Chiplet Accelerators 引用了 Interstellar: Using Halide's Scheduling Language to Analyze DNN Accelerators
  • Gemini: Mapping and Architecture Co-exploration for Large-scale DNN Chiplet Accelerators 引用了 TENET: A Framework for Modeling Tensor Dataflow Based on Relation-centric Notation
  • TENET: A Framework for Modeling Tensor Dataflow Based on Relation-centric Notation 引用了 Interstellar: Using Halide's Scheduling Language to Analyze DNN Accelerators
  • TENET: A Framework for Modeling Tensor Dataflow Based on Relation-centric Notation 引用了 FlexTensor: An Automatic Schedule Exploration and Optimization Framework for Tensor Computation on Heterogeneous System
  • Chimera: An Analytical Optimizing Framework for Effective Compute-intensive Operators Fusion 引用了 Interstellar: Using Halide's Scheduling Language to Analyze DNN Accelerators
  • Chimera: An Analytical Optimizing Framework for Effective Compute-intensive Operators Fusion 引用了 FlexTensor: An Automatic Schedule Exploration and Optimization Framework for Tensor Computation on Heterogeneous System
  • Chimera: An Analytical Optimizing Framework for Effective Compute-intensive Operators Fusion 引用了 AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstraction
  • Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integration 引用了 Interstellar: Using Halide's Scheduling Language to Analyze DNN Accelerators
  • Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integration 引用了 SIGMA: A Sparse and Irregular GEMM Accelerator with Flexible Interconnects for DNN Training
  • AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstraction 引用了 Interstellar: Using Halide's Scheduling Language to Analyze DNN Accelerators
  • AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstraction 引用了 TENET: A Framework for Modeling Tensor Dataflow Based on Relation-centric Notation
  • AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstraction 引用了 FlexTensor: An Automatic Schedule Exploration and Optimization Framework for Tensor Computation on Heterogeneous System
  • AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstraction 引用了 Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack Integration
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. TENET: A Framework for Modeling Tensor Dataflow Based on Relation-centric NotationLiqiang Lu, Naiqing Guan, Yuyue Wang, Liancheng Jia 等ISCA 2021 · 82 次引用
  2. Gemini: Mapping and Architecture Co-exploration for Large-scale DNN Chiplet AcceleratorsJingwei Cai, Zuotong Wu, Sen Peng, Yuchen Wei 等HPCA 2024 · 65 次引用
  3. AMOS: enabling automatic mapping for tensor computations on spatial accelerators with hardware abstractionSize Zheng, Renze Chen, Anjiang Wei, Yicheng Jin 等ISCA 2022 · 63 次引用
  4. Chimera: An Analytical Optimizing Framework for Effective Compute-intensive Operators FusionSize Zheng, Siyuan Chen, Peidi Song, Renze Chen 等HPCA 2023 · 46 次引用
  5. TileFlow: A Framework for Modeling Fusion Dataflow via Tree-based AnalysisSize Zheng, Siyuan Chen, Siyuan Gao, Liancheng Jia 等MICRO 2023 · 31 次引用

它引用的 Paper12

  1. SIGMA: A Sparse and Irregular GEMM Accelerator with Flexible Interconnects for DNN TrainingEric Qin, Ananda Samajdar, Hyoukjun Kwon, Vineet Nadella 等HPCA 2020 · 490 次引用
  2. Gemmini: Enabling Systematic Deep-Learning Architecture Evaluation via Full-Stack IntegrationHasan Genc, Seah Kim, Alon Amid, Ameer Haj-Ali 等DAC 2021 · 325 次引用
  3. Interstellar: Using Halide's Scheduling Language to Analyze DNN AcceleratorsXuan Yang, Mingyu Gao, Qiaoyi Liu, Jeff Setter 等ASPLOS 2020 · 237 次引用
  4. FlexTensor: An Automatic Schedule Exploration and Optimization Framework for Tensor Computation on Heterogeneous SystemSize Zheng, Yun Liang, Shuo Wang, Renze Chen 等ASPLOS 2020 · 171 次引用
  5. DSAGEN: Synthesizing Programmable Spatial AcceleratorsJian Weng, Sihao Liu, Vidushi Dadu, Zhengrong Wang 等ISCA 2020 · 140 次引用

相关 Paper

  1. UNICO: Unified Hardware Software Co-Optimization for Robust Neural Network AccelerationBahador Rashidi, Chao Gao, Shan Lu, Zhisheng Wang 等MICRO 2023 · 6 次引用
  2. TensorLib: A Spatial Accelerator Generation Framework for Tensor AlgebraLiancheng Jia, Zizhang Luo, Liqiang Lu, Yun LiangDAC 2021 · 49 次引用
  3. Tensaurus: A Versatile Accelerator for Mixed Sparse-Dense Tensor ComputationsNitish Kumar Srivastava, Hanchen Jin, Shaden Smith, Hongbo Rong 等HPCA 2020 · 121 次引用
  4. Harmonia: A Unified Hierarchical Scheduling Framework for Sparse Matrix MultiplicationJingkui Yang, Fangxin Liu, Xin Ju, Ning Yang 等ISCA 2026
  5. Soter: Analytical Tensor-Architecture Modeling and Automatic Tensor Program Tuning for Spatial AcceleratorsFuyu Wang, Minghua Shen, Yufei Ding, Nong XiaoISCA 2024 · 7 次引用
黄昏的海面,两侧是细线勾勒的悬崖