Skip to content

leaderboard: the 27B first-token pair from the #622 trace - #623

Merged
bong-water-water-bong merged 5 commits into
mainfrom
feat/npu-leaderboard
Oct 27, 2026
Merged

bong-water-water-bong merged 5 commits into
mainfrom
feat/npu-leaderboard

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Two records, same instrument and same model, before and after #622:

first token (pack included) device wait host time
pre-#622 435.9 s 62.5 s 371.7 s
800cf6f 145.7 s 59.8 s 83.7 s

Both rows come from a driver trace rather than a wall clock alone, so the split is
in the record: ~/lb/587-trace-20261027T175645Z/bpf.log and
~/lb/587-trace-20261027T201250Z/bpf.log, 37.5 k events each, comm=1bit only,
gated on ~/npu.lock + 5× fuser /dev/accel/accel0.

What the second trace shows about what is left, in the notes and here for the
reader: device wait is unchanged at 59.8 s over 2 298 submits (26 ms each, which is
launch overhead, not arithmetic), and the 120 multi-second gaps that held 220.9 s
are gone — one remains, 13.5 s before a 2.7 MB BO.

1bit and others added 5 commits October 27, 2026 16:19
A row is one measured run, and the generator refuses any record that cannot say
how it was measured: instrument, repeat count, timestamp and source are required,
and a record with repeats=0 or a missing instrument fails --check instead of
being ranked. The unit decides the sort direction (s/token low-to-high, tok/s
high-to-low), rows are grouped by host so nobody compares a laptop NPU with a
server, and docs/npu-leaderboard.md carries a do-not-edit-by-hand banner.

Seeded with the six runs we have on disk: the 27B Q4NX pair on the NPU route,
three Flash-Next prefill points, and the Qwen3-4B four-slot arm from the #528
repro (noted as single-slot, since that arm never used four slots).
The build job runs tools/copyright.py --check, which wants a notice on every
tracked file. The generator now writes the same notice into the top of
docs/npu-leaderboard.md instead of fighting --fix on every regeneration.
435.9 s before the tiled transpose, 145.7 s after, same instrument and same model.
Both records carry what the gap analysis showed: which share is device wait and
which is host time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant