arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.10764cs.LG
收藏

ML$^2$Tuner:通过多级机器学习模型实现高效代码调优

ML$^2$Tuner: Efficient Code Tuning via Multi-Level Machine Learning Models

University of Science and Technology(科学技术大学);Electronics and Telecommunications Research Institute(电子通信研究院);Neubility(纽比力科技)

JooHyoung Cha, Munyoung Lee, Jinse Kwon, Jubin Lee, Jemin Lee, Yongin Kwon

AI总结:

本文提出ML$^2$Tuner多级机器学习调优技术,通过有效性预测模型过滤无效配置并利用编译隐藏特征进行性能预测,大幅提升了深度学习加速器的自动调优效率。

摘要:

深度学习模型日益增加的复杂性需要专门的硬件和软件优化,特别是对于深度学习加速器。现有的自动调优方法通常会因为分析无效配置而导致调优时间过长,这些无效配置可能会引发运行时错误。我们提出了ML$^2$Tuner,这是一种多级机器学习调优技术,通过引入有效性预测模型来过滤无效配置,并利用编译过程中的隐藏特征构建先进的性能预测模型,从而提升自动调优效率。在扩展的VTA加速器上的实验结果表明,ML$^2$Tuner仅需使用TVM中类似方法所需样本的12.3%即可实现同等的性能提升,并将无效分析尝试平均减少60.8%,凸显了其通过过滤无效配置来增强自动调优性能的潜力。

英文摘要:

The increasing complexity of deep learning models necessitates specialized hardware and software optimizations, particularly for deep learning accelerators. Existing autotuning methods often suffer from prolonged tuning times due to profiling invalid configurations, which can cause runtime errors. We introduce ML$^2$Tuner, a multi-level machine learning tuning technique that enhances autotuning efficiency by incorporating a validity prediction model to filter out invalid configurations and an advanced performance prediction model utilizing hidden features from the compilation process. Experimental results on an extended VTA accelerator demonstrate that ML$^2$Tuner achieves equivalent performance improvements using only 12.3% of the samples required with a similar approach as TVM and reduces invalid profiling attempts by an average of 60.8%, Highlighting its potential to enhance autotuning performance by filtering out invalid configurations

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑