paper-with-me

Papers

Ansor: Generating High-Performance Tensor Programs for Deep Learning

2020-06-11 · Lianmin Zheng, Chengfan Jia, Minmin Sun, Zhao Wu, Cody Hao Yu, Ameer Haj-Ali, Yida Wang, Jun Yang, Danyang Zhuo, Koushik Sen, Joseph E. Gonzalez, Ion Stoica

High-performance tensor programs are crucial to guarantee efficient execution of deep neural networks. However, obtaining performant tensor programs for different operators on various hardware platforms is notoriously challenging. Currently, deep learning systems rely on vendor-provided kernel libraries or various search strategies to get performant tensor programs. These approaches either require significant engineering effort to develop platform-specific optimization code or fall short of finding high-performance programs due to restricted search space and ineffective exploration strategy. We present Ansor, a tensor program generation framework for deep learning applications. Compared with existing search strategies, Ansor explores many more optimization combinations by sampling programs from a hierarchical representation of the search space. Ansor then fine-tunes the sampled programs with evolutionary search and a learned cost model to identify the best programs. Ansor can find high-performance programs that are outside the search space of existing state-of-the-art approaches. In addition, Ansor utilizes a task scheduler to simultaneously optimize multiple subgraphs in deep neural networks. We show that Ansor improves the execution performance of deep neural networks relative to the state-of-the-art on the Intel CPU, ARM CPU, and NVIDIA GPU by up to $3.8\times$, $2.6\times$, and $1.7\times$, respectively.

📄 PDF Abstract BibTeX arXiv:2006.06762

Code (0)

등록된 구현이 없습니다.

Tasks

CPUDeep LearningGPUVocal Bursts Intensity Prediction

Similar Papers 제목 키워드 기반

Transfer-Tuning: Reusing Auto-Schedules for Efficient Tensor Program Code Generation

2022-01-14 · Perry Gibson, José Cano

Auto-scheduling for tensor programs is a process where a search algorithm automatically explores candidate schedules (program transformations) for a given program on a target hardware platform to improve its performance.…

Code GenerationCPUScheduling

Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programs

2022-10-18 · Yaoyao Ding, Cody Hao Yu, Bojian Zheng, Yizhi Liu 외

As deep learning models nowadays are widely adopted by both cloud services and edge devices, reducing the latency of deep learning model inferences becomes crucial to provide efficient model serving. However, it is chall…

Deep LearningScheduling

Pruner: A Speculative Exploration Mechanism to Accelerate Tensor Program Tuning

2024-02-04 · Liang Qiao, Jun Shi, Xiaoyu Hao, Xi Fang 외

Tensor program tuning is essential for the efficient deployment of deep neural networks. Search-based approaches have demonstrated scalability and effectiveness in automatically finding high-performance programs for spec…

GPUTransfer Learning

Explore as a Storm, Exploit as a Raindrop: On the Benefit of Fine-Tuning Kernel Schedulers with Coordinate Descent

2024-06-28 · Michael Canesche, Gaurav Verma, Fernando Magno Quintao Pereira

Machine-learning models consist of kernels, which are algorithms applying operations on tensors -- data indexed by a linear combination of natural numbers. Examples of kernels include convolutions, transpositions, and ve…

GPUScheduling

Bolt: Bridging the Gap between Auto-tuners and Hardware-native Performance

2021-10-25 · Jiarong Xing, Leyuan Wang, Shang Zhang, Jack Chen 외

Today's auto-tuners (e.g., AutoTVM, Ansor) generate efficient tensor programs by navigating a large search space to identify effective implementations, but they do so with opaque hardware details. Thus, their performance…