| Kind | dataset | dataset |
|---|
| Published | 2025 | 2025 |
|---|
| License | June 9 Researcher Reciprocity License (other). Training/improving AI services triggers reciprocity clause. Underlying repo licenses still apply. | other |
|---|
| License family | Other | Other |
|---|
| Access | Free download; legal friction if training commercial models without reciprocity | free |
|---|
| Language codes | en | en |
|---|
| Modalities | code, text | text |
|---|
| Size | 10K to 100K rows | 10K to 100K rows |
|---|
| Downloads (last month) | 242 | 242 |
|---|
| Likes | 57 | 57 |
|---|
| Last updated | 2026-06-09 | 2026-06-09 |
|---|
| Formats | parquet | parquet |
|---|
| Scale | 18,162 train rows (datasets-server); 12 columns; ~87 MB parquet / ~401 MB memory; Hub size_categories 10K<n<100K | Hub datasets-server: 18,162 train rows / 12 columns; size_categories 10K<n<100K. Parquet download_size 87,425,771 bytes (~87.4 MB); uncompressed dataset_size 400,578,833 (~400.6 MB). JSON twin dataset_permissive.json 416.4 MB. Hub usedStorage 604,388,003 bytes (~604.4 MB). Hub 829 downloads / 57 likes at check. |
|---|
| Format | dataset_permissive.parquet / .json on Hub | parquet (dataset_permissive.parquet) and JSON (dataset_permissive.json). Columns: entry_point, original_triton_code, python_code, triton_code, repo_name, module_name, synthetic, uuid, licenses, stars, sha, repo_link. |
|---|
| Type | paired code translation (PyTorch → Triton) | Paired code corpus / PyTorch→Triton kernel translation |
|---|
| Cost | Free download; legal friction if training commercial models without reciprocity | Free |
|---|
| Languages | English metadata; Python (PyTorch) and Triton code | English 100% (card language:en) plus Python/Triton source. Comments inherit GitHub-repo language mix; not quantified. No LID table. |
|---|
| Modality | Text (code) | Text-only (Python + Triton source). No PTX/cubin binaries in the schema. |
|---|
| Domain | GPU kernel / PyTorch-to-Triton code translation | GPU kernels; PyTorch nn.Module to Triton translation; compiler-generated kernels; KernelBench-style code |
|---|
| 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) | HF createdAt 2025-03-14; lastModified 2026-06-09 (Researcher Reciprocity license v1.0 dated 2026-06-09). Citation month May 2025. Triton generated with PyTorch 2.5.0 inductor. Source repos/hashes from The Stack v1 GitHub snapshot, not a live crawl. |
|---|
| Purpose | Paired pytorch↔triton data to train models that emit KernelBench-like Triton from PyTorch modules | Train models to translate PyTorch modules into equivalent Triton kernels |
|---|
| Used for | Kernel codegen model training; compiler/transpiler research; KernelBench-adjacent eval | GPU Mode / popcorn-kernels research and KernelBench-format kernel generation. Hub 829 downloads / 57 likes at check. Discord posted the HF URL. Sibling GPUMODE/pytorch_scrape_inductor_data is gated=manual — skipped; this is the public permissive slice. |
|---|
| Authors | GPU Mode (Paliskara, Saroufim). Code derived from permissive GitHub PyTorch repos via Stack v1 hashes. | Public GitHub authors on permissively licensed PyTorch repos (MIT/Apache-2.0/BSD/MPL/Unlicense/zlib listed). Curated by Sahan Paliskara and Mark Saroufim (GPU Mode). Triton is TorchInductor output, not human-written kernels. `synthetic` bool column marks some rows. |
|---|
| Bias | Only modules that compiled + got unit tests; Stack/GitHub popularity skew; permissive-license filter; PyTorch 2.5.0 Inductor idiosyncrasies | Stack v1 GitHub PyTorch modules that compiled and unit-tested, not general CUDA/Triton. Permissive-license subset only. Popular/starred repos overweighted (`stars` column). Inductor/PyTorch 2.5.0 kernel style, not hand-tuned kernels. KernelBench format transform. Parent bigcode/the-stack remains gated — this derived slice is public. |
|---|
| Text quality | Executable-oriented pairs with tests; Triton reshaped toward KernelBench. Still synthetic compiler output — may not match hand-written kernels. | Extracted torch.nn modules with generated unit tests; modules that could not be tested were dropped. Triton from torch.compile then rewritten toward KernelBench format. Residual compiler boilerplate and version-locked kernels (card: use PyTorch 2.5.0 to run). Not independently re-executed here. |
|---|
| Sample size | 18,162 single train split; star/repo metadata uneven | Single default train 18,162. No official val/test or language configs. JSON and parquet are the same permissive set. Gated siblings (pytorch_scrape_inductor_data, synthetic_data) are not this file. |
|---|
| Long context | Sometimes (full module + triton can be long) | No (single-module Python/Triton pairs; not full-repo context). |
|---|
| Intermediate steps | N/A (code pairs; not natural-language CoT) | Yes (Stack v1 repo+hash collection; nn.Module extraction; unit-test generation; torch.compile Triton; KernelBench-style rewrite; license/star/SHA metadata). Scripts: github.com/pytorch-labs/popcorn-kernels/tree/main/github_pytorch_index. |
|---|
| Idea quality | High | High |
|---|
| Novelty | Medium-High (focused Inductor-derived PyTorch-Triton pairs with reciprocity license) | High (public paired PyTorch/Triton kernel dump in KernelBench format) |
|---|
| Text conversion | Ready parquet/json via datasets | Ready parquet; load_dataset('GPUMODE/KernelBook') or pandas.read_parquet. ~87.4 MB parquet / ~416 MB JSON. |
|---|
| Collection method | Hub download of dataset_permissive.parquet; use PyTorch 2.5.0 if re-running Triton | Download |
|---|
| Static | Yes (fixed release files; no monthly refresh observed) | Unknown (HF lastModified 2026-06-09 is a license refresh; code snapshot is one-shot Stack v1 / PyTorch 2.5.0) |
|---|
| Processed | Yes (module extract, tests, Inductor, KernelBench-style transform) | Unknown |
|---|
| Summary | Paired pytorch↔triton data to train models that emit KernelBench-like Triton from PyTorch modules | `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. |
|---|