Skip to content

ds4#964 re-test on the new head: @trueimage says prefill improved, and we measured it 2.0% SLOWER on the old one #143

Description

@evandhoffman

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1The rest of the NEXT.md top 10. Next real work.engine:dwarfstarDwarfStar (antirez's ds4/ds4-metal engine) — not the DeepSeek model familyengine:llamacppllama.cppmodel:glmGLM familyplatform:macOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions