Pavlo Ratushnyi and Claude 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 Ratushnyi and Claude 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 and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude Sonnet 5.5
2f8379ecd4
Add LELEKA_ORIGINAL_SERVE_PCIE_AUTO: Strata's PcieAuto share controller (opt-in, default off)
...
Port of generate.cpp PcieAuto (0.2.6) as a pure policy (strata_pcie_auto.rs): the PCIe share of the
missed experts is link / (link + 1.85 x CPU-pool byte rate), read from the pool's wall time per
CPU-computed expert over windows of 48 then 96 and 96 decode rounds, rounded to 0.05, kept in
0.10..0.60, dead band 0.025, at most three updates. Wired into GpuExpertPool: the share of
split_group comes from the controller instead of the constant; the pool time is the worker pool's
dispatch of each direct group (group-open clock, no new Instant::now). With the switch off the
plan is unchanged. Placement-class change: CPU and GPU round differently.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-11 17:13:27 +01:00
Pavlo Ratushnyi and Claude 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 Ratushnyi and Claude Sonnet 5.5
52a5829653
Merge claude/speed-vs-strata-08143a: D1 DOWN_SUB16 and D2 HITS_IN_COMBINE default on, D3 off, windows report
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-11 16:53:26 +01:00
Pavlo Ratushnyi and Claude 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 Ratushnyi and Claude 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
Pavlo Ratushnyi and Claude Sonnet 5.5
44059bdf04
profile-only estimate of cross-layer slot reallocation gain (tier.cross.*), no behaviour change
...
Files: crates/engine-qwen35-cuda/src/qwen_forward/original_serve_residency/cross_layer_potential.rs (new),
original_serve_residency.rs (module line), original_serve_residency/source_spans.rs (one call in queue_swaps; speed-session file, profile-only hook permitted by the orchestrator).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-11 16:29:59 +01:00
Pavlo Ratushnyi and Claude 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 Ratushnyi and Claude Sonnet 5.5
8ff6ae6b25
prefill A/B driver: variant Z (complete default set) and V5/V7 probes Q55/Q35/QK (PCIe share, PCIe mode)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-11 16:24:04 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
31b00093b9
Stage group A/B stub PB vs PN (n=5), variants PN and PF in the window job
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-11 16:24:02 +01:00
Pavlo Ratushnyi and Claude 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 Ratushnyi and Claude Sonnet 5.5
071db5ed41
Merge claude/prefill-latency: tier per-layer profile counters
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-11 16:21:10 +01:00
Pavlo Ratushnyi and Claude 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 Ratushnyi and Claude 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
0dbb4db2f6
Merge branch 'claude/s11-s9-u5a-windows' into claude/speed-vs-strata-08143a
2026-11-11 01:24:44 +01:00