Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- benchmark
|
| 5 |
+
- cuda
|
| 6 |
+
- gpu
|
| 7 |
+
- code-generation
|
| 8 |
+
- orbench
|
| 9 |
+
size_categories:
|
| 10 |
+
- 1B<n<10B
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# ORBench Test Data
|
| 14 |
+
|
| 15 |
+
Test data for **ORBench** — a benchmark for evaluating LLMs on CPU-to-CUDA
|
| 16 |
+
code acceleration.
|
| 17 |
+
|
| 18 |
+
This repo hosts only the **input data + expected outputs**. The benchmark
|
| 19 |
+
harness (CPU references, task_io adapters, evaluation scripts) lives at
|
| 20 |
+
[github.com/YOURNAME/ORBench](https://github.com/YOURNAME/ORBench).
|
| 21 |
+
|
| 22 |
+
## Contents
|
| 23 |
+
|
| 24 |
+
| File | Size | Description |
|
| 25 |
+
|------|------|------|
|
| 26 |
+
| `small.tar.gz` | ~100 MB | Small inputs — for smoke tests (43 tasks) |
|
| 27 |
+
| `medium.tar.gz` | ~3.5 GB | Medium inputs — main leaderboard |
|
| 28 |
+
| `large.tar.gz` | ~8 GB | Large inputs — stress test |
|
| 29 |
+
| `manifest.json` | — | SHA256 + task metadata |
|
| 30 |
+
|
| 31 |
+
Each tarball extracts to `<task>/data/<size>/` containing:
|
| 32 |
+
|
| 33 |
+
- `input.bin` — binary input tensors (ORBench v2 format)
|
| 34 |
+
- `expected_output.txt` — reference output from CPU baseline
|
| 35 |
+
- `cpu_time_ms.txt` — CPU baseline wall time
|
| 36 |
+
- `requests.txt` — per-call queries (if applicable)
|
| 37 |
+
|
| 38 |
+
## Usage
|
| 39 |
+
|
| 40 |
+
```bash
|
| 41 |
+
# Clone the harness repo
|
| 42 |
+
git clone https://github.com/YOURNAME/ORBench.git
|
| 43 |
+
cd ORBench
|
| 44 |
+
|
| 45 |
+
# Install HF client
|
| 46 |
+
pip install huggingface_hub
|
| 47 |
+
|
| 48 |
+
# Download data
|
| 49 |
+
python3 scripts/download_data.py small # smoke
|
| 50 |
+
python3 scripts/download_data.py medium # main leaderboard
|
| 51 |
+
python3 scripts/download_data.py large # stress test
|
| 52 |
+
python3 scripts/download_data.py all # everything
|
| 53 |
+
|
| 54 |
+
# Run the benchmark
|
| 55 |
+
python3 -m framework.run_all_tasks \
|
| 56 |
+
--models gemini-3.1-pro-preview-openrouter \
|
| 57 |
+
--levels 3 --sizes medium --yes
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
## Verification
|
| 61 |
+
|
| 62 |
+
```bash
|
| 63 |
+
python3 scripts/download_data.py medium --verify
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## Citation
|
| 67 |
+
|
| 68 |
+
If you use ORBench, please cite:
|
| 69 |
+
|
| 70 |
+
```bibtex
|
| 71 |
+
@misc{orbench2026,
|
| 72 |
+
title={ORBench: Evaluating LLMs on CPU-to-CUDA Code Acceleration},
|
| 73 |
+
author={...},
|
| 74 |
+
year={2026},
|
| 75 |
+
url={https://github.com/YOURNAME/ORBench}
|
| 76 |
+
}
|
| 77 |
+
```
|