graph-autofusion:基于昇腾芯片的融合加速组件集合项目

Graph-autofusion 是一个面向昇腾(Ascend)芯片的轻量级、解耦式组件集合,旨在通过自动融合技术加速模型执行。 目前已开源 SuperKernel 组件,未来将持续开放更多自动融合相关模块。

Branch1Tags0
FilesLast commitLast update
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
7 months ago
6 months ago
7 months ago
5 months ago
11 months ago
5 months ago
1 year ago
6 months ago
5 months ago
5 months ago
1 year ago
5 months ago
9 months ago
5 months ago
5 months ago
5 months ago

Graph-autofusion

🔥Latest News

  • [2026/04] Autofuse component is open sourced! The Autofuse automatic fusion function is provided on Ascend chips. It can automatically fuse adjacent operators into one, eliminating the time consumption of input and output transfer, reducing the number of operators, and optimizing the total operator execution time.
  • [2025/10] Graph-autofusion project is open sourced! SuperKernel fusion function is provided on Ascend chips. It can reduce task scheduling waiting time and scheduling overhead, optimizing operator execution overhead.

🚀Overview

Graph-autofusion is a lightweight, decoupled component collection for Ascend chips. It aims to accelerate model execution through various fusion-related technologies. Currently, the SuperKernel component and Autofuse component are open sourced, and more fusion-related modules will be continuously released in the future.

Component features:

  • Focus on fusion acceleration technology: Efficient fusion and acceleration are implemented based on codegen JIT compilation mechanism.
  • Modular and decoupled: Components are independent and can be selected as needed. The underlying dependencies are minimal, relying only on AscendC and the runtime environment.

⚡️Quick Start

🔍Directory Structure

├── autofuse                       # Autofuse component. Autofuse source code, tests, and documentation are in this subdirectory.
├── build.sh                       # One-click project build script
├── cmake                          # Project build directory
├── CMakeLists.txt                 # Project CMakeLists
├── docs                           # Project overall documentation
│  ├── build.md                    # One-click build script documentation
│  ├── ...                         # Other documentation related to this project
├── super_kernel                   # SuperKernel component. SuperKernel source code, tests, and documentation are in this subdirectory.
├── ...                            # Planned future components
├── README.md                      # graph-autofusion project overall functionality introduction
├── scripts                        # Script path
   └── package

Introduction

Graph-autofusion 是一个面向昇腾(Ascend)芯片的轻量级、解耦式组件集合,旨在通过自动融合技术加速模型执行。 目前已开源 SuperKernel 组件,未来将持续开放更多自动融合相关模块。

Customize your domain