Commit Graph
585 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 bcbfa2c994 Group A/B driver: package arms (PF_ARMS, one release per arm, binary digest guard); two-binary draft-round identity script for changes without an environment switch
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 20:09:16 +01:00
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 48eef5508e Arm guard: profile engine_env keeps only the prefixes the release accepts (LELEKA_SPEC_STATS stays in the shell env); rerun stub for critical path step A
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 19:44:47 +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 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 4c84a63c6d Pool-layer job reduced to the old placement (candidate is hex-finish's PT block); step A without the SP/SC step-profile sessions
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:52:50 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a2cf9aff75 Runner: SPD_PREPARE for a new release layout, pool-layer variants TP/TC; stub for the pool-layer trace at 67k
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:52:04 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b5b6ed6988 prefill group A/B: D/PT arms (owner default, pool thread trace) with a pool-layer line guard; pool trace stub for release 0ac612d2df
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:49:32 +01:00
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 0ac612d2df CPU expert pool: per-phase thread timers behind LELEKA_POOL_TIMING=layers (wake, last, busy, tasks, task times) and a pool-layer engine-log line per layer window; offline report script; instant-now baseline lowered 30 -> 27
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:45:16 +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 71e42ec137 Merge branch 'main' into claude/prefill-latency 2026-11-12 16:33:46 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 da3b3fe697 prefill: GGUF-PLE e2e (rtx5090-32g-gguf-ple, owner-default release): cmp_codex_job_gguf.sh and stubs r1-r3 + report
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:33:22 +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 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 8232f62790 prefill: 243k group A/B stub (candidate vs old default), confirmation e2e stubs for the owner-default release, drop the experimental profile file (now the built-in default)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:28:34 +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 dab1177a97 prefill group A/B: ring prefetch (RP) vs default (AD) 5-pair stub; q script gets RP/AD/ADT arms with a RING-PREFETCH / RING-REFUSE guard
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 11:13:24 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f04a143621 pf_ab_job_q.sh: arm guard reads the meta: config line (the last meta line is the cache line)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 09:47:42 +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 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 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 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 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 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 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 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 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 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
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 984c419679 prefill A/B driver: variant GLP (global rank fill instead of the uniform per-layer quota, profiled)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:18:01 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 60cf7b0018 PA variant and stub: PcieAuto group A/B (PG vs PA)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:15:29 +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 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