Triton Overview

Triton is a Python-based programming language that has gained popularity in recent years. You only need to focus on the tiling/block slicing mode and its computation logic. The Triton compiler can automatically handle tasks like memory allocation, data movement, computation scheduling, and pipeline parallelism during compilation, based on the underlying hardware features. This makes operator development easier with higher efficiency.

Triton-Ascend is a Triton compilation framework built for the Ascend platform, aiming to enable Triton code to run efficiently on Ascend hardware. We are actively improving Triton-Ascend by enhancing Python APIs, supporting more data types, making memory access more flexible, and optimizing the compiler's automatic optimization capabilities. These improvements aim to boost the overall functionality and performance of Triton-Ascend.

Integrating Triton operators into GE graphs allows you to reuse custom Triton operators developed during GPU training and incorporate them into the graph execution process with minimal costs. This gives you the best possible performance benefited from graph offloading.

The following figure shows the overall process.

The process consists of two phases: development and running.