{
  "id": 1173,
  "kind": "dataset",
  "title": "GPUMODE/KernelBook",
  "summary": "Paired pytorch↔triton data to train models that emit KernelBench-like Triton from PyTorch modules",
  "body": "",
  "notes": "Deep-eval from #data-source-dump mid=1428356240630747206. Distinct from SakanaAI/AI-CUDA-Engineer-Archive. papers_local id follows.",
  "url": "https://huggingface.co/datasets/GPUMODE/KernelBook",
  "links": [
    {
      "url": "https://huggingface.co/datasets/GPUMODE/KernelBook",
      "label": "Dataset"
    },
    {
      "url": "https://huggingface.co/datasets/GPUMODE/KernelBook",
      "label": "Related"
    },
    {
      "url": "https://github.com/pytorch-labs/popcorn-kernels",
      "label": "Related"
    },
    {
      "url": "https://github.com/ScalingIntelligence/KernelBench",
      "label": "Related"
    },
    {
      "url": "https://huggingface.co/datasets/bigcode/the-stack",
      "label": "Related"
    }
  ],
  "authors": [
    "GPUMODE"
  ],
  "tags": [],
  "topics": "GPU kernel / PyTorch-to-Triton code translation",
  "venue": "",
  "publisher": "",
  "source": "huggingface",
  "language": "en",
  "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.",
  "published_year": 2025,
  "added_at": "2026-09-08T16:29:42.000Z",
  "verified_at": "2026-09-08T16:29:42.000Z",
  "attrs": {
    "dataset": {
      "cost": "Free download; legal friction if training commercial models without reciprocity",
      "type": "paired code translation (PyTorch → Triton)",
      "scale": "18,162 train rows (datasets-server); 12 columns; ~87 MB parquet / ~401 MB memory; Hub size_categories 10K<n<100K",
      "domain": "GPU kernel / PyTorch-to-Triton code translation",
      "format": "dataset_permissive.parquet / .json on Hub",
      "license": "June 9 Researcher Reciprocity License (other). Training/improving AI services triggers reciprocity clause. Underlying repo licenses still apply.",
      "novelty": "Medium-High (focused Inductor-derived PyTorch-Triton pairs with reciprocity license)",
      "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",
      "bias_dist": "Only modules that compiled + got unit tests; Stack/GitHub popularity skew; permissive-license filter; PyTorch 2.5.0 Inductor idiosyncrasies",
      "is_static": "Yes (fixed release files; no monthly refresh observed)",
      "processed": "Yes (module extract, tests, Inductor, KernelBench-style transform)",
      "author_dist": "GPU Mode (Paliskara, Saroufim). Code derived from permissive GitHub PyTorch repos via Stack v1 hashes.",
      "sample_size": "18,162 single train split; star/repo metadata uneven",
      "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)",
      "idea_quality": "High",
      "long_context": "Sometimes (full module + triton can be long)",
      "text_quality": "Executable-oriented pairs with tests; Triton reshaped toward KernelBench. Still synthetic compiler output — may not match hand-written kernels.",
      "language_dist": "English metadata; Python (PyTorch) and Triton code",
      "modality_dist": "Text (code)",
      "relevant_links": "https://huggingface.co/datasets/GPUMODE/KernelBook; https://github.com/pytorch-labs/popcorn-kernels; https://github.com/ScalingIntelligence/KernelBench; https://huggingface.co/datasets/bigcode/the-stack",
      "dataset_location": "https://huggingface.co/datasets/GPUMODE/KernelBook",
      "collection_method": "Hub download of dataset_permissive.parquet; use PyTorch 2.5.0 if re-running Triton",
      "intermediate_steps": "N/A (code pairs; not natural-language CoT)",
      "text_conversion_ease": "Ready parquet/json via datasets"
    }
  },
  "enrichment": {
    "hf": {
      "id": "GPUMODE/KernelBook",
      "size": "10K<n<100K",
      "type": "dataset",
      "gated": false,
      "likes": 57,
      "author": "GPUMODE",
      "created": "2025-03-14",
      "formats": [
        "parquet"
      ],
      "license": "other",
      "modified": "2026-06-09",
      "downloads": 242,
      "languages": [
        "en"
      ],
      "fetched_at": "2026-10-03T14:38:06.336Z",
      "modalities": [
        "tabular",
        "text"
      ]
    }
  },
  "enriched_at": "2026-10-03T14:38:06.373Z",
  "license_class": "other",
  "langs": [
    "en"
  ],
  "modalities": [
    "code",
    "text"
  ],
  "size_class": "10K<n<100K",
  "provenance": {
    "legacy_dataset_id": 372
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T14:38:06.373Z",
  "page": "https://papers.projxon.ai/entries/1173",
  "markdown": "https://papers.projxon.ai/entries/1173.md",
  "api": "https://papers.projxon.ai/api/entries/1173",
  "relations": [
    {
      "relation": "related",
      "direction": "out",
      "note": "shared link",
      "via": "shared-link",
      "entry": {
        "id": 92,
        "kind": "dataset",
        "title": "The Stack",
        "summary": "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.",
        "url": "https://huggingface.co/datasets/bigcode/the-stack",
        "authors": [
          "BigCode Project"
        ],
        "tags": [],
        "venue": "Hugging Face / BigCode",
        "source": "huggingface",
        "license": "Various permissive open-source licenses (193 in v1.1); each file's original license must be respected; opt-out supported",
        "published_year": 2022,
        "added_at": "2026-07-17T20:18:03.654Z",
        "has_dataset_profile": true,
        "license_class": "permissive",
        "langs": [
          "code"
        ],
        "modalities": [
          "code",
          "text"
        ],
        "size_class": "100M<n<1B",
        "citation_count": null,
        "downloads": 9409,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/92",
        "markdown": "https://papers.projxon.ai/entries/92.md",
        "api": "https://papers.projxon.ai/api/entries/92"
      }
    },
    {
      "relation": "related",
      "direction": "out",
      "note": "shared link",
      "via": "shared-link",
      "entry": {
        "id": 105,
        "kind": "dataset",
        "title": "KernelBook",
        "summary": "`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.",
        "url": "https://huggingface.co/datasets/GPUMODE/KernelBook",
        "authors": [
          "GPUMODE"
        ],
        "tags": [],
        "venue": "GPUMODE",
        "source": "huggingface",
        "license": "other",
        "published_year": 2025,
        "added_at": "2026-07-17T19:58:29.818Z",
        "has_dataset_profile": true,
        "license_class": "other",
        "langs": [
          "en"
        ],
        "modalities": [
          "text"
        ],
        "size_class": "10K<n<100K",
        "citation_count": null,
        "downloads": 242,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/105",
        "markdown": "https://papers.projxon.ai/entries/105.md",
        "api": "https://papers.projxon.ai/api/entries/105"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 888,
      "kind": "paper",
      "title": "Hawkeye: Hardware-Aware GPU Kernel Optimization with Minimal Supervision",
      "summary": "HAWKEYE provides ~10 expert unit tests per architecture (one per recurring optimization strategy) so coding agents can stack hardware-specific optimizations across Ampere/Hopper/Blackwell/MI350 and low precisions (BF16, FP8, NVFP4, MXFP4), approaching or surpassing expert PyTorch/Triton. No numeric arXiv id found on AlphaXiv page (slug 2608.hawkeye-...); cataloged from AlphaXiv abstract.",
      "url": "https://www.alphaxiv.org/abs/2608.hawkeye-hardware-aware-gpu-kernel-optimizationv1",
      "authors": [
        "Arya Tschand",
        "Kesavan Ramakrishnan",
        "Alexander Ingare",
        "Simon Guo",
        "Jeffrey Ma",
        "Zishen Wan",
        "Simran Arora",
        "Azalia Mirhoseini",
        "Vijay Janapa Reddi"
      ],
      "tags": [
        "hawkeye",
        "gpu-kernels",
        "coding-agents",
        "triton",
        "hardware-aware",
        "alphaxiv"
      ],
      "venue": "alphaXiv",
      "source": "other",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-14T16:30:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/888",
      "markdown": "https://papers.projxon.ai/entries/888.md",
      "api": "https://papers.projxon.ai/api/entries/888"
    },
    {
      "id": 1035,
      "kind": "dataset",
      "title": "UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)",
      "summary": "OpenBMB UltraData-Code implements the UltraData L0–L4 tiered code-data pipeline. L0 archives ~192M public GitHub default-branch revisions; L1 filters/normalizes/near-dedups; Hub currently releases L2 (~400B tokens, algorithmically selected natural code) and L3 (~150B tokens, task-oriented synthesis: task/analysis/solution/test) across 11 languages (cpp,cs,go,java,js,php,py,r,rb,rust,sh). L0/L1 not published as Hub configs. Viewer: 348,083,481 rows (L2 266,878,376 × 7 cols; L3 81,205,105 × 10 cols); usedStorage ~1.216 TB / 1132.5 GiB across 1131 siblings. L2 schema: uuid, repo_name, relative_path, content, category, algo_rel_score, quality_score. L3 schema: uuid, content, content_format, raw_content, task, analysis, solution, test, full_content, full_content_format. 10B-token CPT of a 1B model: L2 vs L1 +7.80 EvalPlus / +5.13 MultiPL-E; L2+L3 mix vs L2-only +8.42 / +8.07. Companion L2 Classifier uses Qwen3-Embedding-0.6B.",
      "url": "https://huggingface.co/datasets/openbmb/UltraData-Code",
      "authors": [
        "OpenBMB",
        "dataset citation: Chengying Tu",
        "Hengyu Zhao",
        "Shuaikang Xue",
        "Zhongming Qu",
        "Jihao Zhou",
        "Xinle Lin",
        "Junshao Guo",
        "Zixuan Fu",
        "Qiang Ma",
        "Jie Zhou",
        "Chaojun Xiao",
        "Hongfei Yan",
        "Yudong Wang",
        "Xu Han",
        "Zhiyuan Liu",
        "Maosong Sun",
        "framework paper 2602.09003: Yudong Wang",
        "Chen Zhao",
        "Chuyue Zhou",
        "Hongya Lyu",
        "Yi Yi",
        "Yingjiao Wang",
        "Zhi Zheng",
        "Yuzhou Zhang",
        "Maosong Sun (Tsinghua / ModelBest)"
      ],
      "tags": [
        "ultradata-code",
        "ultradata",
        "openbmb",
        "code-pretraining",
        "algorithmic-code",
        "synthetic-data",
        "l2",
        "l3",
        "minicpm5",
        "apache-2.0",
        "github-derived",
        "parquet"
      ],
      "venue": "Hugging Face / OpenBMB",
      "source": "huggingface",
      "license": "Apache-2.0 (plus upstream per-repository licenses; card forbids unauthorized unchanged redistribution)",
      "published_year": 2026,
      "added_at": "2026-09-24T12:52:19.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en",
        "zh"
      ],
      "modalities": [
        "tabular",
        "text"
      ],
      "size_class": "100M<n<1B",
      "citation_count": null,
      "downloads": 44061,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1035",
      "markdown": "https://papers.projxon.ai/entries/1035.md",
      "api": "https://papers.projxon.ai/api/entries/1035"
    },
    {
      "id": 567,
      "kind": "paper",
      "title": "Liger Kernel: Efficient Triton Kernels for LLM Training",
      "summary": "Open-source Triton kernels (RMSNorm, LayerNorm, RoPE, SwiGLU/GeGLU, CrossEntropy, FusedLinearCrossEntropy) using fusion and input chunking. Reports ~20% higher training throughput and ~60% less GPU memory vs HuggingFace implementations. 4×A100 Alpaca seq-512: Llama 3-8B +42.8% throughput / −54.8% memory at batch 64; Qwen2 +25.5% / −56.8% at batch 48. Also Gemma, Mistral, Phi-3. AutoLigerKernelForCausalLM plus HF Trainer/TRL/Axolotl/LLaMA-Factory hooks. Code https://github.com/linkedin/Liger-Kernel.",
      "url": "https://arxiv.org/abs/2410.10989",
      "authors": [
        "Pin-Lun Hsu",
        "Yun Dai",
        "Vignesh Kothapalli",
        "Qingquan Song",
        "Shao Tang",
        "Siyu Zhu",
        "Steven Shimizu",
        "Shivam Sahni",
        "Haowen Ning",
        "Yanning Chen"
      ],
      "tags": [
        "liger",
        "triton",
        "fused-kernels",
        "rmsnorm",
        "rope",
        "swiglu",
        "flce",
        "linkedin",
        "llm-training"
      ],
      "venue": "arXiv / LinkedIn",
      "source": "",
      "license": "CC BY 4.0",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 155,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/567",
      "markdown": "https://papers.projxon.ai/entries/567.md",
      "api": "https://papers.projxon.ai/api/entries/567"
    },
    {
      "id": 1419,
      "kind": "post",
      "title": "One Search, Two Layers: Compiler Controls Inside PyTorch Helion Using NVIDIA CompileIQ",
      "summary": "Helion is PyTorch's Python-embedded DSL for GPU kernels (released 2025): write PyTorch with hl.tile, the autotuner explores thousands of Triton configs (block sizes, loop orders, num_warps, num_stages, indexing, pid_type, reduction_loops), lowering through TorchInductor → Triton → PTX → ptxas → SASS. The post's argument: every kernel autotuner (Helion, Triton, torch.compile) searches the same space — \"what work each thread block does\" — while a second space sits below it: how that work becomes machine assembly via ptxas (NVIDIA's PTX assembler), i.e. register allocation policy, fine-grained instruction scheduling, code-gen heuristics, exposed as tunable \"advanced controls\" since CUDA 13.3 and left at defaults by everything shipping today. Helion's new autotune_search_acf hands a list of Advanced Control Files (ACFs — binary, portable, versionable compile-time artifacts) to Helion's own autotuner as just another search dimension; the empty string (compiler defaults) is auto-appended so the default is always a candidate — worst case you get back the kernel you had. The substantive argument for joint search: sequential tuning finds a local optimum because the spaces are coupled through hardware — block size/stage count determine register pressure, and register allocation decides whether that pressure causes spills; a control set that would shine at block_sizes=[64,64] is never evaluated there if the kernel config was frozen first under default controls. ACFs are produced by NVIDIA's CompileIQ, which treats compiler-control selection as hyperparameter optimization (evolutionary search: propose population, compile each, correctness-check vs reference, time survivors, breed winners); pip install compileiq. Pre-tuned \"Booster Packs\" are published on CompileIQ's GitHub releases — the helion-booster-pack holds 24 ACFs tuned across Helion kernels, validated against ptxas from CUDA 13.4, targeting B200 — so the realistic workflow is download the pack, point autotune_search_acf at it, autotune once, pin the winner. Case study (all vendor/first-party, GB200 sm_100 Blackwell, ptxas 13.3.73 / CUDA 13.3, CompileIQ 1.0.3, Triton 3.8.0, locked clocks, correctness vs PyTorch reference, Welch's t-test p<0.05 + Cohen's d>0.2 on every claim): nvfp4_gemv_fp4in_kernel, a W4A4 NVFP4 decode GEMV (N=8192, K=28672 down_proj) that already ships a checked-in Helion AOT config — i.e. the baseline was already swept, so headroom is real. Runtime objective: 0.0971 → 0.0928 ms = 1.047× (4.7%), confirmed in two independent runs (d≈2.5). Occupancy objective (ncu metric): +0.16pp achieved occupancy → ~1.75–2.0% runtime win. Multi-objective (runtime + L1TEX throughput): 6.9% runtime speedup + 4.5pp L1TEX gain (81.51%→85.96%), one Pareto-dominant point, nothing traded off. Joint ACF across two shapes (down_proj + N=15360,K=5120): one ACF beats baseline on both (1.05× d=67.71, 1.01× d=4.54). Stated expectations: 2–7% on already-highly-optimized kernels (meaningful for decode-step kernels running fleet-wide), double digits on less-optimized ones. Caveats (authors' own): ACFs are hardware- and toolkit-specific (sm_90 ACF invalid on sm_100 — can produce incorrect results, not just slower code; correctness check in the search loop is not optional); search time is nontrivial — run offline on kernels that matter, then pin; gains are workload-specific (\"the only number that matters for your kernel is the one you measure on your kernel\"). Links: github.com/pytorch/helion, helionlang.com, helion examples/acfs, pretuned_kernels; github.com/NVIDIA/CompileIQ, nvidia.github.io/CompileIQ, NVIDIA's CompileIQ blog post.",
      "url": "https://pytorch.org/blog/one-search-two-layers-compiler-controls-inside-pytorch-helion-using-nvidia-compileiq/",
      "authors": [
        "PyTorch team",
        "with NVIDIA (published on the official PyTorch blog 2026-10-19",
        "individual author byline not shown on the page)"
      ],
      "tags": [],
      "venue": "PyTorch blog",
      "source": "blog",
      "license": "",
      "published_year": null,
      "added_at": "2026-10-19T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1419",
      "markdown": "https://papers.projxon.ai/entries/1419.md",
      "api": "https://papers.projxon.ai/api/entries/1419"
    },
    {
      "id": 777,
      "kind": "paper",
      "title": "BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?",
      "summary": "Introduces BigO(Bench), a benchmark for evaluating LLMs on understanding and generating code with specified time/space complexity. Includes tooling to infer algorithmic complexity of any Python function from profiling, plus 3,105 coding problems and 1,190,250 solutions from Code Contests annotated with inferred complexity labels, runtime, and memory footprints across input sizes. Finds token-space reasoning models are unrivaled at code generation but not at complexity understanding, hinting they may not generalize to tasks with no training-time reward.",
      "url": "https://arxiv.org/abs/2503.15242",
      "authors": [
        "Pierre Chambon",
        "Baptiste Roziere",
        "Benoit Sagot",
        "Gabriel Synnaeve"
      ],
      "tags": [
        "benchmark",
        "code-complexity",
        "code-generation",
        "big-o",
        "code-contests"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 11,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/777",
      "markdown": "https://papers.projxon.ai/entries/777.md",
      "api": "https://papers.projxon.ai/api/entries/777"
    },
    {
      "id": 1044,
      "kind": "post",
      "title": "vime × RL-Kernel × AMD: Bitwise Train–Rollout Consistency on ROCm (RL-Kernel v0.1.0)",
      "summary": "vLLM Blog (2026-09-14) on RL-Kernel v0.1.0 with vime and AMD: Megatron training and vLLM rollout often disagree on logprobs for the same weights/tokens because kernels, Split-K/KV, reduction order, and intermediate precision differ, which pollutes importance ratios and KL/clipping. RL-Kernel aligns the numerical execution contract (RMSNorm, Attention, GEMM/SwiGLU, linear logprob, collectives) while vime aligns the timeline and weight sync. On ROCm they added deterministic MFMA GEMM, vocabulary reduction, HIP IPC, AITER/CK Attention schedule fixes, math/fusion last-bit fixes, and paged-KV/HIP-Graph state fixes. End-to-end Qwen3-8B BF16 GRPO on 8× MI300X (Megatron TP4/CP2; 2× vLLM TP4 colocated; 200 steps; dapo-math-17k) reports mismatch_count=0 and max_abs_diff=0 throughout on the strict path vs native mismatches every step. Apache-2.0 at github.com/RL-Align/RL-Kernel (pyproject 0.1.0; torch>=2.4.1; transformers==5.13.1; optional cuda/rocm/vllm extras). Docs https://rl-align.github.io/RL-Kernel/. Scope today: Qwen3-8B Dense + vime + CUDA/ROCm; MoE/multimodal next.",
      "url": "https://vllm.ai/blog/2026-09-14-rl-kernel-v0-1-0-train-rollout-bitwise-consistency",
      "authors": [
        "RL-Kernel Team",
        "vime Team",
        "AMD Team (core: Chutian Wang",
        "Jiajie Li",
        "Siru He",
        "Xiaosong Ma",
        "Kaijie Lin",
        "Jian Zhang",
        "Huihong Lu",
        "Yunxiang Cai",
        "Bosong Yang",
        "Zhewei Liu",
        "Houhong Liang",
        "Ryan Huang",
        "Vensen Mu)"
      ],
      "tags": [
        "rl-kernel",
        "vime",
        "vllm",
        "megatron",
        "bitwise-consistency",
        "train-rollout",
        "rocm",
        "mi300x",
        "grpo",
        "amd",
        "rl-align",
        "apache-2.0",
        "vendor-blog"
      ],
      "venue": "vLLM Blog / RL-Align",
      "source": "web",
      "license": "Apache-2.0 (RL-Kernel; LICENSE + pyproject)",
      "published_year": null,
      "added_at": "2026-09-25T02:09:13.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1044",
      "markdown": "https://papers.projxon.ai/entries/1044.md",
      "api": "https://papers.projxon.ai/api/entries/1044"
    }
  ]
}
