Klotski v2: Improved DNN Model Orchestration Framework for Dataflow Architecture Accelerators
Dataflow architecture accelerators are a new kind of scalable DNN accelerators. For an instruction, the availability of input operands solely determines the beginning of executions. DNN model orchestration determines how to partition, schedule, and map the computation to the underlying hardware. In this article, we propose the Klotski v2 framework to solve DNN model orchestration for dataflow architecture accelerators. First, a Bayesian optimization-based entropy-directed partition algorithm is proposed to transform a DNN model into <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$\mu $ </tex-math></inline-formula>ops. Second, a unified formal formulation for <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">$\mu $ </tex-math></inline-formula>ops scheduling and mapping is presented. Third, a two-stage methodology is proposed to decouple the scheduling and mapping. Fourth, a Hilbert curve-based mapping heuristic is proposed to enhance problem-solving efficiency, improving the tradeoff between solution quality and algorithm runtime. Extensive results show that Klotski v2 can achieve an average of 21.57% higher execution performance improvement than the previous methodologies. With the Hilbert curve-based mapping heuristic, we improve the algorithm efficiency by an average of 63.50% across different DNN workloads.
Authors
- Hongzhong Zheng (ORCID: https://orcid.org/0000-0001-7696-9799)
- Bei Yu (ORCID: https://orcid.org/0000-0001-6406-4810)
- Youwei Zhuo (ORCID: https://orcid.org/0000-0002-1557-2613)
- Yi Cai (ORCID: https://orcid.org/0000-0002-1694-7413)
- Yuan Xie (ORCID: https://orcid.org/0000-0003-2093-1788)
- Chen Bai
- Xuechao Wei
Institutions
- Chinese University of Hong Kong (HK)
- Hong Kong University of Science and Technology (HK)
- Peking University (CN)
- Alibaba Group (China) (CN)
Publication Details
- Journal
- IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Published
- 2024-08-21
- DOI
- https://doi.org/10.1109/tcad.2024.3446858
- Citations
- 1
- Primary Topic
- Distributed and Parallel Computing Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.35
Funders
- Alibaba DAMO Academy