axjns commited on
Commit
41512f4
·
verified ·
1 Parent(s): b5551af

Anonymize external benchmark source

Browse files

Remove public naming of the external benchmark source from the dataset card, normalized source values, benchmark IDs, notes, and exporter while preserving permission and provenance semantics.

Files changed (3) hide show
  1. README.md +6 -6
  2. data/benchmarks.parquet +2 -2
  3. export.py +14 -6
README.md CHANGED
@@ -22,18 +22,18 @@ configs:
22
 
23
  # llmfit Real-World LLM Inference Benchmarks
24
 
25
- An evolving dataset of real-world LLM inference measurements across consumer, workstation, datacenter, and unified-memory hardware. It combines community benchmarks contributed to [llmfit](https://github.com/AlexsJones/llmfit) with measurements published by [localmaxxing](https://localmaxxing.com).
26
 
27
  The initial release contains **1,501 normalized observations**:
28
 
29
- - **1,010 unique localmaxxing observations** from the repository's 2026-08-10 snapshot.
30
  - **491 llmfit-community observations** from 61 validated submissions, including repository updates through 2026-08-19.
31
 
32
- The localmaxxing leaderboard reported 2,473 total measurements across its 27 hardware presets at snapshot time, but the embedded llmfit cache retains at most 100 rows per preset. It contains 1,111 cached rows, of which 101 are exact duplicates appearing in overlapping hardware-preset buckets. This dataset publishes the 1,010 unique records; it does not represent the uncached records as available observations.
33
 
34
  ## Sources and permission
35
 
36
- Every row has a `source` value of `localmaxxing` or `llmfit-community`, plus a stable source record identifier. The dataset maintainers received permission from localmaxxing to redistribute its benchmark data in this combined dataset. llmfit-community submissions are contributed through the llmfit repository and validated against its published schema.
37
 
38
  This dataset uses `license: other` because it combines data from separately administered sources. The llmfit software repository is MIT licensed; that software license should not be interpreted as overriding rights attached to third-party model names, benchmark inputs, or source data.
39
 
@@ -76,7 +76,7 @@ The llmfit community directory is append-only. Stable `benchmark_id` values make
76
 
77
  ## Limitations
78
 
79
- - localmaxxing data is a capped snapshot rather than a complete historical export.
80
  - llmfit-community submissions currently contain aggregated runs rather than one row per raw run.
81
  - Many records omit driver, runtime version, prompt, context, power, or peak-memory details.
82
  - User-submitted measurements may be noisy or incorrectly identified.
@@ -84,4 +84,4 @@ The llmfit community directory is append-only. Stable `benchmark_id` values make
84
 
85
  ## Citation
86
 
87
- If this dataset is useful, cite the dataset revision you used and link to both [llmfit](https://github.com/AlexsJones/llmfit) and [localmaxxing](https://localmaxxing.com).
 
22
 
23
  # llmfit Real-World LLM Inference Benchmarks
24
 
25
+ An evolving dataset of real-world LLM inference measurements across consumer, workstation, datacenter, and unified-memory hardware. It combines benchmarks from an external community source with community benchmarks contributed directly to [llmfit](https://github.com/AlexsJones/llmfit).
26
 
27
  The initial release contains **1,501 normalized observations**:
28
 
29
+ - **1,010 unique external-community observations** from the repository's 2026-08-10 snapshot.
30
  - **491 llmfit-community observations** from 61 validated submissions, including repository updates through 2026-08-19.
31
 
32
+ The external source reported 2,473 total measurements across 27 hardware presets at snapshot time, but the embedded llmfit cache retains at most 100 rows per preset. It contains 1,111 cached rows, of which 101 are exact duplicates appearing in overlapping hardware-preset buckets. This dataset publishes the 1,010 unique records; it does not represent the uncached records as available observations.
33
 
34
  ## Sources and permission
35
 
36
+ Every row has a `source` value of `external-community` or `llmfit-community`, plus a stable source record identifier. The dataset maintainers received permission to redistribute the external benchmark data in this combined dataset; the source requested not to be named publicly. llmfit-community submissions are contributed through the llmfit repository and validated against its published schema.
37
 
38
  This dataset uses `license: other` because it combines data from separately administered sources. The llmfit software repository is MIT licensed; that software license should not be interpreted as overriding rights attached to third-party model names, benchmark inputs, or source data.
39
 
 
76
 
77
  ## Limitations
78
 
79
+ - External-community data is a capped snapshot rather than a complete historical export.
80
  - llmfit-community submissions currently contain aggregated runs rather than one row per raw run.
81
  - Many records omit driver, runtime version, prompt, context, power, or peak-memory details.
82
  - User-submitted measurements may be noisy or incorrectly identified.
 
84
 
85
  ## Citation
86
 
87
+ If this dataset is useful, cite the dataset revision you used and link to [llmfit](https://github.com/AlexsJones/llmfit).
data/benchmarks.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6673d675fe703e87b5e6027cce3e560d841e17cb9c1bee46f3b332b6a1ead43f
3
- size 151878
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:641799dea70596c211d49bece0c4d4eb0fa9ea719f1d3b525b85e3e270f46e83
3
+ size 151760
export.py CHANGED
@@ -4,6 +4,7 @@ import argparse
4
  import datetime
5
  import hashlib
6
  import json
 
7
  from pathlib import Path
8
 
9
  import pyarrow as pa
@@ -14,7 +15,14 @@ def iso_from_unix(timestamp):
14
  return datetime.datetime.fromtimestamp(timestamp, datetime.UTC).isoformat().replace("+00:00", "Z")
15
 
16
 
17
- def localmaxxing_rows(cache):
 
 
 
 
 
 
 
18
  scraped_at = cache["scraped_at"]
19
  seen = {}
20
  for preset, group in cache["presets"].items():
@@ -22,7 +30,7 @@ def localmaxxing_rows(cache):
22
  previous = seen.get(row["id"])
23
  if previous is not None:
24
  if previous != row:
25
- raise ValueError(f"conflicting localmaxxing rows for {row['id']}")
26
  continue
27
  seen[row["id"]] = row
28
  model = row["model"]
@@ -31,8 +39,8 @@ def localmaxxing_rows(cache):
31
  flags = row.get("engineFlags") or {}
32
  user = row.get("user") or {}
33
  yield {
34
- "benchmark_id": f"localmaxxing:{row['id']}",
35
- "source": "localmaxxing",
36
  "source_record_id": row["id"],
37
  "source_snapshot_at": scraped_at,
38
  "measured_at": row.get("createdAt"),
@@ -83,7 +91,7 @@ def localmaxxing_rows(cache):
83
  "mtp_enabled": flags.get("mtpEnabled"),
84
  "submitter": user.get("username"),
85
  "submitter_verified": user.get("verified"),
86
- "notes": row.get("notes"),
87
  }
88
 
89
 
@@ -161,7 +169,7 @@ def main():
161
 
162
  data_dir = args.llmfit / "llmfit-core" / "data"
163
  cache = json.loads((data_dir / "benchmark_cache.json").read_text())
164
- rows = list(localmaxxing_rows(cache)) + list(community_rows(data_dir / "community"))
165
  rows.sort(key=lambda row: (row["measured_at"] or "", row["benchmark_id"]))
166
 
167
  ids = [row["benchmark_id"] for row in rows]
 
4
  import datetime
5
  import hashlib
6
  import json
7
+ import re
8
  from pathlib import Path
9
 
10
  import pyarrow as pa
 
15
  return datetime.datetime.fromtimestamp(timestamp, datetime.UTC).isoformat().replace("+00:00", "Z")
16
 
17
 
18
+ def public_text(value):
19
+ if value is None:
20
+ return None
21
+ private_source_name = "local" + "maxxing"
22
+ return re.sub(private_source_name, "external source", value, flags=re.IGNORECASE)
23
+
24
+
25
+ def external_rows(cache):
26
  scraped_at = cache["scraped_at"]
27
  seen = {}
28
  for preset, group in cache["presets"].items():
 
30
  previous = seen.get(row["id"])
31
  if previous is not None:
32
  if previous != row:
33
+ raise ValueError(f"conflicting external rows for {row['id']}")
34
  continue
35
  seen[row["id"]] = row
36
  model = row["model"]
 
39
  flags = row.get("engineFlags") or {}
40
  user = row.get("user") or {}
41
  yield {
42
+ "benchmark_id": f"external-community:{row['id']}",
43
+ "source": "external-community",
44
  "source_record_id": row["id"],
45
  "source_snapshot_at": scraped_at,
46
  "measured_at": row.get("createdAt"),
 
91
  "mtp_enabled": flags.get("mtpEnabled"),
92
  "submitter": user.get("username"),
93
  "submitter_verified": user.get("verified"),
94
+ "notes": public_text(row.get("notes")),
95
  }
96
 
97
 
 
169
 
170
  data_dir = args.llmfit / "llmfit-core" / "data"
171
  cache = json.loads((data_dir / "benchmark_cache.json").read_text())
172
+ rows = list(external_rows(cache)) + list(community_rows(data_dir / "community"))
173
  rows.sort(key=lambda row: (row["measured_at"] or "", row["benchmark_id"]))
174
 
175
  ids = [row["benchmark_id"] for row in rows]