Commit Graph
99 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 6023e97847 ledger: stage 7 default-profile e2e (CRM 0/3 on two static frontend checks, decode -39/-58 tok/s, wall inside noise); CRM bisect step 1 stubs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 04:07:14 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d438db62f9 ledger H4: control gate (shares 0.35/0.55 vs 0.45) - max d_top1 0.67..0.75 is the size of any placement change; control-relative rule applies; candidate passes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 03:25:15 +01:00
Pavlo Ratushnyi 1b2b27cc7c Merge claude/speed-vs-strata-08143a: slots/adapt rerun verdict in ledger 2026-11-12 03:04:53 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d682da4983 Ledger: verdict of the slots/adapt-every group A/B rerun (PS +1.48 % decode, PW +1.43 %, placement-class, no default change)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 03:04:09 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f6bd8722b1 A/A twins (PH, QQ) in the reruns, A/A control stub, reserve-240 256k retry; ledger: guard incident
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 01:13:23 +01:00
Pavlo Ratushnyi 68d7c58fed Merge branch 'main' into claude/prefill-latency
# Conflicts:
#	docs/experiments/step-ledger.md
2026-11-12 01:13:07 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 50b1ac7ab4 ledger: group e2e A/B of the prefill/host set (TTFT -144..-205 ms/request, fixed), vanilla per layer, placement gate and VRAM floor verdicts
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 01:11:11 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 248a39d612 Ledger: R8 identity and bitwise probe pass, delta pending rerun; H4 256k PS floor 212 MiB (not passed)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 01:10:57 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a77d60afba ledger H4: global rank fill against the uniform layer quota (VRAM share +1.1 points, ms/round -5.2 %), cross-layer potential ~0
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 20:19:19 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8a4cb5b18f Ledger: PcieAuto closed (vanilla descending policy loses with our cheaper PCIe leg; optimum share >= 0.55)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 19:45:13 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 0d4d8d67c1 A/A guard for the spd A/B arms (effective switches vs exports, per-arm profile via SPD_ARM_PROFILE); ledger: PB/PN is valid (binaries with the old profile)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 19:08:48 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f850577875 Ledger: device section deltas do not carry into the round while the critical path is host/tier (stage A/B PB vs PN)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:46:17 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 02c784249a Merge claude/speed-vs-strata-08143a: PcieAuto (off), tail fusion HEAD_CHAIN_BATCH (off), D1/D2 default on, hit-share-gap analysis
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:43:42 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ff6667d89b Merge claude/prefill-latency: hit-gap analysis, per-layer tier counters
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:43:41 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 290dd06300 Tail head-chain switch: probe, identity and window stubs, variants QP/QT; ledger R6/R7 proved-equal, R8 fixing
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:32:48 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 0c9aad0d23 Ledger H4: 256k pass criteria and threshold from the memory owner
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:22:39 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 cb60ba8e49 Ledger: H1/H4/H6/H7 from the hit share analysis, H4 correction (variant H was a real gain), 256k precondition for fewer reserves
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:22:06 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 0cb24b840c Final stage group A/B stub PB vs PG (n=5), variant PG (PN + D1 + D2); D3 retry key in the ledger
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 16:54:38 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d635a73c9a Enable LELEKA_SM120_DOWN_SUB16 (D1) and HITS_IN_COMBINE (D2) in the 5090 profiles (identity and probes PASS, window deltas); D3 WAIT_M_ROWS is a measured loss, stays off; ledger
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 16:52:52 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c548f0939c ledger V5/V7: non-resident experts per layer from the tier counters (early layers carry more), plan
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 16:24:25 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 76e09a4570 Merge claude/speed-vs-strata-08143a: S11 default, S9/U5a windows report, D1-D3 switches
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 16:21:11 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8736d8ceb7 ledger Q5: ring prefetch after the slot-wrap fix (identity PASS, section delta negative, stays off)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 01:38:56 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 622c16e15d Enable LELEKA_SM120_COMBINE_VEC4 (S11) in the 5090 profiles (identity PASS, window delta -0.016 ms a graph); S9 and U5a stay off, ledger
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 01:25:31 +01:00
Pavlo Ratushnyi b4ef2eec47 Merge branch 'main' into claude/speed-vs-strata-08143a 2026-11-11 01:22:25 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b8bcd7e777 FFN switches D1-D3: probe, identity and window stubs; ledger rows and job names
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 01:19:31 +01:00
Pavlo Ratushnyi ef128c3b04 Merge claude/speed-vs-strata-08143a: sm_120 defaults, verify side streams, fused commit, step ledger, upstream microbench
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

# Conflicts:
#	deploy/rust-runtime/profiles/rtx5090-32g-file.json
#	deploy/rust-runtime/profiles/rtx5090-32g-gguf-ple.json
#	deploy/rust-runtime/profiles/rtx5090-32g.json
#	docs/experiments/step-ledger.md
2026-11-11 01:18:50 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5267c9d538 Ledger: V2 device part at parity, V4b closed by V4a, K11 per layer, S7/D2/D3 rows (FFN phase analysis)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 00:41:16 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 917289a5e5 Ledger: S11/S9/U5a identity results, probe run 2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 00:04:55 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 318190a55c ledger Q6: raw batch copy driver check passes on the 5090 (719 is test-specific)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 23:06:53 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 94185828f9 ledger: refill batch copy result (bytes-bound), prefetch first GPU run fails
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 21:49:18 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 cdb0958b6d ledger: Q6 refill deferral on top of the default set (no gain), batch copy plan
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 20:36:21 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4bcf913773 ledger: U6 expert-major bank copy (deferred), U7 fused int8 prompt experts, Q2/Q3 against the VANL logs after the stream threshold
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 20:23:03 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 1799aee147 profiles: the expert stream starts at 1536 rows in the 5090 profiles (chunk hashes identical, prefill.read -180 ms at 1.5-4k tails); ledger Q4/Q5 ring findings
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 20:18:59 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 137d2899a6 Speed program: ledger counts
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 19:23:34 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 fc1e94ea55 Speed program: window variants CP/CS/CH/CD/CZ, ledger S11/S9/U5a built and queued (probes, identity, CUPTI windows)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 19:23:28 +01:00
Pavlo Ratushnyi 4a1845aedb Merge branch 'claude/u5a-gr-down-fused' into claude/speed-vs-strata-08143a
# Conflicts:
#	crates/cuda-driver/ptx-sm86/MANIFEST.json
#	crates/cuda-driver/src/original_verify_window_sm120.rs
#	scripts/gpu-bringup/extra-seal-plan.json
2026-11-10 19:15:36 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 0518311567 verify window: LELEKA_SM120_GR_DOWN_FUSED (hc split + tiled down projection as one launch, step U5a), off by default
New sealed sm_120 asset sm120_gr_down_fused.ptx (nvcc 13.2.86): leleka_gr_down_fused_t2w8 replaces
chain_gr_split + chain_gr_down_t2w8_nb4 (96 launches fewer per verify graph). The block stages R' * w_norm of
its two tokens into shared memory, adds the sum of squares in the split kernel's order, scales with rs and
runs the down kernel's dots; the operations and their order are those of the two kernels (bitwise by
construction; upstream's gr_down_v3 sums in another order). A no-op, said once, without the chain gr pair.
Planner, switch resolution (Sm120Switches, GrConfig.down_fused), unit tests, model-free probe
tools/gr-down-fused (not run: no GPU). Not measured. Microbench harness: the NaN outputs were a stream race
between the poison memsets and the kernels, fixed; inputs are checked finite.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 19:14:46 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 456f5336b1 Speed program: ledger V5/V7 analysis of the flag waits (no kernel overhead to remove; the loss is the CPU leg's arrival), cupti_flag_waits.py
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 18:55:34 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 79cec246cb ledger: section deltas of check merge, park fast and graph reuse (profiled boots)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 18:04:17 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b56e5afb58 Speed program: fused commit graph ON in the three 5090 profiles (identity P2/P3 PASS, section 509 -> 125 us); ledger closes S6/O11
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:46:11 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 9b9f736bff 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 <noreply@anthropic.com>
2026-11-10 17:34:44 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 deb0d73489 Speed program: ledger, QSA prelude set A/B (no regression) closes K6/K1/S10; fused commit window 509 -> 125 us (S6/O11 wait for identity)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:04:56 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 818c604ab2 Speed program: ledger, set A/B of the side branches (M against U): decode +2.11 %, no regression; V3a/V3b/V4a stay fixed
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 14:44:42 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c7920322f3 Speed program: ledger C2v, correct four kernel-time cells
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 12:24:11 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e4c9208570 Speed program: ledger section C2v, the CUPTI windows of the new verify switches against CL.2 and VANL
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 12:23:58 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 edad5e7737 Speed program: QSA prelude on in the 5090 profiles (identity P2/P3/P8, section delta per T); ledger K6/K1/K7/K7a/S10/U3/O7 with the window results; PB/ZQ variants for the set A/B
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 12:13:58 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c499df4141 Speed program: ledger U5 measured on the 5090 (upstream hc down faster by 3-6 us a launch), new row U5a
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 10:17:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 66d23c594e ledger: group A/B of check merge + park fast + chain, park ASYNC rerun, GDN-TC logit gate verdict and profile
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 10:15:31 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 62695ebd4b profiles: check merge, parking fast and decode graph reuse are on in the 5090 profiles (bitwise identity PASS)
Teacher-forced identity on night5-long-256k (job host-draft-switches-teacher-forced-identity, A/A floor): top-16 logprob rows 2057 of 2057 and draft trace 1036 of 1036 lines identical for each switch against shipped. Section deltas: Q7 -97 ms per request, B3 FAST -2.0 ms, O8 step graph 114 to 105 nodes. The profile allow-list accepts LELEKA_PREFIX_* and LELEKA_DECODE_*. Not on the laptop profile (the check-batch asset has no sm_86 companion).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 05:26:56 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 6cf6d35c8f ledger Q7: reuse works on the GPU (assemble+disassemble 118 ms to 20.7 ms per request, 29 of 30 reused)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 04:24:20 +01:00