Commit Graph
273 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 72813d8be8 Merge main into claude/speed-vs-strata-08143a
Rust port / port-fast (push) Failing after 41s
Rust port / port-linux-tests (push) Failing after 36s
Linux / verify (push) Failing after 53s
Linux / keyless-cuda-gate (push) Skipped
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Linux / release-cli (push) Skipped
Desktop foundation / core (ubuntu-latest) (push) Successful in 5m40s
Rust port / port-oracles (push) Failing after 43s
Rust port / port-typecheck (push) Successful in 1m10s
Product / product (push) Failing after 14m29s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 19:45:45 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 0753b0f8ab Ledger: untraced launch latency (not 1.3 ms, early launch dropped); step A first launch failed on profile key validation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 19:45:42 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 12826daba9 docs: kernel/pool bench result (pool linear 63 us per expert, 800 us thread time against 377 us of the Original one-thread kernel); second CPU-only stub (one thread without spin, window amortisation)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 19:41:17 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b3f4cb2b4c Ledger H4: confirmation e2e of the owner default (release 83bdd85bb4, KAR): CRM decode 184.2, ttt 181.7, CRM 2/3 relaxed acceptance, 0/3 strict
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 19:38:23 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b9d652df56 kernel_ab pool-window: the real CPU expert pool on a large replicated bank, HOT against COLD windows; stub for the kernel resident/streamed and pool-window benchmarks (CPU only); notes on the vanilla trace and the existing tasks-per-thread knob
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 18:54:53 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 78d148dd31 docs: CPU expert pool thread trace result (time is linear in the expert count, about 76 us per expert; pool overhead under 10 %; straggler = task granularity)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 18:47:05 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 06720e6c1f Ledger H4: 243k group A/B (real Codex cell, 39 requests): quota=no + PCIe 0.65 decode +8.20 % (CI +7.12..+9.28), A/A floor +0.21 %, min free VRAM 340 MiB
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 18:18:49 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5da69bc784 Ledger H4 + deploy.md: KAR vs GGUF is only the PLE source (same IQ3_S experts, 2.047 MB each, PCIe at most 144 MB per round); GGUF e2e taken off the queue
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:50:34 +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 Ratushnyi 3800bbe792 Merge claude/speed-vs-strata-08143a: stage 6b critical path, K7/K7a closed 2026-11-12 16:31:48 +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 RatushnyiandClaude Sonnet 5.5 83bdd85bb4 deploy.md section 4 and ledger H4: tier layout default (owner 2026-11-12)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:23:57 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c2db192a04 Ledger Q5 / ring-prefetch doc: paired A/B, small-tail prefill +13 % slower, identity 31/31, stays off
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 13:22:41 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 9f3e84b996 Ledger H4: group A/B quota=no + PCIe 0.65 vs default, 5 pairs: decode +8.2 %, ms/round -7.2 %, A/A floor +0.2 %, VRAM floor 478 MiB
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 11:09:30 +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 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 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 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 350ff9f070 Hit-share gap research: slots (about 0.9 point), window width (0.55), per-layer quotas (second order), start of request; ranked experiments
Read-only analysis of the surviving replay and CUPTI logs on the 5090 server: VRAM hit share of ours against vanilla per cause, per-layer quota
evidence, start-of-request curve, tier knob A/Bs recomputed, ranked list of changes. Adds hit_share_gap.py (server) and hit_share_layers.py (local).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:19:34 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 188abdd27e docs: causes of the VRAM hit-share gap to vanilla (ledger C6 H1-H7), sizes, gates, next experiments
Read-only analysis of existing logs and code; no code, GPU job or ledger change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:17:07 +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 ee9264c528 FFN switches D1-D3: CUPTI window section deltas (D1 gain, D2 small gain, D3 loss) and report script
Reads the five independent windows CP/WD/WH/WW/WZ of request 29 (read-only on the server) per window rows T:
D1 DOWN_SUB16 -0.21 ms per graph on F layers (resolved at every T), D2 HITS_IN_COMBINE -0.043 ms per graph
(tail after the CPU rows, resolved), D3 WAIT_M_ROWS a resolved loss (kernel floor 1.4 us + 0.43 us per block).
ffn_window_report.py extracts one trace per call (stdlib, lct.py) and prints the report with the noise estimates.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 16:50:56 +01:00