perf loop c106: ship bundle ab-so (AR bf8 + prefill small ops), -1.3..-2.3% makespan every cell #127

Merged
Grok merged 24 commits from serving-throughput into master 2026-09-29 15:01:07 +02:00
Owner

Ships LEDGER R-2026-09-29-abso as a bundle on pfw2-gf.

Members:

  • ab: QWEN36_AR_BF8, the decode all-reduce payload in bf8.
  • so: the c105 prefill small ops: conv state RM, AGMM chunks (attention only), conv window once, qk norm weight.

Result, vs 3 interleaved pfw2-gf controls: 2 rounds, fixed 1024-token output. Every cell wins: makespan −1.3…−2.3%, TG −0.9…−2.4%, PP up to 5,091 tok/s.

Gates, on this exact combination:

  • equiv NEAR_TIE vs colpar2;
  • GSM8K 290/300, thinking on; paired against pfw2-gf, 2 vs 1 discordant items;
  • retrieval 1.0 at 16k and 32k, early and late halves.

Attribution: a 2x2 against ab-only and so-only arms.

  • The two are additive at 4k.
  • They are sub-additive at 32k, +0.5 pt at B8/32k, because the bundle's decode TG there is slower than ab alone.
  • A leave-one-out over the four so knobs is running.

Also in this PR:

  • a per-container json-file docker log: journald was dropping banner lines, which refused a good control;
  • the queue edits;
  • the synthesis after c103-c106.

The arms change only env and tree. Production is not redeployed; that stays the owner's call.

🤖 Generated with Claude Code

Ships LEDGER R-2026-09-29-abso as a bundle on pfw2-gf. **Members:** - **ab:** `QWEN36_AR_BF8`, the decode all-reduce payload in bf8. - **so:** the c105 prefill small ops: conv state RM, AGMM chunks (attention only), conv window once, qk norm weight. **Result, vs 3 interleaved pfw2-gf controls:** 2 rounds, fixed 1024-token output. Every cell wins: makespan −1.3…−2.3%, TG −0.9…−2.4%, PP up to 5,091 tok/s. **Gates, on this exact combination:** - equiv NEAR_TIE vs colpar2; - GSM8K 290/300, thinking on; paired against pfw2-gf, 2 vs 1 discordant items; - retrieval 1.0 at 16k and 32k, early and late halves. **Attribution:** a 2x2 against ab-only and so-only arms. - The two are additive at 4k. - They are sub-additive at 32k, +0.5 pt at B8/32k, because the bundle's decode TG there is slower than ab alone. - A leave-one-out over the four so knobs is running. Also in this PR: - a per-container json-file docker log: journald was dropping banner lines, which refused a good control; - the queue edits; - the synthesis after c103-c106. The arms change only env and tree. Production is not redeployed; that stays the owner's call. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Grok added 24 commits 2026-09-29 15:00:57 +02:00
The c104 prefill profile still spends per-GDN-layer, per-chunk programs on pure data movement that the
op sequence does not need. Believed before: these copies were the price of the layouts; the op signatures
show three of them are avoidable with the same values, so each becomes a knob (unset = shipped sequence):

- QWEN36_GDN_CONV_STATE_RM: the kda conv carry slice at unaligned row T-3 untilized the whole TILE qkv;
  take the rows from the row-major x_rm the kda op already builds. Bit-exact (ttsim). Per call.
- QWEN36_AGMM_CHUNKS=gdn,attn: all_gather_minimal_matmul_async chunk_sizes writes [qkv|z|ab] and
  [q|kv|gate] as separate tensors, dropping the slice copies (GDN chunks L1, z moved to DRAM once;
  attention chunks DRAM). Falls back to slicing under QWEN36_AGMM_UNFUSED=matmul. Bit-exact (ttsim). Per call.
- QWEN36_GDN_CONV_WINDOW_ONCE: the decode conv window was rewritten in every chunk inside the chunk trace;
  prefill_traced_chunked (the only replayer of that trace) now writes it once from conv_carry after the last
  chunk. Boot time (the trace is captured with the skip), TP only. finalize bit-exact vs the per-chunk write (ttsim).
- QWEN36_QK_NORM_W: q/k rms_norm takes weight= instead of a separate row-bcast multiply. Tier 2;
  ttsim 1.9.9 aborts on rms_norm (SFPGT), so it is unchecked on sim and needs the served equiv gate.

No speed number yet: nothing here ran on hardware. Record: bench/probes/prefill_smallops/sim-equiv-20260929T0552Z.jsonl

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Believed: sweep32k makespan deltas between tier-2 arms measure speed. Evaluator 2026-09-29: streams stop
at EOS, so a numerics lever changes how many tokens are decoded (pfw2-gf B8/32k 6949 vs control 7390),
and makespan mixes speed with output length. Now every sweep cell runs --ignore-eos (serving-bench
proves every stream decoded --tokens), records carry token totals, and sweep-verdict refuses mixed
ignore_eos/image sets and prints a per-cell Welch t instead of ranking on min/max band exits.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Believed: docker logs holds every boot line. cfx-llm2's default driver is journald, which suppressed 889,035
messages in one boot; a 64x banner read 55 and refused a good pfw2-gf control (B=8). An absent-banner check
could equally have passed falsely. Containers now log to their own json-file.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Believed: ab and so were independent small levers. Measured as a bundle with a full 2x2 against 3 interleaved
pfw2-gf controls at fixed length: every cell wins, additive at 4k, sub-additive at 32k (+0.5 pt at B8/32k via
decode TG; LOO in flight). GSM8K 290/300 (paired vs 291: 2 vs 1 discordant), retrieval 1.0 early/late.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
README: best column and runbook -> pfw2-gf-ab-so (R-2026-09-29-abso)
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 13s
tt-stack-ci / Build simulators and check the host module (pull_request) Failing after 1m19s
tt-stack-ci / Build simulators and check the host module (push) Failing after 1m4s
tt-stack-ci / Report upstream drift (push) Successful in 7s
9f01c4e306
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Grok merged commit 9f01c4e306 into master 2026-09-29 15:01:07 +02:00
Author
Owner

agent-gateway closeout (merged): cleared agent:* labels.
Hermes kanban card (if any) is left for Hermes to archive/complete.

agent-gateway closeout (merged): cleared `agent:*` labels. Hermes kanban card (if any) is left for Hermes to archive/complete.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitpartner/tt-stack!127
No description provided.