arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.04828cs.LG
收藏

面向支持抽象与优化的深度学习加速器的高层编译器集成方法

A High-Level Compiler Integration Approach for Deep Learning Accelerators Supporting Abstraction and Optimization

Technical University of Munich(慕尼黑技术大学);TU Wien(维也纳技术大学)

Samira Ahmadifarsani, Daniel Mueller-Gritschneder, Ulf Schlichtmann

AI总结:

本文提出基于TVM的高层编译器集成方法,结合CoSA设计空间探索自动调度张量,在Gemmini上实现与手工工具链相当的性能,简化GEMM类深度学习加速器集成。

摘要:

领域专用架构在边缘计算平台中用于深度学习的日益普及,凸显了硬件加速器的效率。然而,由于需要在编译层进行大量修改并采用专门的调度技术,将定制加速器集成到现代机器学习(ML)编译器中仍然是一个复杂的挑战。现有框架只提供部分解决方案,并要求用户深入理解复杂的编译器内部机制。在本文中,我们提出了一种基于TVM的编译集成方法,面向基于GEMM的深度学习加速器。我们的方法抽象了编译器集成的复杂性,使得加速器能够无缝集成,而无需深入了解底层编译器。此外,我们扩展并引入了设计空间探索工具,特别是CoSA,以自动化高效的张量调度,同时考虑非均匀映射和双缓冲等因素。我们的框架在Gemmini加速器上进行了基准测试,表现出与其专门手工实现的工具链相当的性能。

英文摘要:

The growing adoption of domain-specific architectures in edge computing platforms for deep learning has highlighted the efficiency of hardware accelerators. However, integrating custom accelerators into modern machine learning (ML) compilers remains a complex challenge due to the need for significant modifications in compilation layers and specialized scheduling techniques. Existing frameworks offer partial solutions and require users to navigate intricate compiler internals. In this paper, we introduce a TVM-based compilation integration approach that targets GEMM-based deep learning accelerators. Our approach abstracts the complexities of compiler integration, enabling seamless integration of accelerators without requiring in-depth knowledge of the underlying compiler. Furthermore, we extend and incorporate design space exploration tools, specifically CoSA, to automate efficient tensor scheduling, accounting for factors such as uneven mapping and double buffering. Our framework is benchmarked on the Gemmini accelerator, demonstrating performance comparable to its specialized manually implemented toolchain.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑