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

+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