Accelerating the tuning process for optimizing DNN operators by ROFT model
Zhe He, Hui Zhong, Xiaohua Shi, Changhai Zhao, Jiamin Wen, Minqiang Shang
Beihang University · China National Petroleum Corporation (China)
Key points
From the paper's conclusion- Experiments show that the ROFT method speeds up the tuning process by about 4X and 10X compared with AutoTVM on NVidia GPUs and the AutoTune of Huawei's Tensor Boost Engine (TBE) on Huawei Ascend310 NPUs for some typical DNNs, respectively.
Abstract
Deep neural networks (DNNs) are computationally intensive and optimized in different ways. Some compiler optimizations for DNNs could achieve performance almost the same as, or even better than, manual optimizations. However, the former mechanisms usually require an unbearably long optimization time in the tuning process. In this paper, we propose a new method that accelerates the tuning process significantly without performance penalties. In particular, we use a Roofline-like cost model, namely ROFT (Roofline for Fast AutoTune), to evaluate the performance of schedules. The ROFT model can be easily implemented on different microarchitectures, e.g., NVidia GPUs and Huawei Ascend NPUs. Based on the cost model, we implement a flexible two-stage search algorithm, which significantly improves the time of tuning process. Experiments show that the ROFT method speeds up the tuning process by about 4X and 10X compared with AutoTVM on NVidia GPUs and the AutoTune of Huawei's Tensor Boost Engine (TBE) on Huawei Ascend310 NPUs for some typical DNNs, respectively. It improves the inference time of some DNNs by up to 7% as well.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- TrainBridge: Agentic NPU Training Optimization Guided by GPU Compilation EvidencearXiv · 2026
- Joint Optimization of Memory and Computing Frequency for Energy-Efficient DNN InferencearXiv · 2026
- FlexNPUeRF: Extending Flexible Stationarity in DNN Accelerators with Elastic Register Files and Adaptive Bandwidth AllocationJournal of Low Power Electronics and Applications · 2026
- Bonsai: Efficient and Optimal Automatic Tensor Rematerialization for Memory-Constrained DNN TrainingProceedings of the ACM on Programming Languages · 2026
- AgentDP: Towards Automated Model Deployment for Heterogeneous Embedded AI ApplicationsarXiv · 2026
- Architecting for Hardware Diversity: Meta's End-to-End Co-Design for High-Performance AI Training on AMD GPUsarXiv · 2026