From 9b9f736bffe29e8540630756e44f58c8a8005e54 Mon Sep 17 00:00:00 2001 From: Pavlo Ratushnyi Date: Tue, 10 Nov 2026 17:34:44 +0100 Subject: [PATCH] Speed program: ledger, A/B rules of 2026-11-10; second half of the tie-spread A/B withdrawn; S6 closes without its own paired A/B Co-Authored-By: Claude Sonnet 5.5 --- docs/experiments/step-ledger.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/experiments/step-ledger.md b/docs/experiments/step-ledger.md index adde86d3..84936285 100644 --- a/docs/experiments/step-ledger.md +++ b/docs/experiments/step-ledger.md @@ -152,7 +152,7 @@ Under the profile's `SIDE_MIXER` the a/b projection runs as `chain_gdn_ab_multi_ | id | step | LEL | VANL | difference | source | owner | status | | --- | --- | ---: | ---: | ---: | --- | --- | --- | -| verify: fused commit graph (accepted-prefix commit) (S6) | `COMMIT_BATCH` + state-only GDN commit (commit graph 158 kernels, 0.463 ms) | not ported | on (`gdn_step_commit_layers` 0.9 per round, 0.095 ms) | estimate 0.25-0.35 | upstream plan, CUPTI | device | fixing (the fused commit graph exists since draft-round: `LELEKA_DRAFT_FUSED_COMMIT=on`, 182 -> 4 nodes, GPU 516 -> 125 us, identity 2057/2057 rows and 1036/1036 draft-trace lines; it was never in the profile because the replay A/B called it neutral; now: section window (`verify-fused-commit-cupti-windows`, 2026-11-10, replay r29): commit graph in `CL.2` 182 kernels, span 509.3 us (p50 510.4, 836 graphs; `verify_gdn_step_norm_multi_kernel` 36 x 7.2 us = 258.5 us, `verify_qsa_append_analytic` 96 x 1.0 us, `verify_gdn_conv_commit_kernel` 36 x 1.7 us) -> `CF.1` (lever 1 + fused commit) 4 kernels, span 125.2 us (p50 124.4, 795 graphs; `draft_commit_gdn_layers` 113.9 us, `draft_commit_qsa_layers` 4.9 us) and `CU.1` (profile set + fused commit) 4 kernels, span 125.6 us (761 graphs): section delta -0.384 ms/round, -178 kernels/round; round wall of the windows is not comparable (T mix and expert-tier state differ between sessions: p50 CL.2 15.30, CF.1 15.73, CU.1 15.95, VANL 14.73 ms), the set A/B decides; identity `verify-fused-commit-and-side-branches-identity` P2/P3 on this tree, then ON in the 5090 profiles) | +| verify: fused commit graph (accepted-prefix commit) (S6) | `COMMIT_BATCH` + state-only GDN commit (commit graph 158 kernels, 0.463 ms) | not ported | on (`gdn_step_commit_layers` 0.9 per round, 0.095 ms) | estimate 0.25-0.35 | upstream plan, CUPTI | device | fixing (the fused commit graph exists since draft-round: `LELEKA_DRAFT_FUSED_COMMIT=on`, 182 -> 4 nodes, GPU 516 -> 125 us, identity 2057/2057 rows and 1036/1036 draft-trace lines; it was never in the profile because the replay A/B called it neutral; now: section window (`verify-fused-commit-cupti-windows`, 2026-11-10, replay r29): commit graph in `CL.2` 182 kernels, span 509.3 us (p50 510.4, 836 graphs; `verify_gdn_step_norm_multi_kernel` 36 x 7.2 us = 258.5 us, `verify_qsa_append_analytic` 96 x 1.0 us, `verify_gdn_conv_commit_kernel` 36 x 1.7 us) -> `CF.1` (lever 1 + fused commit) 4 kernels, span 125.2 us (p50 124.4, 795 graphs; `draft_commit_gdn_layers` 113.9 us, `draft_commit_qsa_layers` 4.9 us) and `CU.1` (profile set + fused commit) 4 kernels, span 125.6 us (761 graphs): section delta -0.384 ms/round, -178 kernels/round; round wall of the windows is not comparable (T mix and expert-tier state differ between sessions: p50 CL.2 15.30, CF.1 15.73, CU.1 15.95, VANL 14.73 ms), the set A/B decides; identity `verify-fused-commit-and-side-branches-identity` P2/P3 on this tree, then ON in the 5090 profiles; no separate paired A/B: a bitwise-identical step closes by section delta + identity, the e2e A/B is the one group A/B at the end of the stage) | | verify: commit graph kernel count (O11) | commit graph (158 kernels, `verify_gdn_conv_commit` 36 x 1.7 us) | 0.463 | 0.095 (`gdn_step_commit_layers`) | +0.37 (S6) | CUPTI | device | fixing (as S6) | | O10 | fused commit (`LELEKA_DRAFT_FUSED_COMMIT`) | measured | | -0.024 | ORCH | hex-finish | fixing | @@ -207,6 +207,14 @@ The device part starts at the verify graph; the draft (C1) and the host (C5) bel Each step is closed with: section delta (CUPTI of that step), identity, and the end-to-end paired A/B after the group. +## A/B rules (owner, 2026-11-10: do not burn the GPU) + +1. A bitwise-identical step (identity PASS) gets no paired A/B of its own: it closes by the section delta (one CUPTI or profile load) plus identity. +2. One group e2e A/B per set, at the end of the stage: n=5 pairs (10 runs); n=10 only when an effect below 1 % has to be resolved. +3. Replay of 12-15 requests when a section is measured, not 30. +4. Several variants in one load (switch by env or tune), not a restart for each. +5. A/B only for changes that alter the numbers or carry a regression risk. + ## Job names (old code name -> readable name) Queue stubs and result directories carry the readable name from 2026-11-09 (`--`, area prefix `prefill-`, `verify-`, `draft-`, `host-`, `memory-`). A job that already ran or runs keeps its directory; this table is the correspondence. @@ -221,9 +229,9 @@ Queue stubs and result directories carry the readable name from 2026-11-09 (`