Follow-up to #118, which measured the previous head of this same PR and is the control for this re-run.
@trueimage asked us directly, on antirez/ds4#964 at 2026-09-05T01:07:47Z:
@evandhoffman give this another test on M5? I improved prefill now.
The PR title now reads "Over 30% faster GLM 5.3 Flash decode AND 16.6–26.0% faster prefill on Metal (M3 Ultra), bit-exact". Head is 4b00b59a on trueimage/ds4, branch glm53flash-metal-exact, updated the same minute as the ask.
Why this one is worth the machine time
We already hold a four-run baseline on the previous head, taken with the same harness, the same prompt and the same machine (#118, now closed):
decode pr964/main median 1.176 (+17.6%) over 4 runs [1.165, 1.212, 1.176, 1.177], spread 4.7 pp
prefill pr964/main median 0.980 ( -2.0%) over 4 runs [0.984, 0.960, 0.988, 0.977], spread 2.9 pp
prompt promessi_sposi.txt (1298 KiB)
So prefill was 2.0% slower on the branch when we measured it, against a 2.9 pp four-run spread. The new claim is 16.6–26.0% faster. That is a ~19–28 pp move on a figure we have four runs of, on an instrument whose between-run spread we know. Almost nothing we are asked to check is this cleanly posed: one variable moves — the branch head — and everything else is already pinned.
It is also the cheapest external ask we have had. The #118 runs took ~8 minutes each, so four runs is ~35–40 minutes.
What to run
Four runs through scripts/decode_ab_repeat.sh with scripts/decode_ab_engine.sh — two engine trees, one GGUF — exactly as #118 did, so the numbers above are the control:
What to report, and what not to
Both directions and the run count, per #136. Prefill is prompt-dependent (#140) — this is one prompt at 1298 KiB, and their figure is on an M3 Ultra with a prompt they have not named in the title. Do not pool the two, and say which prompt ours is on when reporting upstream.
The bit-exactness claim is separate and was checked once before; re-check it on the new head rather than carrying the old result forward.
Also seen in the same sweep, no action
ds4#952: @adamlawi posting GB10 decode numbers in reply to @GiorgioOppo. We are mentioned in the thread, not asked for anything. Q4 leads Q8 by ~14% from 4k–8k and ~17.5% at 2048 on that box — consistent with what we measured here, and CUDA rather than Metal.
Scheduled: after the #138 screen finishes (~23:50 tonight), before the paired 3+3.
Follow-up to #118, which measured the previous head of this same PR and is the control for this re-run.
@trueimage asked us directly, on antirez/ds4#964 at 2026-09-05T01:07:47Z:
The PR title now reads "Over 30% faster GLM 5.3 Flash decode AND 16.6–26.0% faster prefill on Metal (M3 Ultra), bit-exact". Head is
4b00b59aontrueimage/ds4, branchglm53flash-metal-exact, updated the same minute as the ask.Why this one is worth the machine time
We already hold a four-run baseline on the previous head, taken with the same harness, the same prompt and the same machine (#118, now closed):
So prefill was 2.0% slower on the branch when we measured it, against a 2.9 pp four-run spread. The new claim is 16.6–26.0% faster. That is a ~19–28 pp move on a figure we have four runs of, on an instrument whose between-run spread we know. Almost nothing we are asked to check is this cleanly posed: one variable moves — the branch head — and everything else is already pinned.
It is also the cheapest external ask we have had. The #118 runs took ~8 minutes each, so four runs is ~35–40 minutes.
What to run
Four runs through
scripts/decode_ab_repeat.shwithscripts/decode_ab_engine.sh— two engine trees, one GGUF — exactly as #118 did, so the numbers above are the control:mainat the merge base, built clean in its own worktree (Metal shaders resolve relative to the tree, so each arm needs its own).trueimage/ds4 glm53flash-metal-exact @ 4b00b59a, likewise.~/git/ds4/gguf/GLM-5.3-Flash-Q2.gguf, promptspeed-bench/promessi_sposi.txt(1298 KiB),--ctx-start 2048 --ctx-max 16384 --gen-tokens 128.What to report, and what not to
Both directions and the run count, per #136. Prefill is prompt-dependent (#140) — this is one prompt at 1298 KiB, and their figure is on an M3 Ultra with a prompt they have not named in the title. Do not pool the two, and say which prompt ours is on when reporting upstream.
The bit-exactness claim is separate and was checked once before; re-check it on the new head rather than carrying the old result forward.
Also seen in the same sweep, no action
ds4#952: @adamlawi posting GB10 decode numbers in reply to @GiorgioOppo. We are mentioned in the thread, not asked for anything. Q4 leads Q8 by ~14% from 4k–8k and ~17.5% at 2048 on that box — consistent with what we measured here, and CUDA rather than Metal.
Scheduled: after the #138 screen finishes (~23:50 tonight), before the paired 3+3.