triton-lang/triton

Development repository for the Triton language and compiler

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 38 minutes ago
Added to GitGenius on May 29th, 2024
Created on August 30th, 2014
Open Issues & Pull Requests: 1,222 (-1)
Number of forks: 3,137
Total Stargazers: 19,996 (+0)
Total Subscribers: 200 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 13.6 hours
Mean response time: 67.0 days
90th percentile: 225.4 days
Tracked items: 1,148

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 96% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 57% of tracked open issues have had no activity in three months. Only 7% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 776
New in 7 days: 15
Closed in 7 days: 9
Avg open age: 631 days
Stale 30+ days: 748
Stale 90+ days: 713

Recent activity

Opened in 7 days: 12
Closed in 7 days: 8
Comments in 7 days: 21
Events in 7 days: 64

Top labels

  • bug (450)
  • performance (66)
  • enhancement (60)
  • help wanted (36)
  • needs reproducer (33)
  • question (31)
  • interpreter (7)
  • proton (5)

Detailed Description

Triton is a language and compiler designed for writing highly efficient custom deep-learning primitives with greater productivity than CUDA and more flexibility than existing domain-specific languages. The project is developed as an open-source environment that aims to bridge the gap between low-level GPU programming and high-level abstraction, with foundations described in the MAPL2019 publication "Triton: An Intermediate Language and Compiler for Tiled Neural Network Computations."

The repository is written primarily in MLIR and serves as the development hub for both the Triton language and its compiler infrastructure. The project maintains comprehensive documentation at triton-lang.org and provides multiple installation options, including binary wheels for CPython versions 3.10 through 3.14 available via pip, as well as source-based installation with support for custom LLVM builds. The build system is flexible, allowing developers to configure compilation with environment variables such as TRITON_BUILD_WITH_CLANG_LLD for faster builds using clang and lld, TRITON_BUILD_WITH_CCACHE for ccache integration, and MAX_JOBS to manage memory constraints during compilation.

The development environment provides extensive debugging and optimization capabilities through configuration knobs documented in python/triton/knobs.py. Developers can enable MLIR IR dumps with MLIR_ENABLE_DUMP, inspect LLVM IR transformations with LLVM_IR_ENABLE_DUMP, generate MLIR reproducers for failing compilation stages, and use the Triton interpreter via TRITON_INTERPRET for GPU-free testing with Python breakpoint support. Additional tools include LLVM address sanitizer integration for memory safety on AMD backends and fine-grained debug output control through TRITON_LLVM_DEBUG_ONLY.

The project maintains active community engagement through the Triton Developer Conference, with the third iteration held in October 2025 at Microsoft's Silicon Valley Campus. Conference materials including recordings and slides are publicly available, alongside documentation from previous 2024 and 2023 conferences. The repository also references third-party educational resources such as Triton Puzzles, which can be executed using the Triton interpreter without requiring GPU hardware, making the language accessible for learning and experimentation.