Accelerating Parallel Structures in DNNs via Parallel Fusion and Operator Co-Optimization
Parallel structures have become a key pattern in deep neural networks (DNNs), offering improved efficiency and scalability. However, existing machine learning compilers (MLCs) face challenges in optimizing these structures due to limited parallel fusion scope and insufficient analysis of intra-operator characteristics. This article introduces Magneto, a framework designed to accelerate DNN inference by co-optimizing parallel operators. Magneto broadens the fusion scope and incorporates a specialized co-tuning algorithm to optimize operators jointly. Our approach addresses the unique challenges inherent in optimizing parallel structures, enabling significant performance improvements across various hardware platforms. Experimental results show that Magneto outperforms state-of-the-art NVIDIA TensorRT and AMD MIGraphX, achieving geometric mean speedups of 2.27× and 2.88×, respectively.
Authors
- Jie Zhao (ORCID: https://orcid.org/0000-0003-2303-9736)
- Guangming Tan (ORCID: https://orcid.org/0000-0002-6361-5948)
- En Shao (ORCID: https://orcid.org/0000-0002-9678-7228)
- Leping Wang (ORCID: https://orcid.org/0009-0009-4940-5598)
- Dingwen Tao (ORCID: https://orcid.org/0000-0001-5422-4497)
- Zhanyuan Di (ORCID: https://orcid.org/0000-0003-2716-5051)
- Ninghui Sun (ORCID: https://orcid.org/0000-0002-1953-1392)
- Zhaojia Ma (ORCID: https://orcid.org/0009-0000-3783-8964)
- S.M. Feng (ORCID: https://orcid.org/0000-0002-4682-983X)
- Ziyi Ren
Institutions
- Hunan University (CN)
- Shanghai Jiao Tong University (CN)
- Institute of Computing Technology (CN)
- University of Chinese Academy of Sciences (CN)
Publication Details
- Journal
- ACM Transactions on Architecture and Code Optimization
- Published
- 2025-06-16
- DOI
- https://doi.org/10.1145/3744906
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00