scripts/sycl, docs: BetterBench, its venv, Chromium and the runs under the repo's local/ (git-excluded)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018EpFgqQidSnH8zo7boVZC1
This commit is contained in:
claudeandClaude Opus 5.5 committed 2026-10-26 21:09:23 +01:00
1 parent b7998146d7
commit 1592580337
2 files changed
+26 -23

No files matched your search

+15 -15
View File
@@ -126,13 +126,13 @@ others; the CPU-budget and timing tests are compared by cause (re-run alone if t
## Benchmarks
Tool: BetterBench 0.6.1 (`GGZ14/BetterBench` at `f72bb90`), cloned to `~/tools/BetterBench` and
installed editable into its own venv `~/tools/betterbench-venv` (Python 3.14.4). Every flag of the
Tool: BetterBench 0.6.1 (`GGZ14/BetterBench` at `f72bb90`), cloned to `local/tools/BetterBench` and
installed editable into its own venv `local/tools/betterbench-venv` (Python 3.14.4). Every flag of the
brief's command (`--quick --decode --prefill --no-update-check --name --out --note --api-key`) is
present in `betterbench run --help`.
```sh
~/tools/betterbench-venv/bin/betterbench run --endpoint http://127.0.0.1:8000/v1 --model <served name> \
local/tools/betterbench-venv/bin/betterbench run --endpoint http://127.0.0.1:8000/v1 --model <served name> \
--quick --decode --prefill --no-update-check \
--name sycl-<model>-<short commit> --out <run dir>/results.json \
--note backend=sycl --note gpu=arc-pro-b65 --note commit=<short commit>
@@ -142,7 +142,7 @@ Discord posting: the user added `~/.config/radiance-bench.env` (mode 0600) on 20
`DISCORD_WEBHOOK_URL` loads from it (never printed or logged). The user also asked for
**screenshots of BetterBench's HTML report** to be sent to the webhook with each result. No headless
browser is installed (no chromium/firefox/wkhtmltoimage, no playwright); at the first benchmark,
install one outside the repo (e.g. playwright + chromium in `~/tools/betterbench-venv`) and have
install one outside the repo (e.g. playwright + chromium in `local/tools/betterbench-venv`) and have
`scripts/bench_report.sh` render the report to PNG and post it as a multipart attachment beside the
summary. `scripts/bench_report.sh` (quick run, parse `results.json` with `jq`, post, check the HTTP
status) is to be written at the first benchmarkable milestone, against a real `results.json`.
@@ -153,20 +153,20 @@ BetterBench's own report functions, screenshots the HTML report (JPEG, at the us
posts both to the webhook; `--report RUN_DIR TAG` reports an existing run. The screenshot needs
headless Chromium (Playwright in the BetterBench venv), nine system libraries it lacks here and
fonts (this host has none; the first post had no text) -- all unpacked without root under
`~/tools/chromium-libs` (`apt-get download` + `dpkg -x`, a private `fonts.conf`).
`local/tools/chromium-libs` (`apt-get download` + `dpkg -x`, a private `fonts.conf`).
| date | commit | model | backend | flags | prefill tok/s (median / 1% low) | decode tok/s (median / 1% low) | vs previous | report |
|---|---|---|---|---|---|---|---|---|
| 2026-10-23 | `874f8d2` | minicpm5-2b-bf16 | sycl, correctness-first kernels | `--num-speculative-tokens 0 --max-model-len 8192 --max-num-seqs 4` | 17.3 / 17.3 @2000 (8000+ skipped: over the 8192 context) | 4.2 / 3.5 | first run | `radiance-bench/runs/20261023-165102-minicpm5-2b-bf16-874f8d2/results.html`, posted with `report.jpg` |
| 2026-10-23 | `a869226` | minicpm5-2b-bf16 | sycl, Phase 4 step 1 (GEMV) | same | 17.5 / 17.4 @2000 | 25.3 / 16.2 | decode +504.5% | `radiance-bench/runs/20261023-194856-minicpm5-2b-bf16-a869226/results.html`, posted with `report.jpg` |
| 2026-10-24 | `5720a95` | qwen38-27b-m2xfp4 (Qwen3.8-27B-DFLASH2-PARO-M2XFP4) | sycl, fast m2xfp4 GEMV / DPAS verify / tiled XMX prefill, DFlash2 drafter on | `--max-model-len 8192 --max-num-seqs 4` | 113.4 / 113.3 @2000 | 19.1 / - | first run | `radiance-bench/runs/20261024-060226-qwen38-27b-m2xfp4-5720a95/results.html`, posted with `report.jpg` |
| 2026-10-24 | `35708cd` | qwen38-27b-m2xfp4 | sycl, + verify GEMM epilogue fused, givens/attention/head on register DPAS, typed gdn, exact chunk-parallel kkt and 1024-wide chunk scan, oneMKL prefill GEMMs | `--max-model-len 8192 --max-num-seqs 1 --embedding-placement vram` | 341.0 / 340.2 @2000 | 37.0 / - | decode +28.2%, prefill +159.8% | `radiance-bench/runs/20261024-175851-qwen38-27b-m2xfp4-35708cd/results.html`, posted with `report.jpg` |
| 2026-10-24 | `b0e34c6` | qwen38-27b-m2xfp4 | sycl, the speculative round's kernels (draft head and logits on DPAS, exact selection ops, typed gdn, vector norm, register-DPAS verify GEMM) | `--max-model-len 8192 --max-num-seqs 1` | 131.3 / 130.6 @2000 | 28.9 / - | decode +51.5%, prefill +15.8% | `radiance-bench/runs/20261024-135808-qwen38-27b-m2xfp4-b0e34c6/results.html`, posted with `report.jpg` |
| 2026-10-25 | `ef6c6e1` | qwen38-27b-m2xfp4 | sycl, verify GEMM in ESIMD, gdn load order | `--max-model-len 8192 --max-num-seqs 1 --embedding-placement vram` | 356.4 / 355.6 @2000 | 44.4 / - | decode +19.8%, prefill +4.5% | `radiance-bench/runs/20261025-111356-qwen38-27b-m2xfp4-ef6c6e1/results.html`, posted with `report.jpg` |
| 2026-10-25 | `340231d` | qwen38-27b-m2xfp4 | sycl, + e_max in the prepass, range-copy staging, w2a8 head staging, 16-byte exponent gathers | same | 356.3 / 355.4 @2000 | 48.2 / - | decode +8.7% | `radiance-bench/runs/20261025-142422-qwen38-27b-m2xfp4-340231d/results.html`, posted with `report.jpg` |
| 2026-10-26 | `68d510b` | qwen38-27b-m2xfp4 | sycl, + m2xfp4 codes tiled at load | same | 356.0 / 354.8 @2000 | 52.0 / - | decode +7.9% | `radiance-bench/runs/20261026-014745-qwen38-27b-m2xfp4-68d510b/results.html`, posted with `report.jpg` |
| 2026-10-26 | `2a5e815` | qwen38-27b-m2xfp4 | sycl, + meta/exponents tiled with stored e_max, quant_act_fp8 per group, the w2a8 head on u2 DPAS | same | 355.3 / 354.6 @2000 | 53.2 / - | decode +2.2% | `radiance-bench/runs/20261026-034439-qwen38-27b-m2xfp4-2a5e815/results.html`, posted with `report.jpg` |
| 2026-10-23 | `b07da2a` | minicpm5-2b-bf16 | sycl, Phase 4 steps 2-6 (XMX prefill, split-KV attention, norms, GEMV split) | same | 1575.6 / 1547.1 @2000 | 51.8 / 41.4 | decode +104.7%, prefill 90x | `radiance-bench/runs/20261023-221354-minicpm5-2b-bf16-b07da2a/results.html`, posted with `report.jpg` |
| 2026-10-23 | `874f8d2` | minicpm5-2b-bf16 | sycl, correctness-first kernels | `--num-speculative-tokens 0 --max-model-len 8192 --max-num-seqs 4` | 17.3 / 17.3 @2000 (8000+ skipped: over the 8192 context) | 4.2 / 3.5 | first run | `local/radiance-bench/runs/20261023-165102-minicpm5-2b-bf16-874f8d2/results.html`, posted with `report.jpg` |
| 2026-10-23 | `a869226` | minicpm5-2b-bf16 | sycl, Phase 4 step 1 (GEMV) | same | 17.5 / 17.4 @2000 | 25.3 / 16.2 | decode +504.5% | `local/radiance-bench/runs/20261023-194856-minicpm5-2b-bf16-a869226/results.html`, posted with `report.jpg` |
| 2026-10-24 | `5720a95` | qwen38-27b-m2xfp4 (Qwen3.8-27B-DFLASH2-PARO-M2XFP4) | sycl, fast m2xfp4 GEMV / DPAS verify / tiled XMX prefill, DFlash2 drafter on | `--max-model-len 8192 --max-num-seqs 4` | 113.4 / 113.3 @2000 | 19.1 / - | first run | `local/radiance-bench/runs/20261024-060226-qwen38-27b-m2xfp4-5720a95/results.html`, posted with `report.jpg` |
| 2026-10-24 | `35708cd` | qwen38-27b-m2xfp4 | sycl, + verify GEMM epilogue fused, givens/attention/head on register DPAS, typed gdn, exact chunk-parallel kkt and 1024-wide chunk scan, oneMKL prefill GEMMs | `--max-model-len 8192 --max-num-seqs 1 --embedding-placement vram` | 341.0 / 340.2 @2000 | 37.0 / - | decode +28.2%, prefill +159.8% | `local/radiance-bench/runs/20261024-175851-qwen38-27b-m2xfp4-35708cd/results.html`, posted with `report.jpg` |
| 2026-10-24 | `b0e34c6` | qwen38-27b-m2xfp4 | sycl, the speculative round's kernels (draft head and logits on DPAS, exact selection ops, typed gdn, vector norm, register-DPAS verify GEMM) | `--max-model-len 8192 --max-num-seqs 1` | 131.3 / 130.6 @2000 | 28.9 / - | decode +51.5%, prefill +15.8% | `local/radiance-bench/runs/20261024-135808-qwen38-27b-m2xfp4-b0e34c6/results.html`, posted with `report.jpg` |
| 2026-10-25 | `ef6c6e1` | qwen38-27b-m2xfp4 | sycl, verify GEMM in ESIMD, gdn load order | `--max-model-len 8192 --max-num-seqs 1 --embedding-placement vram` | 356.4 / 355.6 @2000 | 44.4 / - | decode +19.8%, prefill +4.5% | `local/radiance-bench/runs/20261025-111356-qwen38-27b-m2xfp4-ef6c6e1/results.html`, posted with `report.jpg` |
| 2026-10-25 | `340231d` | qwen38-27b-m2xfp4 | sycl, + e_max in the prepass, range-copy staging, w2a8 head staging, 16-byte exponent gathers | same | 356.3 / 355.4 @2000 | 48.2 / - | decode +8.7% | `local/radiance-bench/runs/20261025-142422-qwen38-27b-m2xfp4-340231d/results.html`, posted with `report.jpg` |
| 2026-10-26 | `68d510b` | qwen38-27b-m2xfp4 | sycl, + m2xfp4 codes tiled at load | same | 356.0 / 354.8 @2000 | 52.0 / - | decode +7.9% | `local/radiance-bench/runs/20261026-014745-qwen38-27b-m2xfp4-68d510b/results.html`, posted with `report.jpg` |
| 2026-10-26 | `2a5e815` | qwen38-27b-m2xfp4 | sycl, + meta/exponents tiled with stored e_max, quant_act_fp8 per group, the w2a8 head on u2 DPAS | same | 355.3 / 354.6 @2000 | 53.2 / - | decode +2.2% | `local/radiance-bench/runs/20261026-034439-qwen38-27b-m2xfp4-2a5e815/results.html`, posted with `report.jpg` |
| 2026-10-23 | `b07da2a` | minicpm5-2b-bf16 | sycl, Phase 4 steps 2-6 (XMX prefill, split-KV attention, norms, GEMV split) | same | 1575.6 / 1547.1 @2000 | 51.8 / 41.4 | decode +104.7%, prefill 90x | `local/radiance-bench/runs/20261023-221354-minicpm5-2b-bf16-b07da2a/results.html`, posted with `report.jpg` |
## Models
+11 -8
View File
@@ -12,11 +12,13 @@
# TAG the model and configuration, e.g. minicpm5-2b-bf16; runs with the same TAG are
# compared (the delta is against the newest earlier run of that TAG)
# ENDPOINT default http://127.0.0.1:8100/v1; SERVED_MODEL default: the server's first model
# BB BetterBench's venv (default ~/tools/betterbench-venv)
# RUNS where runs are kept (default radiance-bench/runs in the repo, git-excluded)
# Everything this script keeps is under the repo's local/ (git-excluded):
# BB BetterBench's venv (default local/tools/betterbench-venv)
# RUNS where runs are kept (default local/radiance-bench/runs)
# PLAYWRIGHT_BROWSERS_PATH the headless Chromium (default local/ms-playwright)
# CHROMIUM_LIBS libraries headless Chromium lacks on this host, unpacked without root
# (default ~/tools/chromium-libs/root/usr/lib/x86_64-linux-gnu)
# CHROMIUM_FONTS a fontconfig file naming fonts for it (default ~/tools/chromium-libs/fonts.conf):
# (default local/tools/chromium-libs/root/usr/lib/x86_64-linux-gnu)
# CHROMIUM_FONTS a fontconfig file naming fonts for it (default local/tools/chromium-libs/fonts.conf):
# this host has no fonts, and without them the report renders with no text
#
# Quick runs are 1 warmup and 5 passes: for tracking progress, not for publishing, and labelled so.
@@ -28,10 +30,11 @@
set -eu
here=$(cd "$(dirname "$0")" && pwd)
root=$(cd "$here/../.." && pwd)
BB=${BB:-$HOME/tools/betterbench-venv}
RUNS=${RUNS:-$root/radiance-bench/runs}
CHROMIUM_LIBS=${CHROMIUM_LIBS:-$HOME/tools/chromium-libs/root/usr/lib/x86_64-linux-gnu}
CHROMIUM_FONTS=${CHROMIUM_FONTS:-$HOME/tools/chromium-libs/fonts.conf}
BB=${BB:-$root/local/tools/betterbench-venv}
RUNS=${RUNS:-$root/local/radiance-bench/runs}
CHROMIUM_LIBS=${CHROMIUM_LIBS:-$root/local/tools/chromium-libs/root/usr/lib/x86_64-linux-gnu}
CHROMIUM_FONTS=${CHROMIUM_FONTS:-$root/local/tools/chromium-libs/fonts.conf}
export PLAYWRIGHT_BROWSERS_PATH=${PLAYWRIGHT_BROWSERS_PATH:-$root/local/ms-playwright}
commit=$(git -C "$root" rev-parse --short HEAD)
if [ "${1:-}" = "--report" ]; then