Datasets:
Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,48 +1,15 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
task_categories:
|
| 4 |
-
- text-generation
|
| 5 |
tags:
|
| 6 |
-
- code
|
| 7 |
-
- cuda
|
| 8 |
-
- distributed-systems
|
| 9 |
-
- gpu-kernels
|
| 10 |
-
- benchmark
|
| 11 |
size_categories:
|
| 12 |
-
- n<1K
|
| 13 |
-
dataset_info:
|
| 14 |
-
features:
|
| 15 |
-
- name: problem_id
|
| 16 |
-
dtype: int64
|
| 17 |
-
- name: stem
|
| 18 |
-
dtype: string
|
| 19 |
-
- name: reference_code
|
| 20 |
-
dtype: string
|
| 21 |
-
- name: reference_path
|
| 22 |
-
dtype: string
|
| 23 |
-
- name: input_tensor_spec_path
|
| 24 |
-
dtype: string
|
| 25 |
-
- name: world_size
|
| 26 |
-
dtype: int64
|
| 27 |
-
- name: default_m
|
| 28 |
-
dtype: int64
|
| 29 |
-
- name: default_n
|
| 30 |
-
dtype: int64
|
| 31 |
-
- name: default_dtype
|
| 32 |
-
dtype: string
|
| 33 |
-
- name: default_trials
|
| 34 |
-
dtype: int64
|
| 35 |
-
splits:
|
| 36 |
-
- name: train
|
| 37 |
-
num_bytes: 280010
|
| 38 |
-
num_examples: 87
|
| 39 |
-
download_size: 87290
|
| 40 |
-
dataset_size: 280010
|
| 41 |
-
configs:
|
| 42 |
-
- config_name: default
|
| 43 |
-
data_files:
|
| 44 |
-
- split: train
|
| 45 |
-
path: data/train-*
|
| 46 |
---
|
| 47 |
|
| 48 |
# ParallelKernelBench (benchmark)
|
|
@@ -73,11 +40,11 @@ This dataset contains **87** reference implementations in `reference/` and the i
|
|
| 73 |
from datasets import load_dataset
|
| 74 |
from huggingface_hub import hf_hub_download
|
| 75 |
|
| 76 |
-
ds = load_dataset("
|
| 77 |
print(ds[0]["stem"], ds[0]["reference_code"][:200])
|
| 78 |
|
| 79 |
# Fetch the input tensor spec (same file on disk in this dataset repo)
|
| 80 |
-
spec_path = hf_hub_download("
|
| 81 |
```
|
| 82 |
|
| 83 |
Reproduce inputs locally (add the downloaded `utils/` folder to PYTHONPATH, or clone this repo):
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
tags:
|
| 6 |
+
- code
|
| 7 |
+
- cuda
|
| 8 |
+
- distributed-systems
|
| 9 |
+
- gpu-kernels
|
| 10 |
+
- benchmark
|
| 11 |
size_categories:
|
| 12 |
+
- n<1K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# ParallelKernelBench (benchmark)
|
|
|
|
| 40 |
from datasets import load_dataset
|
| 41 |
from huggingface_hub import hf_hub_download
|
| 42 |
|
| 43 |
+
ds = load_dataset("willychan21/ParallelKernelBench_Problems", split="train")
|
| 44 |
print(ds[0]["stem"], ds[0]["reference_code"][:200])
|
| 45 |
|
| 46 |
# Fetch the input tensor spec (same file on disk in this dataset repo)
|
| 47 |
+
spec_path = hf_hub_download("willychan21/ParallelKernelBench_Problems", "utils/input_output_tensors.py", repo_type="dataset")
|
| 48 |
```
|
| 49 |
|
| 50 |
Reproduce inputs locally (add the downloaded `utils/` folder to PYTHONPATH, or clone this repo):
|