Skip to content
inference.academy

glossary/tooling/triton

Triton

also OpenAI Triton

A Python-embedded language and compiler for writing GPU kernels at the level of blocks of data rather than individual threads. It handles memory coalescing, shared memory and scheduling within a block, so a fused kernel that would take a CUDA expert a week is an afternoon. Most custom kernels in serving engines are Triton, with CUDA or CUTLASS reserved for the few that need the last percent.


blocks, not threads

The abstraction: a program instance owns a tile and the compiler decides how the threads cover it.


Related