# gpu-mode/Triton-Puzzles

Puzzles for learning Triton

Repository: https://github.com/gpu-mode/Triton-Puzzles
Canonical: https://ross.abutalabs.com/products/triton-puzzles
Language: Jupyter Notebook
License: Apache-2.0
License Family: permissive
Topics: machine-learning, puzzle
Last push: 2026-04-01T04:01:16+00:00

## Health v2 (maintenance only)
Score: 59/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 75, release rhythm 35, longevity 64
- inputs: {"age_days": 898, "days_push": 154, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2572, forks 252 (observed 2026-08-28T04:07:01.487017+00:00)

## What it is
A set of interactive Jupyter notebook puzzles for learning the Triton GPU programming language from first principles. The puzzles run via a Triton interpreter without needing a GPU, progressing from basics to real algorithms like Flash Attention and quantized neural networks.

## Use cases
- learn Triton GPU programming interactively
- practice writing GPU kernels without a GPU
- understand memory loading and storage in Triton
- implement Flash Attention as a learning exercise
- teach accelerator programming from first principles
- prepare for GPU kernel optimization work

## When to choose
- you want a hands-on, interactive way to learn Triton
- you don't have GPU hardware but want to learn GPU programming
- you prefer puzzle-based learning with progressive difficulty
- you already know NumPy or PyTorch and want to move toward low-level kernels

## When to avoid
- you need production Triton kernel code for a real project
- you want comprehensive Triton documentation rather than exercises
- you are looking for CUDA or other GPU language tutorials
- you need a maintained software library or tool

## Facets
- artifact type: learning-resource
- maturity: active
- function: machine-learning, gpu-computing
- domain: machine-learning, gpu-computing, tutorials
- platform: python, cross-platform
- tags: triton, puzzles, jupyter-notebook, gpu-programming, interactive-learning, flash-attention, kernel-development, education, gpu

## Member repositories
- gpu-mode/Triton-Puzzles (main) score 59

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:01.487017+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:23:09.615566+00:00, confidence not recorded.
  - readme: https://github.com/gpu-mode/Triton-Puzzles (fetched 2026-08-28T04:07:01.487017+00:00, sha c8b3a51a273e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
