GPUMODE/KernelBook
Summary
Paired pytorch↔triton data to train models that emit KernelBench-like Triton from PyTorch modules
- Source
- huggingface
- Access
- Free download; legal friction if training commercial models without reciprocity
- License
- June 9 Researcher Reciprocity License (other). Training/improving AI services triggers reciprocity clause. Underlying repo licenses still apply.
- License family
- Other
- Language
- en
- Added
- Sep 8, 2026
- Verified
- Sep 8, 2026
From the source
- Repository
- GPUMODE/KernelBook
- Created
- Mar 14, 2025
- Last updated
- Jun 9, 2026
- Downloads (last month)
- 242
- Likes
- 57
- Size
- 10K to 100K rows
- Modalities
- code, text
- Formats
- parquet
Topics
GPU kernel / PyTorch-to-Triton code translation
Dataset profile
- Scale
- 18,162 train rows (datasets-server); 12 columns; ~87 MB parquet / ~401 MB memory; Hub size_categories 10K<n<100K
- Format
- dataset_permissive.parquet / .json on Hub
- Type
- paired code translation (PyTorch → Triton)
- License
- June 9 Researcher Reciprocity License (other). Training/improving AI services triggers reciprocity clause. Underlying repo licenses still apply.
- Cost
- Free download; legal friction if training commercial models without reciprocity
- Languages
- English metadata; Python (PyTorch) and Triton code
- Modality
- Text (code)
- Domain
- GPU kernel / PyTorch-to-Triton code translation
- Time period
- Stack v1 GitHub PyTorch sources; Inductor w/ PyTorch 2.5.0; software cite 2025-05; Hub 2026-06-09; Discord 1428356240630747206 (2025-10-16)
- Purpose
- Paired pytorch↔triton data to train models that emit KernelBench-like Triton from PyTorch modules
- Used for
- Kernel codegen model training; compiler/transpiler research; KernelBench-adjacent eval
- Authors
- GPU Mode (Paliskara, Saroufim). Code derived from permissive GitHub PyTorch repos via Stack v1 hashes.
- Bias
- Only modules that compiled + got unit tests; Stack/GitHub popularity skew; permissive-license filter; PyTorch 2.5.0 Inductor idiosyncrasies
- Text quality
- Executable-oriented pairs with tests; Triton reshaped toward KernelBench. Still synthetic compiler output — may not match hand-written kernels.
- Sample size
- 18,162 single train split; star/repo metadata uneven
- Long context
- Sometimes (full module + triton can be long)
- Intermediate steps
- N/A (code pairs; not natural-language CoT)
- Idea quality
- High
- Novelty
- Medium-High (focused Inductor-derived PyTorch-Triton pairs with reciprocity license)
- Text conversion
- Ready parquet/json via datasets
- Collection method
- Hub download of dataset_permissive.parquet; use PyTorch 2.5.0 if re-running Triton
- Static
- Yes (fixed release files; no monthly refresh observed)
- Processed
- Yes (module extract, tests, Inductor, KernelBench-style transform)
Research notes
- Deep-eval from #data-source-dump mid=1428356240630747206. Distinct from SakanaAI/AI-CUDA-Engineer-Archive. papers_local id follows.
Related entries
- Dataset
The Stack
The Stack is a collection of over 6TB of permissively-licensed source code files covering 358 programming languages, created as part of the BigCode Project (an open scientific collaboration for responsible Code LLM development). It serves as a pretraining dataset for code-generating LLMs and provides per-file provenance metadata (repository name, licenses, stars/forks/issues counts, git hashes) to support attribution and license compliance. The dataset has an opt-out mechanism and is regularly updated to enact validated data-removal requests.
- Dataset
KernelBook
`dataset_permissive{.json/.parquet}` is a curated collection of pairs of pytorch programs and equivalent triton code (generated by torch inductor) which can be used to train models to translate pytorch code to triton code.
Similar entries
- Paper Hawkeye: Hardware-Aware GPU Kernel Optimization with Minimal Supervision
- Dataset UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)
- Paper Liger Kernel: Efficient Triton Kernels for LLM Training
- Post One Search, Two Layers: Compiler Controls Inside PyTorch Helion Using NVIDIA CompileIQ
- Paper BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?
- Post vime × RL-Kernel × AMD: Bitwise Train–Rollout Consistency on ROCm (RL-Kernel v0.1.0)