bench.sh: the 27B's physical ceiling on the 27B lane only

Under a probe past 90 tok/s, bench.sh printed "almost certainly a measurement artifact", a ceiling worked out for
the 27B (about 11 tok/s alone, eight tokens a step). On the Qwen4 35B-A3B lane, 3B active per token, three probes
out of four got it under their own figure (2026-12-04). A test runs the flash, LFM2.5 and Qwen4 lanes past it: red
on the old script, green now; the 27B lane still says it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hasan BasbunarandClaude Opus 5.5 committed 2026-12-04 12:31:57 +01:00
1 parent 0939d84a2d
commit 53b4fc8475
2 files changed
+15 -1

No files matched your search

+4 -1
View File
@@ -178,7 +178,10 @@ for name, temp, prompt, mt in PROBES:
untimed += sum(1 for x in timed if x <= 0)
print(f" {name}: {' / '.join(f'{x:.1f}' if x > 0 else 'not timed' for x in speeds)} tok/s"
+ (" (the second one not counted)" if NGRAM_POOL else ""))
if max(timed) > 90:
# The 27B's ceiling: its dense 27B alone decodes about 11 tok/s on this box. Another lane's model has another floor:
# on the Qwen4 35B-A3B lane, 3B active per token, every greedy probe passed 90 (85 to 127, 2026-12-04) and each was
# called an artifact under its own figure (found 2026-12-04).
if LANE == "27b" and max(timed) > 90:
print(" ^ above the block-8 speculative physical ceiling for this box (~9x the")
print(" ~11 tok/s AR floor), almost certainly a measurement artifact, not")
print(" real speed. Cross-check with bench-matrix.sh (wall-clock method).")
+11
View File
@@ -222,6 +222,17 @@ def main():
if f"{spin.pid} " not in out:
fails.append(f"bench did not name the busy process {spin.pid}:\n{out[:400]}")
# The physical ceiling bench.sh prints under a probe past 90 tok/s is the 27B's (about 11 tok/s alone, 8 tokens a
# step): on the Qwen4 35B-A3B lane, 3B active per token, it called each of three probes out of four an artifact
# under its own figure (2026-12-04). The fake engine's rates pass any ceiling: only the 27B lane says it.
for model in ("qwen4-35b-a3b", "qwen3.8-flash-next", "lfm2.5-24b-a2b"):
out = run_bench(model)
if "measurement artifact" in out:
fails.append(f"{model} was told the 27B's physical ceiling:\n{out[:600]}")
out = run_bench("qwen3.8-27b")
if "measurement artifact" not in out:
fails.append(f"the 27B lane no longer says its physical ceiling:\n{out[:600]}")
for f in fails:
print("FAIL", f)
print(f"bench lane detection: {'FAILED' if fails else 'ok'} ({len(fails)} problem(s))")