From 16dea5cb90e66d67a2029aba7e618876980433e4 Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Mon, 9 Nov 2026 23:43:43 +0100 Subject: [PATCH] Speed program: ledger V3b, A/B ab-sqn (no regression, not significant alone) Co-Authored-By: Claude Sonnet 5.5 --- docs/experiments/step-ledger.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/experiments/step-ledger.md b/docs/experiments/step-ledger.md index 44e1929f..a2b1da8c 100644 --- a/docs/experiments/step-ledger.md +++ b/docs/experiments/step-ledger.md @@ -77,7 +77,7 @@ Structure first, then the layer steps in graph order: embed (R7), mixer half (V3 | R7 | first doorbell after graph start (embed, first layer mixer) | 0.132 | 0.117 | +0.015 | CUPTI | device | open | | V3 | mixer phase (`add_hits` end to next doorbell) | 6.366 | 5.963 | +0.403 | CUPTI | device | fixing | | verify: side branch of the GDN mixer (V3a) | GDN gates and gate projection on side streams (`LELEKA_SM120_SIDE_MIXER=1`, existing, off) | mixer 5.913, round 17.508 (`CM.1`) | mixer 5.963 | section delta mixer -0.453, round -0.356; mixer phase now equal to VANL | CUPTI | device | fixed (identity `spd-sqid1` P2 PASS: 2057 top-16 rows bit-identical, 0 argmax flips, draft trace 518/518; A/B `ab-sm` n=10 decode +1.39 %, CI +0.46..+2.32 %; default ON in the 5090 profiles; closed 2026-11-09 by section delta + identity (owner method); set A/B `verify-side-branches-ab-mixer-only-vs-all-branches` checks the set for regression) | -| verify: side branches of the QSA indexer and query chains (V3b) | QSA indexer chain and query chain on side streams (`LELEKA_SM120_SIDE_QSA`, code `0c30105d4`, off) | in line | 0.509 ms of overlap with the main stream (main+qsa) | section delta (`CN.1` against `CL.1`, same replay window r29): mixer phase of a QSA layer 184.5 -> 169.7 us p50 (-14.8 us x 12 = -0.18 ms/round); `CT.1` (all three) 169.2 us. FFN phase rose in `CN.1` on GDN layers too (109 -> 131 us), which the branch does not touch, so the whole-graph time of that window (14.62 against 13.56 ms mean) is window drift, not the branch; the A/B decides | CUPTI (VANL) | device | fixed (closed 2026-11-09 by section delta + identity (owner method); set A/B `verify-side-branches-ab-mixer-only-vs-all-branches` checks the set for regression) | +| verify: side branches of the QSA indexer and query chains (V3b) | QSA indexer chain and query chain on side streams (`LELEKA_SM120_SIDE_QSA`, code `0c30105d4`, off) | in line | 0.509 ms of overlap with the main stream (main+qsa) | section delta (`CN.1` against `CL.1`, same replay window r29): mixer phase of a QSA layer 184.5 -> 169.7 us p50 (-14.8 us x 12 = -0.18 ms/round); `CT.1` (all three) 169.2 us. FFN phase rose in `CN.1` on GDN layers too (109 -> 131 us), which the branch does not touch, so the whole-graph time of that window (14.62 against 13.56 ms mean) is window drift, not the branch; the A/B decides | CUPTI (VANL) | device | fixed (A/B `ab-sqn` L against N, n=10: decode tok/s +0.35 %, CI -0.23..+0.93 % (not significant, no regression); ms/token 5.635 -> 5.616; ms/round +0.11, CI -2.99..+4.11 %; end-to-end +0.87 %, CI -0.16..+1.90 %; default ON in the 5090 profiles; closed 2026-11-09 by section delta + identity (owner method); set A/B `verify-side-branches-ab-mixer-only-vs-all-branches` checks the set for regression) | | K6 | attention role in total (norm/RoPE, appends, scores, top-k, resolve, chunk, merge, gate) | 1.357 | 1.125 | +0.232 | CUPTI role table | device | open | | K1 | attention decode chunk (`leleka_qsa_decode_chunk_daily` 18.3 us, 12 per graph) against `attn_chunk_kernel_pre75` (17.1 us) | 0.220 | 0.206 | +0.014 | CUPTI | device | open | | K2 | indexer block scores (`leleka_qsa_decode_scores` 14.2 us against `block_scores_multi` 17.1 us) | 0.170 | 0.205 | -0.035 | CUPTI | device | proved-equal (LEL ahead) |