Skip to content
Project

Triton

Python-embedded language and compiler for writing GPU kernels.

Stars
21k
Forks
3.4k
Open issues
1.4k
Latest release
v3.9.0
License
MIT
Language
MLIR
Stars
latest
21k▲ 302
Forks
latest
3.4k▲ 172
Open issues + PRs
latest
1.4k▲ 160
Merged PRs (30d)
latest
218▲ 153
PR authors (90d)
latest
105▲ 75
Releases (365d)
latest
5▼ 1

Daily snapshots since metrics history started (44 days so far); trends need at least a week.

Contribute

Contributing guide
CONTRIBUTING ↗
Open wanted issues
15 help wanted
Merged PRs (30d)
218
Release cadence
5 in 365 daysmedian 70 days apart

GitHub community profile 62%. Maintainer response time is not collected yet.

Top ranked issues

Help wantedTriton#113763

Vague CompilationError

Working on a kernel I got a CompilationError when trying to launch it, and while the CompilationError message points to the "problem" it doesn't specify what the problem is. I eventually figured out that it doesn't like when you call load with other set but mask set to None. I…

help wanted

Demand: 0 reactions, 7 comments · Maintainer engagement: 218 PRs merged in the project in 30 days · Feasibility: help wanted (scope not marked as small) · Freshness: updated 11 days ago

Help wantedTriton#164751

Calculate tl.dot, the output is the matrix of col major, but the result is wrong

My test code is following: def test dot(M , N , K , num warps ): @triton.autotune( configs=[triton.Config({'BLOCK M': M , 'BLOCK N': N , 'BLOCK K': K }, num stages=1, num warps=num warps )], key=[] ) @triton.jit def matmul kernel( a ptr, b ptr, c ptr, M, N, K, BLOCK M:…

help wanted

Demand: 0 reactions, 6 comments · Maintainer engagement: 218 PRs merged in the project in 30 days · Feasibility: help wanted (scope not marked as small) · Freshness: updated 82 days ago

Help wantedTriton#148349

Illegal memory access for large enough shapes on 4D tensors GEMM

Hi, I doubt this is a duplicate of because I am not overflowing on the program ids (largest PID should be cdiv(8192, 16) cdiv(8192, 32) = 131072 in my case). I extended to support 4D tensors, e.g. of shapes (2, 8, 1024, 1024) and (2, 8, 1024, 512). For large enough values in…

help wanted

Demand: 0 reactions, 4 comments · Maintainer engagement: 218 PRs merged in the project in 30 days · Feasibility: help wanted (scope not marked as small) · Freshness: updated 82 days ago

Help wantedTriton#142149

Use atomic_cas inside a loop

Hi, I'm experimenting with a simple kernel that reduces a rank-3 tensor on its last dimension. The kernel uses atomics to sum across one tensor row (I know it's not efficient, this is just a simple reproducer). I'm using two versions of the atomics, the first using atomic add,…

help wanted

Demand: 0 reactions, 4 comments · Maintainer engagement: 218 PRs merged in the project in 30 days · Feasibility: help wanted (scope not marked as small) · Freshness: updated 82 days ago

Help wantedTriton#107249

[Question] Is it possible to cache the autotune output and re-use it later on ?

Dear OpenAI Triton Team, Here is my use case. I am deploying models and the more requests they get, the faster they become. After a large number of requests, it seems the auto-tune converges. I wonder if that state can be cached and re-used when restarting the server ? Best, T.C

help wanted

Demand: 2 reactions, 7 comments · Maintainer engagement: 218 PRs merged in the project in 30 days · Feasibility: help wanted (scope not marked as small) · Freshness: updated 1398 days ago

Opportunities

13 concerning this

Review · 3open tab →

RFC / designTriton#1243956

[RFC] Core changes needed by the out-of-tree XPU backend

Context We're checking whether the XPU backend can work out of tree. The prototype: - is its own package, installed next to an unmodified Triton wheel and picked up through the triton.backends entry point - builds its C++ part against the wheel's headers and links libtriton,…

open RFC
RFC / designTriton#1086029

[RFC] Composable Kernel with runtime aggregate parameters

Summary Allow a @triton.aggregate to be constructed on the host and passed to a kernel as a single argument. The aggregate's runtime data members (e.g. tl.tensor , tl.tensor descriptor , or scalars) are automatically lifted to runtime kernel parameters , while its tl.constexpr…

open RFC

Build · 1open tab →

Signals · 9open tab →

Recurring pain

“returns wrong” in open issues of 24 projects

24 projects56 open issues
Recurring pain

“wrong results” in open issues of 20 projects

20 projects60 open issues
Recurring pain

“illegal memory” in open issues of 20 projects

20 projects72 open issues
Recurring pain

“silently dropped” in open issues of 19 projects

19 projects29 open issues

Components

3

Maintainers

2
  • OpenAIOrganizationsource

    AI lab; originated Triton; releases gpt-oss open-weight models.

  • Creator of the Triton language and compiler.

Top contributors

15

Releases & tracking issues

12

Related projects

3
  • CUTLASS★ 11k

    CUDA C++ and Python templates (CuTe, CuTe DSL) for GEMM and attention kernels.

  • TileLang★ 9.0k

    Tile-level DSL for high-performance kernels on GPUs and NPUs.

  • Tile primitives for writing fast GPU kernels.

Related projects

3
  • CUTLASS★ 11k

    CUDA C++ and Python templates (CuTe, CuTe DSL) for GEMM and attention kernels.

  • TileLang★ 9.0k

    Tile-level DSL for high-performance kernels on GPUs and NPUs.

  • Tile primitives for writing fast GPU kernels.