Dataset · GPUMODE
PyTorch code and equivalent Triton kernel pairs
GPUMODE/KernelBook
A curated collection of PyTorch programs and corresponding Triton code for training GPU optimization models.
What's inside
The dataset contains between 10 thousand and 100 thousand records in JSON and parquet formats with English text and tabular data. It consists of pairs of PyTorch programs and equivalent Triton code generated via torch inductor using PyTorch version 2.5.0. The set was compiled by the GPUMODE community.
What you can do with it
- Train code translation models from PyTorch to Triton
- Fine-tune code LLMs and LoRA for writing and optimizing GPU kernels
- Benchmark low-level code generation for PyTorch 2.5.0
- Languages
- English
- Size
- 10K–100K rows
- Downloads this month
- 731
- Likes
- 63
Models trained on it
- facebook/KernelLLMText generation 2.5K
- mradermacher/KernelLLM-i1-GGUF 1.2K
- Mungert/KernelLLM-GGUF 507
- mradermacher/KernelLLM-GGUF 424
- unsloth/KernelLLM-bnb-4bitText generation 49
- unsloth/KernelLLM-unsloth-bnb-4bitText generation 48
- alpindale/KernelLLM-MLX-Q8Text generation 26
- GrimsenClory/KernelLLM-Q6_K-GGUF 24
How to load it
from datasets import load_dataset
ds = load_dataset("GPUMODE/KernelBook")