Skip to main navigation Skip to search Skip to main content

Exploiting Subgraph Similarities for Efficient Auto-tuning of Tensor Programs

  • Beihang University
  • SenseTime Group Limited

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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.

Original languageEnglish
Title of host publication52nd International Conference on Parallel Processing, ICPP 2023 - Main Conference Proceedings
PublisherAssociation for Computing Machinery
Pages786-796
Number of pages11
ISBN (Electronic)9798400708435
DOIs
StatePublished - 7 Aug 2023
Event52nd International Conference on Parallel Processing, ICPP 2023 - Salt Lake City, United States
Duration: 7 Aug 202310 Aug 2023

Publication series

NameACM International Conference Proceeding Series

Conference

Conference52nd International Conference on Parallel Processing, ICPP 2023
Country/TerritoryUnited States
CitySalt Lake City
Period7/08/2310/08/23

Keywords

  • Auto-tuning
  • Performance Optimization
  • Subgraph Similarity
  • Tensor Compiler

Fingerprint

Dive into the research topics of 'Exploiting Subgraph Similarities for Efficient Auto-tuning of Tensor Programs'. Together they form a unique fingerprint.

Cite this