From 26346910ae0370fb433bc4bb3e37d2e35f3b25d4 Mon Sep 17 00:00:00 2001 From: Hasan Basbunar Date: Fri, 16 Oct 2026 23:23:24 +0200 Subject: [PATCH] Comments that no longer match the code cockpit.css and now.js counted four and five bays: the rack seats one bay per lane, in three columns. lifecycle.blocked_reasons gets the states of every engine unit, not two. prepare-lane.sh named tests/test_cockpit_http.py, which lives in dashboard/tests/. bench-agent.py and BENCHMARKS.md cited notes/ files that are jschmied's, in github.com/jschmied/qwen38-flash-next-gb10, and now say so. Co-Authored-By: Claude Opus 5.5 --- BENCHMARKS.md | 3 ++- bench-agent.py | 7 ++++--- dashboard/lifecycle.py | 2 +- dashboard/static/css/cockpit.css | 4 ++-- dashboard/static/js/now.js | 2 +- prepare-lane.sh | 4 ++-- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/BENCHMARKS.md b/BENCHMARKS.md index 4615241b..988ff7f9 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -344,7 +344,8 @@ on their box (38.6-40.6 tok/s) and the **worst** agent loop, 47.8 ms/tok against 43.4 with no speculation at all and 33.3 with an n-gram drafter, because vLLM's scheduler drops one cacheable block per request when a drafter is configured, so every turn re-prefills what it just cached (jschmied, -`notes/which-drafter-for-agent-work.md` and `notes/mtp-vs-prefix-cache.md`, +[`notes/which-drafter-for-agent-work.md`](https://github.com/jschmied/qwen38-flash-next-gb10/blob/main/notes/which-drafter-for-agent-work.md) +and [`notes/mtp-vs-prefix-cache.md`](https://github.com/jschmied/qwen38-flash-next-gb10/blob/main/notes/mtp-vs-prefix-cache.md), 2026-08-31, work pinned the same way). This lane does not pay that: 27.0 ms/tok with MTP on, flat TTFT, and the same numbers on a 24K prefix. diff --git a/bench-agent.py b/bench-agent.py index ad3043d1..fe6ba3f3 100755 --- a/bench-agent.py +++ b/bench-agent.py @@ -12,9 +12,10 @@ ranking *invert* between the two shapes: MTP had the best decode on their box (38.6-40.6 tok/s) and the worst agent loop (47.8 ms/tok), worse than no speculation at all (43.4), because vLLM's scheduler drops one cacheable block per request when a speculative drafter is configured, so every turn re-prefills -what it just cached (jschmied, notes/which-drafter-for-agent-work.md and -notes/mtp-vs-prefix-cache.md, 2026-08-31). Selecting a config on tok/s can pick -exactly the wrong one, so this repo measures the other shape too. +what it just cached (jschmied, 2026-08-31, in the notes/ of +github.com/jschmied/qwen38-flash-next-gb10: which-drafter-for-agent-work.md +and mtp-vs-prefix-cache.md). Selecting a config on tok/s can pick exactly +the wrong one, so this repo measures the other shape too. ./bench-agent.py # 8 turns on an 8k prefix, through the proxy ./bench-agent.py --turns 12 --prefix-tokens 30000 diff --git a/dashboard/lifecycle.py b/dashboard/lifecycle.py index 1e51db90..1c54fcdd 100644 --- a/dashboard/lifecycle.py +++ b/dashboard/lifecycle.py @@ -447,7 +447,7 @@ TEXT_UNITS = tuple(u for u in ENGINE_UNITS if u not in (IMAGE_UNIT, VIDEO_UNIT, def blocked_reasons(action: str, params: dict, states: dict) -> list[str]: """Why an action must NOT run now. Empty list = allowed. - states: {unit_name: state_string} for the two engine units. + states: {unit_name: state_string} for the engine units (ENGINE_UNITS). The cardinal rule on 128 GB unified memory: never two engines at once. """ reasons = [] diff --git a/dashboard/static/css/cockpit.css b/dashboard/static/css/cockpit.css index 7642d536..3949649a 100644 --- a/dashboard/static/css/cockpit.css +++ b/dashboard/static/css/cockpit.css @@ -480,8 +480,8 @@ details.why > div{margin-top:var(--s-3); color:var(--fg-2); font-size:var(--t-14 .pool-scale{display:flex; justify-content:space-between; margin-top:6px; font-size:var(--t-12); color:var(--fg-3); font-variant-numeric:tabular-nums} /* ── THE RACK ────────────────────────────────────────────────────────────────── - Four bays, one seated. A lane that is not loaded is not missing: it is shelved. */ -/* five bays: the three text lanes on the first row, the image and the video lanes under them */ + A bay per lane, one seated. A lane that is not loaded is not missing: it is shelved. */ +/* three columns (two, then one, on narrower screens): the text lanes first, then the image and the video lanes */ .rack{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:var(--s-3); margin-top:var(--s-5)} .bay{position:relative; display:flex; flex-direction:column; gap:var(--s-3); padding:var(--s-4); border-radius:var(--r-panel); border:1px solid rgba(255,255,255,.12); background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.04)); diff --git a/dashboard/static/js/now.js b/dashboard/static/js/now.js index c45c3711..06a1310a 100644 --- a/dashboard/static/js/now.js +++ b/dashboard/static/js/now.js @@ -85,7 +85,7 @@ function renderPool(){ $('mp-free').style.width = (100 * p.free / p.total).toFixed(1) + '%'; } -// ── the rack: four bays ─────────────────────────────────────────────────────── +// ── the rack: a bay per lane ────────────────────────────────────────────────── const BAYS = new Map(); function bay(unit){ let b = BAYS.get(unit); if (b) return b; diff --git a/prepare-lane.sh b/prepare-lane.sh index 132493d5..5bea1a13 100755 --- a/prepare-lane.sh +++ b/prepare-lane.sh @@ -19,8 +19,8 @@ # Without one, the target the launcher or unit serves. The preparation fetched that one only, # the default on a new box, and the Load's switch then fetched the target loaded (found in # review, 2026-10-15). The lane and the target are arguments of their own: the cockpit's -# actions never build one argument out of a parameter (tests/test_cockpit_http.py holds them -# to that). +# actions never build one argument out of a parameter (dashboard/tests/test_cockpit_http.py +# holds them to that). set -euo pipefail HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" usage(){ echo "usage: ./prepare-lane.sh | []" >&2; exit 2; }