docs: remove dangling repo reference, generalize voice
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
pretty_name: MLX Benchmarks
|
| 3 |
license: apache-2.0
|
| 4 |
language:
|
| 5 |
- en
|
|
@@ -15,74 +15,31 @@ tags:
|
|
| 15 |
- reasoning
|
| 16 |
- math
|
| 17 |
size_categories:
|
| 18 |
-
- n<1K
|
| 19 |
configs:
|
| 20 |
- config_name: default
|
| 21 |
data_files:
|
| 22 |
- split: train
|
| 23 |
-
path: data/
|
| 24 |
-
dataset_info:
|
| 25 |
-
features:
|
| 26 |
-
- name: suite
|
| 27 |
-
dtype: string
|
| 28 |
-
- name: model
|
| 29 |
-
dtype: string
|
| 30 |
-
- name: git_sha
|
| 31 |
-
dtype: string
|
| 32 |
-
- name: timestamp
|
| 33 |
-
dtype: string
|
| 34 |
-
- name: trigger
|
| 35 |
-
dtype: string
|
| 36 |
-
- name: schema_version
|
| 37 |
-
dtype: string
|
| 38 |
-
- name: pr_number
|
| 39 |
-
dtype: int64
|
| 40 |
-
- name: skipped
|
| 41 |
-
dtype: bool
|
| 42 |
-
- name: os
|
| 43 |
-
dtype: string
|
| 44 |
-
- name: chip
|
| 45 |
-
dtype: string
|
| 46 |
-
- name: memory_gb
|
| 47 |
-
dtype: int64
|
| 48 |
-
- name: vllm_mlx_version
|
| 49 |
-
dtype: string
|
| 50 |
-
- name: runner
|
| 51 |
-
dtype: string
|
| 52 |
-
- name: errors_json
|
| 53 |
-
dtype: string
|
| 54 |
-
- name: metric_name
|
| 55 |
-
dtype: string
|
| 56 |
-
- name: metric_metric
|
| 57 |
-
dtype: string
|
| 58 |
-
- name: metric_value
|
| 59 |
-
dtype: float64
|
| 60 |
-
- name: metric_unit
|
| 61 |
-
dtype: string
|
| 62 |
-
- name: tags_json
|
| 63 |
-
dtype: string
|
| 64 |
-
splits:
|
| 65 |
-
- name: train
|
| 66 |
-
num_bytes: 43190
|
| 67 |
-
num_examples: 140
|
| 68 |
-
download_size: 13945
|
| 69 |
-
dataset_size: 43190
|
| 70 |
---
|
| 71 |
|
| 72 |
# MLX Benchmarks
|
| 73 |
|
| 74 |
Structured benchmark results for **MLX-quantized** and other **locally-hosted
|
| 75 |
-
LLMs** on Apple Silicon
|
| 76 |
code generation, reasoning, knowledge, and math suites.
|
| 77 |
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
which wires upstream tools against a local `vllm-mlx` inference server:
|
| 81 |
|
| 82 |
-
- [
|
| 83 |
-
- [
|
| 84 |
-
- [
|
| 85 |
-
- [
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
|
| 87 |
## Quickstart
|
| 88 |
|
|
@@ -92,27 +49,33 @@ from datasets import load_dataset
|
|
| 92 |
ds = load_dataset("JacobPEvans/mlx-benchmarks")
|
| 93 |
print(ds)
|
| 94 |
|
| 95 |
-
# Example: average throughput per model
|
| 96 |
import pandas as pd
|
| 97 |
df = ds["train"].to_pandas()
|
| 98 |
throughput_rows = df[df.suite == "throughput"]
|
| 99 |
-
print(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
```
|
| 101 |
|
| 102 |
Raw Parquet fetch (token-optimal for agents):
|
| 103 |
|
| 104 |
```bash
|
| 105 |
-
curl -sSL
|
|
|
|
|
|
|
| 106 |
```
|
| 107 |
|
| 108 |
## Schema
|
| 109 |
|
| 110 |
-
Each input JSON envelope (see `schema.json`
|
| 111 |
-
|
| 112 |
-
the envelope's `results[]` array.
|
| 113 |
-
row with null metric columns and
|
| 114 |
-
layout used by
|
| 115 |
-
[
|
| 116 |
|
| 117 |
| Column | Type | Notes |
|
| 118 |
| --- | --- | --- |
|
|
@@ -128,11 +91,11 @@ layout used by
|
|
| 128 |
| `chip` | string | CPU/chip identifier |
|
| 129 |
| `memory_gb` | int64 | Total system RAM |
|
| 130 |
| `vllm_mlx_version` | string | Backend version if captured |
|
| 131 |
-
| `runner` | string |
|
| 132 |
| `metric_name` | string | Individual test/measurement name |
|
| 133 |
| `metric_metric` | string | Metric family (e.g. `throughput`, `latency`, `score`) |
|
| 134 |
| `metric_value` | float64 | Numeric value |
|
| 135 |
-
| `metric_unit` | string | Unit (`tok/s`, `seconds`, `ratio`,
|
| 136 |
| `tags_json` | string | JSON-serialized tag dict (per-suite custom metadata) |
|
| 137 |
| `errors_json` | string | JSON-serialized list of non-fatal errors from the run |
|
| 138 |
|
|
@@ -142,11 +105,11 @@ JSON-serialized strings so no information is lost — rehydrate with
|
|
| 142 |
|
| 143 |
## Update cadence
|
| 144 |
|
| 145 |
-
New rows are appended on every sweep via
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
|
| 150 |
## License
|
| 151 |
|
| 152 |
-
Apache 2.0 — same as the
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: "MLX Benchmarks"
|
| 3 |
license: apache-2.0
|
| 4 |
language:
|
| 5 |
- en
|
|
|
|
| 15 |
- reasoning
|
| 16 |
- math
|
| 17 |
size_categories:
|
| 18 |
+
- "n<1K"
|
| 19 |
configs:
|
| 20 |
- config_name: default
|
| 21 |
data_files:
|
| 22 |
- split: train
|
| 23 |
+
path: "data/*.parquet"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
---
|
| 25 |
|
| 26 |
# MLX Benchmarks
|
| 27 |
|
| 28 |
Structured benchmark results for **MLX-quantized** and other **locally-hosted
|
| 29 |
+
LLMs** on Apple Silicon. Covers throughput, time-to-first-token, tool-calling,
|
| 30 |
code generation, reasoning, knowledge, and math suites.
|
| 31 |
|
| 32 |
+
Results are produced by a sweep harness that wires upstream evaluation tools
|
| 33 |
+
against a local `vllm-mlx` inference server:
|
|
|
|
| 34 |
|
| 35 |
+
- [EleutherAI/lm-evaluation-harness](https://github.com/EleutherAI/lm-evaluation-harness) — coding, reasoning, knowledge, math
|
| 36 |
+
- [linusvwe/MLXBench](https://github.com/linusvwe/MLXBench) — throughput and time-to-first-token
|
| 37 |
+
- [vllm `benchmark_serving`](https://docs.vllm.ai/en/latest/performance/benchmarks.html) — performance second opinion
|
| 38 |
+
- [huggingface/lighteval](https://github.com/huggingface/lighteval) — broader task coverage
|
| 39 |
+
|
| 40 |
+
All data here is generated on Apple Silicon hardware (MINISFORUM MS-A2 / M4 Max
|
| 41 |
+
class), stored in flat columnar Parquet for easy querying, and appended to via
|
| 42 |
+
unique-filename commits so historical shards are never overwritten.
|
| 43 |
|
| 44 |
## Quickstart
|
| 45 |
|
|
|
|
| 49 |
ds = load_dataset("JacobPEvans/mlx-benchmarks")
|
| 50 |
print(ds)
|
| 51 |
|
| 52 |
+
# Example: average throughput per model
|
| 53 |
import pandas as pd
|
| 54 |
df = ds["train"].to_pandas()
|
| 55 |
throughput_rows = df[df.suite == "throughput"]
|
| 56 |
+
print(
|
| 57 |
+
throughput_rows.groupby("model")["metric_value"]
|
| 58 |
+
.mean()
|
| 59 |
+
.sort_values(ascending=False)
|
| 60 |
+
)
|
| 61 |
```
|
| 62 |
|
| 63 |
Raw Parquet fetch (token-optimal for agents):
|
| 64 |
|
| 65 |
```bash
|
| 66 |
+
curl -sSL \
|
| 67 |
+
https://huggingface.co/datasets/JacobPEvans/mlx-benchmarks/resolve/main/data/train-00000-of-00001.parquet \
|
| 68 |
+
-o run.parquet
|
| 69 |
```
|
| 70 |
|
| 71 |
## Schema
|
| 72 |
|
| 73 |
+
Each input benchmark run produces a JSON envelope (see `schema.json` in this
|
| 74 |
+
repo for the authoritative v1 spec). The envelope is **exploded row-wise** into
|
| 75 |
+
flat scalar columns — one row per entry in the envelope's `results[]` array.
|
| 76 |
+
Skipped runs become a single sentinel row with null metric columns and
|
| 77 |
+
`skipped=true`. This mirrors the columnar layout used by the
|
| 78 |
+
[Open LLM Leaderboard contents dataset](https://huggingface.co/datasets/open-llm-leaderboard/contents).
|
| 79 |
|
| 80 |
| Column | Type | Notes |
|
| 81 |
| --- | --- | --- |
|
|
|
|
| 91 |
| `chip` | string | CPU/chip identifier |
|
| 92 |
| `memory_gb` | int64 | Total system RAM |
|
| 93 |
| `vllm_mlx_version` | string | Backend version if captured |
|
| 94 |
+
| `runner` | string | Runner label or `local` |
|
| 95 |
| `metric_name` | string | Individual test/measurement name |
|
| 96 |
| `metric_metric` | string | Metric family (e.g. `throughput`, `latency`, `score`) |
|
| 97 |
| `metric_value` | float64 | Numeric value |
|
| 98 |
+
| `metric_unit` | string | Unit (`tok/s`, `seconds`, `ratio`, ...) |
|
| 99 |
| `tags_json` | string | JSON-serialized tag dict (per-suite custom metadata) |
|
| 100 |
| `errors_json` | string | JSON-serialized list of non-fatal errors from the run |
|
| 101 |
|
|
|
|
| 105 |
|
| 106 |
## Update cadence
|
| 107 |
|
| 108 |
+
New rows are appended on every sweep via a unique-filename commit pattern
|
| 109 |
+
(`data/run-{timestamp}-{sha}-{suite}-{model}.parquet`). Historical shards are
|
| 110 |
+
never overwritten. `load_dataset()` concatenates all `data/*.parquet` files
|
| 111 |
+
into a single `train` split at load time.
|
| 112 |
|
| 113 |
## License
|
| 114 |
|
| 115 |
+
Apache 2.0 — same as the underlying upstream evaluation tools.
|