Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
dataset_info:
|
| 3 |
-
- config_name:
|
| 4 |
features:
|
| 5 |
- name: commit_hash
|
| 6 |
dtype: string
|
|
@@ -140,87 +140,91 @@ dataset_info:
|
|
| 140 |
num_examples: 15
|
| 141 |
download_size: 52410
|
| 142 |
dataset_size: 91137
|
| 143 |
-
- config_name: vllm
|
| 144 |
-
features:
|
| 145 |
-
- name: commit_hash
|
| 146 |
-
dtype: string
|
| 147 |
-
- name: pr_url
|
| 148 |
-
dtype: string
|
| 149 |
-
- name: pr_date
|
| 150 |
-
dtype: string
|
| 151 |
-
- name: timeline_extracted_at
|
| 152 |
-
dtype: string
|
| 153 |
-
- name: analysis_extracted_at
|
| 154 |
-
dtype: string
|
| 155 |
-
- name: models
|
| 156 |
-
list: string
|
| 157 |
-
- name: perf_command
|
| 158 |
-
dtype: string
|
| 159 |
-
- name: has_serving
|
| 160 |
-
dtype: bool
|
| 161 |
-
- name: has_latency
|
| 162 |
-
dtype: bool
|
| 163 |
-
- name: has_throughput
|
| 164 |
-
dtype: bool
|
| 165 |
-
- name: uses_lm_eval
|
| 166 |
-
dtype: bool
|
| 167 |
-
- name: commit_subject
|
| 168 |
-
dtype: string
|
| 169 |
-
- name: commit_message
|
| 170 |
-
dtype: string
|
| 171 |
-
- name: commit_date
|
| 172 |
-
dtype: string
|
| 173 |
-
- name: files_changed
|
| 174 |
-
list: string
|
| 175 |
-
- name: stats
|
| 176 |
-
struct:
|
| 177 |
-
- name: commit_year
|
| 178 |
-
dtype: int64
|
| 179 |
-
- name: num_edited_lines
|
| 180 |
-
dtype: int64
|
| 181 |
-
- name: num_files
|
| 182 |
-
dtype: int64
|
| 183 |
-
- name: num_hunks
|
| 184 |
-
dtype: int64
|
| 185 |
-
- name: num_non_test_edited_lines
|
| 186 |
-
dtype: int64
|
| 187 |
-
- name: num_non_test_files
|
| 188 |
-
dtype: int64
|
| 189 |
-
- name: num_test_files
|
| 190 |
-
dtype: int64
|
| 191 |
-
- name: only_non_test_files
|
| 192 |
-
dtype: int64
|
| 193 |
-
- name: only_test_files
|
| 194 |
-
dtype: int64
|
| 195 |
-
- name: diff_text
|
| 196 |
-
dtype: string
|
| 197 |
-
- name: apis
|
| 198 |
-
list: string
|
| 199 |
-
- name: affected_paths
|
| 200 |
-
list: string
|
| 201 |
-
- name: repo
|
| 202 |
-
dtype: string
|
| 203 |
-
- name: hardware
|
| 204 |
-
dtype: string
|
| 205 |
-
- name: lm_eval_command
|
| 206 |
-
dtype: string
|
| 207 |
-
splits:
|
| 208 |
-
- name: train
|
| 209 |
-
num_bytes: 545364
|
| 210 |
-
num_examples: 39
|
| 211 |
-
download_size: 192570
|
| 212 |
-
dataset_size: 545364
|
| 213 |
configs:
|
| 214 |
-
- config_name:
|
| 215 |
data_files:
|
| 216 |
- split: train
|
| 217 |
-
path:
|
| 218 |
- config_name: sglang
|
| 219 |
data_files:
|
| 220 |
- split: train
|
| 221 |
path: sglang/train-*
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 226 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
dataset_info:
|
| 3 |
+
- config_name: vllm
|
| 4 |
features:
|
| 5 |
- name: commit_hash
|
| 6 |
dtype: string
|
|
|
|
| 140 |
num_examples: 15
|
| 141 |
download_size: 52410
|
| 142 |
dataset_size: 91137
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
configs:
|
| 144 |
+
- config_name: vllm
|
| 145 |
data_files:
|
| 146 |
- split: train
|
| 147 |
+
path: vllm/train-*
|
| 148 |
- config_name: sglang
|
| 149 |
data_files:
|
| 150 |
- split: train
|
| 151 |
path: sglang/train-*
|
| 152 |
+
license: apache-2.0
|
| 153 |
+
task_categories:
|
| 154 |
+
- text-generation
|
| 155 |
+
language:
|
| 156 |
+
- en
|
| 157 |
+
size_categories:
|
| 158 |
+
- n<1K
|
| 159 |
+
tags:
|
| 160 |
+
- performance-optimization
|
| 161 |
+
- software-engineering
|
| 162 |
+
- benchmark
|
| 163 |
+
- ai-agents
|
| 164 |
+
- code
|
| 165 |
---
|
| 166 |
+
|
| 167 |
+
# ISO-Bench Dataset
|
| 168 |
+
|
| 169 |
+
A curated dataset of real-world software performance optimization commits from [vLLM](https://github.com/vllm-project/vllm) and [SGLang](https://github.com/sgl-project/sglang), designed for evaluating AI agents on code optimization tasks.
|
| 170 |
+
|
| 171 |
+
## Dataset Summary
|
| 172 |
+
|
| 173 |
+
| Config | Commits | Repository |
|
| 174 |
+
|--------|---------|------------|
|
| 175 |
+
| `vllm` | 39 | vLLM (LLM inference engine) |
|
| 176 |
+
| `sglang` | 15 | SGLang (LLM serving framework) |
|
| 177 |
+
|
| 178 |
+
Each entry represents a human-authored performance optimization commit with:
|
| 179 |
+
- The original commit diff and message
|
| 180 |
+
- Performance benchmark commands (`perf_command`)
|
| 181 |
+
- Model configurations for benchmarking
|
| 182 |
+
- Hardware requirements
|
| 183 |
+
- API surface analysis
|
| 184 |
+
|
| 185 |
+
## Usage
|
| 186 |
+
|
| 187 |
+
```python
|
| 188 |
+
from datasets import load_dataset
|
| 189 |
+
|
| 190 |
+
# Load vLLM optimization commits
|
| 191 |
+
vllm = load_dataset('Lossfunk/ISO-Bench', 'vllm', split='train')
|
| 192 |
+
|
| 193 |
+
# Load SGLang optimization commits
|
| 194 |
+
sglang = load_dataset('Lossfunk/ISO-Bench', 'sglang', split='train')
|
| 195 |
+
|
| 196 |
+
# Example: inspect a commit
|
| 197 |
+
print(vllm[0]['commit_subject'])
|
| 198 |
+
print(vllm[0]['perf_command'])
|
| 199 |
+
print(vllm[0]['models'])
|
| 200 |
+
```
|
| 201 |
+
|
| 202 |
+
## Schema
|
| 203 |
+
|
| 204 |
+
| Field | Type | Description |
|
| 205 |
+
|-------|------|-------------|
|
| 206 |
+
| `commit_hash` | string | Short hash of the optimization commit |
|
| 207 |
+
| `pr_url` | string | URL to the pull request |
|
| 208 |
+
| `commit_subject` | string | Commit message subject line |
|
| 209 |
+
| `commit_message` | string | Full commit message |
|
| 210 |
+
| `diff_text` | string | Unified diff of the optimization |
|
| 211 |
+
| `models` | list[string] | HuggingFace model IDs used for benchmarking |
|
| 212 |
+
| `perf_command` | string | Command to run the performance benchmark |
|
| 213 |
+
| `has_serving` | bool | Whether commit affects serving performance |
|
| 214 |
+
| `has_latency` | bool | Whether commit affects latency |
|
| 215 |
+
| `has_throughput` | bool | Whether commit affects throughput |
|
| 216 |
+
| `uses_lm_eval` | bool | Whether correctness is validated via lm-eval |
|
| 217 |
+
| `lm_eval_command` | string | lm-eval command for correctness validation |
|
| 218 |
+
| `files_changed` | list[string] | Files modified in the commit |
|
| 219 |
+
| `apis` | list[string] | Affected API endpoints/functions |
|
| 220 |
+
| `affected_paths` | list[string] | Code paths affected by the change |
|
| 221 |
+
| `hardware` | string | Required hardware (e.g., GPU type) |
|
| 222 |
+
| `stats` | struct | Commit statistics (lines changed, files, hunks) |
|
| 223 |
+
|
| 224 |
+
## How It Works
|
| 225 |
+
|
| 226 |
+
Each dataset entry captures a real performance optimization made by an expert developer. AI agents are given the codebase at the parent commit (before optimization) and must independently discover and implement a performance improvement. Their patches are then benchmarked against the human expert's solution using wall-clock timing comparisons.
|
| 227 |
+
|
| 228 |
+
## License
|
| 229 |
+
|
| 230 |
+
Apache 2.0
|