跳到主要导航 跳到搜索 跳到主要内容

Exploiting Subgraph Similarities for Efficient Auto-tuning of Tensor Programs

  • Beihang University
  • SenseTime Group Limited

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

The requirement for deploying deep learning (DL) models efficiently has boosted the research of DL compilers. Especially, the difficulty of generating optimized tensor programs has driven DL compilers to commonly adopt the auto-tuning approaches. Consequently, there are increasing demands to improve the effectiveness of auto-tuning in terms of both search efficiency and search quality. However, existing auto-tuning approaches commonly treat subgraphs individually and overlook the similarities among them, and thus fail to generate better tensor programs under limited time budget. To address the above drawbacks, we propose FamilySeer, an auto-tuning framework that can generate better tensor programs by exploiting the subgraph similarities. Specifically, FamilySeer organizes similar subgraphs into subgraph families, where the cost models are built at family basis with improved accuracy for estimating high potential program candidates. To further leverage the similarity, FamilySeer uses the accurate cost model per family to reduce the number of program candidates for costly hardware measurements without degrading search quality. The experiment results on various DL models demonstrate that FamilySeer can achieve better search efficiency/quality on both CPU and GPU platforms compared to the state-of-the-art auto-tuning framework.

源语言英语
主期刊名52nd International Conference on Parallel Processing, ICPP 2023 - Main Conference Proceedings
出版商Association for Computing Machinery
786-796
页数11
ISBN(电子版)9798400708435
DOI
出版状态已出版 - 7 8月 2023
活动52nd International Conference on Parallel Processing, ICPP 2023 - Salt Lake City, 美国
期限: 7 8月 202310 8月 2023

出版系列

姓名ACM International Conference Proceeding Series

会议

会议52nd International Conference on Parallel Processing, ICPP 2023
国家/地区美国
Salt Lake City
时期7/08/2310/08/23

学术指纹

探究 'Exploiting Subgraph Similarities for Efficient Auto-tuning of Tensor Programs' 的科研主题。它们共同构成独一无二的学术指纹。

引用此