← Datasets

Compare

KernelBook
#105 · remove
OpenGPT-4o-Image
#95 · remove
Kinddatasetdataset
Published20252025
Licenseotherapache-2.0
License familyOtherPermissive
Accessfreefree
Language codesenen
Modalitiestextimage, text
Size10K to 100K rows—
Downloads (last month)2421,271
Likes5724
Last updated2026-06-092025-11-02
Tasks—text-to-image, image-to-image
Formatsparquet—
ScaleHub 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.~80k pairs (~40k text-to-image + ~40k editing); size_categories 10k<n<100k; ~167 GB card file size; Hub usedStorage ~264 GB; downloads ~1.4k / likes 24
Formatparquet (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.Split tar.gz archives (gen.tar.gz.* / editing.tar.gz.*) + gen.json / editing.json line objects (input_prompt, output_image; editing adds input_image[]); cat|tar extract workflow on card
TypePaired code corpus / PyTorch→Triton kernel translationmultimodal instruction pairs (T2I generation + instruction editing)
CostFreeFree download (large ~167–264 GB storage/bandwidth)
LanguagesEnglish 100% (card language:en) plus Python/Triton source. Comments inherit GitHub-repo language mix; not quantified. No LID table.English prompts (HF language:en); gen taxonomy includes multilingual in-image text rendering subtask
ModalityText-only (Python + Triton source). No PTX/cubin binaries in the schema.Image + text instructions (editing also input/output image pairs; multi-turn edit chains)
DomainGPU kernels; PyTorch nn.Module to Triton translation; compiler-generated kernels; KernelBench-style codetext-to-image; instruction image editing; scientific imagery; in-image text; spatial/complex instruction following
Time periodHF 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.arXiv 2509.24900 (2025-09-29); HF created 2025-09-29; lastModified 2025-11-02; Discord mid 1423727223021502657
PurposeTrain models to translate PyTorch modules into equivalent Triton kernelsSupply a hierarchically taxonomized ~80k GPT-4o instruction–image corpus spanning 11 domains / 51 subtasks to strengthen advanced generation and editing beyond basic style/object edits.
Used forGPU 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.Finetuning UniWorld-V1, Harmon, OmniGen/OmniGen2, MagicBrush, etc.; benchmark gains on ImgEdit-Bench, GEdit-Bench, GenEval, DPG-Bench
AuthorsPublic 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.Zhihong Chen; Xuehai Bai; Yang Shi; Chaoyou Fu; Huanyu Zhang; Haotian Wang; Xiaoyan Sun; Zhang Zhang; Liang Wang; Yuanxing Zhang; Pengfei Wan; Yi-Fan Zhang (academia + Kling Team)
BiasStack 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.Teacher-model (GPT-4o / gpt-image-1) aesthetic and semantic biases; taxonomy deliberately boosts scientific/complex/multi-turn categories vs web-scraped T2I dumps; source images also mix SEED-Data-Edit, ImgEdit, OmniEdit, curated hi-res
Text qualityExtracted 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.Structured templates + resource pools; difficulty calibration aimed at GPT-4o-solvable but hard for open models; paper notes proactive curation over post-hoc aesthetic filtering
Sample sizeSingle 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.Gen ~40k across Style Control(~13k), Scientific(~10k), Spatial(~8k), Complex IF(~6k), In-Image Text(~3k); Editing ~40k across Subject Manipulation(~19k), Other Challenging(~8k), Global(~5k), Complex(~4k), Text(~3k), Multi-turn(~1.5k) per paper appendix tables
Long contextNo (single-module Python/Triton pairs; not full-repo context).Partial (complex/multi-turn edit instructions; images are the primary payload)
Intermediate stepsYes (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.Yes (taxonomy/task scoping → template+resource-pool prompts → GPT-4o/gpt-image-1 image gen/edit → JSON packaging)
Idea qualityHighHigh
NoveltyHigh (public paired PyTorch/Triton kernel dump in KernelBench format)High (fine-grained 51-subtask hierarchy emphasizing scientific imagery, complex multi-op edits, multi-turn, in-image text vs coarser ShareGPT-4o-Image-style dumps)
Text conversionReady parquet; load_dataset('GPUMODE/KernelBook') or pandas.read_parquet. ~87.4 MB parquet / ~416 MB JSON.Moderate: download multi-part archives, cat|tar extract, then parse gen.json/editing.json; not a single load_dataset parquet table
Collection methodDownloadHF download of split archives + JSON; cite arXiv 2509.24900; review GPT-4o output usage policies for downstream commercial image products
StaticUnknown (HF lastModified 2026-06-09 is a license refresh; code snapshot is one-shot Stack v1 / PyTorch 2.5.0)Mostly static after 2025-11 Hub update
ProcessedUnknownYes (generated/edited images + JSON annotations; archives)
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.We introduce **OpenGPT-4o-Image**, a large-scale dataset constructed using a novel methodology that combines hierarchical task taxonomy with automated data generation. Our taxonomy not only includes fundamental capabilities such as text rendering and style control but also introduces highly practical yet challenging categories like **scientific imagery** for chemistry illustrations and **complex instruction editing** requiring simultaneous execution of multiple operations. Through an automated pipeline leveraging structured resource pools and GPT-4o, we generate 80k high-quality instruction-image pairs with controlled diversity, covering 11 major domains and 51 subtasks.