Commit Graph
2521 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 adc8af982c Untraced launch-latency microbench for a verify-sized CUDA graph (plan 6b step 1) and its holder stub
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:47:03 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 97d548e2b8 Between-graphs host breakdown (4.30 ms per round, stage by stage): between_graphs_report.py and ledger
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:43:46 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ee51d31ce8 Runner: several CUPTI windows per session (SPD_TRIG_LINES), release layout tag (SPD_TAG), variants RP/RC/RD/SP/SC; stub for critical path step A
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:33:04 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d1ff767ccd K7/K7a closed as parity (GDN role and mixer phases equal vanilla in the current profile); critical_path_report.py gets --mode VANL; ledger
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:29:07 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8f31ba11e7 Critical path of the verify graph: critical_path_report.py (host wait per layer, mixer/FFN phases, reach of a device saving) and the first read of the 67k windows; ledger
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:26:19 +01:00
Pavlo Ratushnyi f5956bfa2c Merge main into claude/speed-vs-strata-08143a
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/experiments/step-ledger.md
2026-11-12 09:45:27 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f39bd491c6 Ledger: 256k floor with decode reserve 240 not passed (min free 306 MiB, 12,384 slots, 0 OOM, 3 accepted)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 09:43:56 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8dc4e2f6dc prefill group A/B tooling: pf_ab_job_q.sh (release layout, QN/AT arms, arm guard, 1 s VRAM sampling) and the quota-no+PCIe0.65 vs default 5-pair stub
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 09:12:08 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 36240698b6 ledger H4: correct ttt wall attribution wording
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 09:08:27 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 646c038d92 ledger H4: pinned-release e2e (default, stage-set-off, candidate quota-no+PCIe0.65); CRM 0/3 is an acceptance-version mismatch (strict vs reaccept-1 board check), stage set not responsible
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 09:08:20 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 3bd27e6c2c Ledger: verdict of the stage group A/B rerun PB vs PG (ms/round -0.09 ms inside A/A noise; sections not shown on the critical path; K7 waits)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 07:04:10 +01:00
Pavlo Ratushnyi e5a6c8054c Merge claude/speed-vs-strata-08143a: tail HEAD_CHAIN_BATCH default on (bit-identical), R8 verdict 2026-11-12 06:07:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 712b7edd0f Enable LELEKA_SM120_HEAD_CHAIN_BATCH (R8) in the 5090 profiles: bit-identical, tail section -27 us a graph against A/A noise 0.3 us; ledger
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 06:06:24 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 620c352bd0 e2e release tooling: package check by PROVENANCE git_commit (leleka version prints commit unknown); ledger note
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 05:44:31 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 64d9e805fd ledger: CORRECTION - stage 7 / bisect / first candidate e2e ran the stale shared package 17e3729442 (void); static-check statistics; release-pinned e2e stubs and CMP_OURS_TAG tooling
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 05:07:07 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 54ce652df6 ledger H4: candidate 256k VRAM floor PASS (338 MiB, 0 OOM); candidate e2e queued behind the CRM bisect
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 04:25:23 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 aa79051304 Ledger: 256k VRAM floor of the quota=no + PCIE_FRAC 0.65 candidate passed (min free 338 MiB, 0 OOM, 3 accepted)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 04:25:05 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c8bfd4b8cf CRM bisect step 1 stubs (stage-set keys dropped)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 04:07:15 +01:00
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 d08e101185 candidate e2e stubs (EXPERIMENTAL quota=no + PCIe share 0.65) and profile-capable codex compare job; not queued until the 256k VRAM floor passes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 03:26:13 +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 313425eba8 Merge branch 'main' into claude/prefill-latency 2026-11-12 03:24:35 +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 69c72e3dca experimental profile file: global rank fill + PCIe share 0.65 (not a default, not a built-in)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 01:13:55 +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 Ratushnyi 3f98077ec0 Merge claude/speed-vs-strata-08143a: A/A guard fix, 256k floor stubs, ledger R8/H4 2026-11-12 01:11:20 +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 43467fd7b0 256k floor stub for the quota=no + PCIE_FRAC 0.65 candidate (arm profile via QC_ARM_PROFILE_SET in a copy of the q245 codex job)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 01:10:03 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 6b613b1a85 A/A guard: engine-log switch line is checked after the arm ran (it appears with the first request); at ready only the engine-environment line. Rerun stubs for pb-vs-pg, slots/adapt, tail CUPTI windows
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 01:09:13 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 544ffac4d3 256k PS stub: summary lists the expert cache (N slots filled) and VRAM-free lines for the candidate comparison
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 20:22:16 +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 580ce0adeb prefill A/B driver: PCIe share probes Q65/Q75
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 19:44:22 +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 42c7998ff5 spd_ab_job: record the effective engine switches per arm (A/A guard: a binary-embedded profile may override shell env)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 19:06:06 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ebdf6750a2 prefill A/B driver: variants override the built-in profile engine_env (--profile FILE) instead of the shell env; A0 = stage-start state; GLP via profile override
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 19:04:40 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ffa736a782 256k stub for the PS slot lever: Codex q245 session through the release package with alias + reserve 130, 100 ms VRAM sampler
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:52:03 +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 Ratushnyi 26dd97c994 Merge branch 'claude/tail-fusion' into claude/speed-vs-strata-08143a 2026-11-11 17:28:23 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d1ad19e765 Tail fusion: LELEKA_SM120_HEAD_CHAIN_BATCH (off), residual write and head mix of all rows in 6 launches
Analysis (docs/experiments/verify-tail-and-gaps.md, CUPTI windows CP.1 / CL.2 / CY.1 against VANL): R6 is the
single-stream control (2035 gaps, 211 us) against VANL (1194, 119 us); with the side streams LEL has 1124 / 123.7 us,
residual +0.006 ms. R7 has no gap. R8 (+86.5 us at LEL's T mix) is the hyper-connection chain 31.2, the head matmul at
T >= 3 38.4 and the greedy pick 18.0.

The switch batches the 6 T launches of the tail (mtp_full_native_write plus the five lm_head_mix kernels a row) into
6: new sealed sm120_head_chain.cu/.ptx (final write, head norm, pre-final mix with the row as grid.y, compiled with the
--use_fast_math flags of the originals), the existing multi-column bf16 gemv, mtp_full_down_silu over the contiguous
rows. Bitwise by construction (same bodies, same per-column fma chain). Flag in GrConfig::head_chain_batch like U5a;
HEAD_MIX_MULTI untouched. Model-free probe tools/decode-sm120/sm120_probe_head_chain.cpp (built, not run), report
script scripts/e2e/codex/speed/verify_tail_report.py, 15 unit tests (288 original_verify tests pass).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:27:58 +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 4770912f1a Env-only tier levers group A/B stub (PS slots, PW adapt every 2) after the hit share analysis
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:21:22 +01:00
Pavlo Ratushnyi 3afdeb346c Merge branch 'claude/hit-share-gap' into claude/speed-vs-strata-08143a 2026-11-11 17:19:59 +01:00