Towards Feature Complete Triton Support in JAX-Triton

, ,

The promise of JAX-Triton has always been simple: let Triton GPU kernels run seamlessly inside JAX. Until recently, however, JAX-Triton fell short of that promise, and the ideal use case - taking an existing Triton kernel from another framework, such as PyTorch, and running it in JAX - worked only for a narrow set of specifically written kernels.

The compatibility update that AMD contributed to JAX-Triton is a major leap forward. It supports most Triton features and moves the project from an experimental prototype toward maturity. The update does not yet fully cover the ideal use case, but today you can run virtually any Triton or Gluon kernel inside JAX, either directly or after minor cosmetic changes. In practice, this means that in many cases you can simply copy-paste or import a kernel from another framework into JAX and run it efficiently as part of a compiled compute graph.

Read the whole blog: Towards Feature Complete Triton Support in JAX-Triton — ROCm Blogs