CoolFace
Datasetpublicgated

GPUMODE/pytorch_scrape_inductor_data

This dataset is composed of scraping code off of github containing pytorch code, and then running torch compile on it in order to have pairs of pytorch and triton code. To spot check the data you can run from datasets import load_dataset # Load the dataset ds = load_dataset("GPUMODE/pytorch_scrape_inductor_data") # Get the first row row = ds["train"][0] print("\n=== UUID ===") print(row['uuid']) print("\n=== PYTHON CODE ===") print(row['python_code']) print("\n=== TRITON CODE ===")… See the full description on the dataset page: https://huggingface.co/datasets/GPUMODE/pytorch_scrape_inductor_data.

sourceHugging Facemitupdated 2y agoView on Hugging Face
2likes10downloads
run_code.pyDownload Raw Back to root

This repository is gated, so its file contents are only served once you have accepted the publisher's terms at Hugging Face. Open it at the source above.