results.html goes from 24 badges to 14. The model badge takes over the model_file details (org/name and size), PCIe, ReBAR and the power limit join the gpu badge, corpus, passes, temperature and prefix cache join the run badge, and the endpoint badge goes. Launch and env flags become a dropdown holding the real launch command from server-cmd.txt. Only the display changes: results.json and meta.json keep every value, including the hash and the standard-model verdict, so no version bump. If the page cannot be read, bench.sh warns and leaves the report as BetterBench wrote it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c287200532
commit
75bf153462
8 files changed
+391
-3
No files matched your search
+10
-1
@@ -17,5 +17,14 @@ res = {"single_stream": {"code": rec},
|
||||
"prefill": [{"target_depth": 4000, "pp_tps": [1500, 1600]}, {"target_depth": 64000, "skipped": True}],
|
||||
"env": {}, "argv": a}
|
||||
json.dump(res, open(out, "w"))
|
||||
open(out.replace(".json", ".html"), "w").write("<html></html>")
|
||||
# The header as BetterBench renders it, for report-header.py
|
||||
model = a[a.index("--model") + 1]
|
||||
sw = '<span class="swatch"></span>'
|
||||
chips = [sw + model, f'<code>{a[a.index("--endpoint") + 1]}</code>', "corpus v1.0", "5 passes/cat", "temp 0.7",
|
||||
"cold prefix cache (nonce)", "8,192 tok context"]
|
||||
chips += [sw + n.replace("=", ": ", 1) for i, n in enumerate(a) if i and a[i - 1] == "--note"]
|
||||
bar = "".join(f'<span class="chip">{c}</span>' for c in chips)
|
||||
open(out.replace(".json", ".html"), "w").write(
|
||||
f'<html><style>a{{}}</style><body><header><h1>{model}</h1>\n<div class="runbar">{bar}</div>\n</header>'
|
||||
'<main>the numbers</main></body></html>')
|
||||
print("[3/3] done")
|
||||
Reference in new issue
Block a user