arrow
返回

Efficient and Fast High-Performance Library Generation for Deep Learning Accelerators

delete2025-01-01
delete0
PRE
AI
毕骏 封面图
毕骏 (Jun Bi)
Y
Yuanbo Wen *
X
Xiaqing Li
Y
Yongwei Zhao
Y
Yuxuan Guo
E
Enshuai Zhou
X
Xing Hu
Z
Zidong Du
李
李玲 (Ling Li)
陈
陈华平 (Huaping Chen)
T
Tianshi Chen
Q
Qi Guo
DOI:10.1109/TC.2024.3475575delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
The widespread adoption of deep learning accelerators (DLAs) underscores their pivotal role in improving the performance and energy efficiency of neural networks. To fully leverage the capabilities of these accelerators, exploration-based library generation approaches have been widely used to substantially reduce software development overhead. However, these approaches have been challenged by issues related to sub-optimal optimization results and excessive optimization overheads. In this paper, we propose Heron to generate high-performance libraries of DLAs in an efficient and fast way. The key is automatically enforcing massive constraints through the entire program generation process and guiding the exploration with an accurate pre-trained cost model. Heron represents the search space as a constrained satisfaction problem (CSP) and explores the space via evolving the CSPs. Thus, the sophisticated constraints of the search space are strictly preserved during the entire exploration process. The exploration algorithm has the flexibility to engage in space exploration using either online-trained models or pre-trained models. Experimental results demonstrate that Heron averagely achieves 2.71$\times$x speedup over three state-of-the-art automatic generation approaches. Also, compared to vendor-provided hand-tuned libraries, Heron achieves a 2.00$\times$x speedup on average. When employing a pre-trained model, Heron achieves 11.6$\times$x compilation time speedup, incurring a minor impact on execution time.
Keyword:
Optimization
Space exploration
Schedules
Libraries
Biological cells
Deep learning
Costs
Computers
Search problems
Tensors
Code generation
compiler optimization
tensor computation

期刊

IEEE Transactions on Computers 封面图
IEEE Transactions on Computers
IF:
3.8
论文数:
5.4K
被引数:
9.8K

机构

U
university of science & technology of china, cas
学者数:
3.2W
论文数: 2.7W
被引数: 74
C
chinese academy of sciences
学者数:
56.7W
论文数: 45.0W
被引数: 704
引用论文

引用论文

Continuous-Flow Chemistry in Undergraduate Education: Sustainable Conversion of Reclaimed Vegetable Oil into Biodiesel
err2018-06-04
err0
PREAI
errFrank A. Leibfarth; M. Grace Russell; David M. Langley; Hyowon Seo; Liam P. Kelly; Daniel W. Carney; Jason K. Sello; Timothy F. Jamison
err分享
err收藏
Learning to Optimize Halide with Tree Search and Random Programs学习用树搜索和随机程序优化Halide
err2019-07-12
err147
PREAI
errAdams, Andrew; Ma, Karima; Anderson, Luke; Baghdad, Riyadh; Li, Tzu-Mao; Gharbi, Michael; Steiner, Benoit; Johnson, Steven; Fatahalian, Kayvon; Durand, Fredo; Ragan-Kelley, Jonathan
err分享
err收藏
First results from the phase III ALTTO trial (BIG 2-06; NCCTG [Alliance] N063D) comparing one year of anti-HER2 therapy with lapatinib alone (L), trastuzumab alone (T), their sequence (T→L), or their combination (T+L) in the adjuvant treatment of HER2-positive early breast cancer (EBC).
err2014-05-20
err0
PREAI
errMartine J. Piccart-Gebhart; Andrew Peter Holmes; Jose Baselga; Evandro De Azambuja; Amylou C. Dueck; Giuseppe Viale; Jo Anne Zujewski; Aron Goldhirsch; Sergio Santillana; Kathleen I. Pritchard; Antonio C. Wolff; Christian Jackisch; Istvan Lang; Michael Untch; Ian E. Smith; Frances Boyle; Binghe Xu; Henry Leonidas Gomez; Richard D. Gelber; Edith A. Perez
err分享
err收藏
err分享
err收藏
DianNao Family: Energy-Efficient Hardware Accelerators for Machine Learning
err2016-10-28
err206
PREAI
errChen, Yunji; Chen, Tianshi; Xu, Zhiwei; Sun, Ninghui; Temam, Olivier
err分享
err收藏
err分享
err收藏
学者 查看更多内容