Triton
Content Lifecycle & Evolution State
Overview
Triton is a language and compiler for writing highly efficient custom Deep-Learning primitives. It aims to provide an open-source environment for writing fast code at higher productivity than CUDA, but with higher flexibility than other existing DSLs.
Key Features
High Productivity: Provides an environment to write fast code more productively than CUDA.
High Flexibility: Offers greater flexibility compared to other domain-specific languages (DSLs) for deep learning.
MLIR-based Backend: Features a compiler backend rewritten to use MLIR.
Back-to-back Matmuls: Supports kernels that contain back-to-back matmuls, enabling operations like flash attention.
Use Cases
Writing highly efficient custom Deep-Learning primitives and optimizing deep learning workloads, such as flash attention and complex matmul operations.
Getting Started
Recent Updates
Version 3.8.0 includes Proton profiling improvements like CUDA graph profiling, new examples and tutorials, low-precision matmul additions, storage shape queries, performance improvements, standalone CUDA backend (can run without PyTorch), and various bug fixes.