Pavlo Ratushnyi and Claude Sonnet 5.5
11bdb54666
prefill: the MMQ identity row table gets the stream-k fixup's over-read margin (ledger U3, upstream f225844d1); results unchanged
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 22:57:41 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
79a7d5ed05
ledger: upstream items U1-U5 (GDN tensor-core scan, batched PLE, MMQ row-table margin, flag B, adaptive-copy range) checked against our port
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 22:53:13 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
4130f9c366
decode graph reuse (Q7): design note; cause is ownership, needs a re-arm API in the verify bank
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 22:51:07 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
7f2612cd42
ledger: rows of the host/prefill part labelled by meaning, queued jobs renamed (job-name map), vanilla probe removed
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 21:54:32 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
9ab391e8dc
ledger: rows A1-A3, Q1, Q4-Q5, O9 updated and B3-B5 added for the host/prefill part (one register)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 15:23:24 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
9ec9eca26c
Merge branch 'claude/speed-vs-strata-08143a' into claude/prefill-latency (the step ledger)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 15:23:02 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
c2f7d033dc
prefill: empty-request probe (pf_probe.py, pf_van_probe.sh), pf_ab_job.sh PF_PKG/PF_CLIENT and the chain-pipeline variants, step-ledger rows of the host/prefill part
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 15:22:31 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
3faad53b60
Speed program: step ledger reordered along the request pipeline (request, prefill, decode round)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 15:07:08 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
d5fd270f81
Speed program: step ledger (every gap to vanilla per step of round and request), counts tool
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 15:05:58 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
a310533186
Speed program: CUPTI kernel-level comparison LEL against VANL (67k window): the gap is the missing parallel branches in the verify graph
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 14:36:19 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
9c77d603d7
single-copy RAM: refuse a full sealed memfd for a ple_only profile, lab holder seals sparse, design page
...
The 2026-11-09 server reading (Shmem 58.6 GB, MemAvailable 7-8 GB) is the lab holder's full 55.3 GB memfd
(single-copy-holder.sh sealed without --sparse-ple), not the sparse memfd of leleka up. The supervisor
now checks the allocated bytes (st_blocks) of an inherited descriptor against the profile and refuses a
ple_only profile on a full copy (LELEKA_ALLOW_FULL_MEMFD=1 overrides, logged); the holder script seals
--sparse-ple by default (HOLDER_MEMFD=full keeps the old form). Design, candidates and the ordered
measurements: docs/design/single-copy-ram-2026-11-09.md. No GPU/server run; identity/A-B pending.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 11:13:17 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
4a633f70df
Speed program: lever 3 variant H clean paired result (e2e +1.06 %, not significant)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 01:15:06 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
d2108576a8
Speed program: lever 5 variant R clean paired result (e2e +0.56 %, not significant)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 23:43:25 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
6d955f88dc
Speed program: kernel-level status of the vanilla sm_120 set and the remaining missing items with estimates; CUPTI windows queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 21:47:12 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
e7dde84ea9
Speed program: time-weighted hit-rate gap and gap by context from the real Codex sessions (ceiling of the hit-rate levers 1.8-2.6 % of task time)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 21:40:39 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
974b310a65
Speed program: decode miss leg, draft and quiet windows from the profile lines (CPU leg serial and DRAM-bound, equal to vanilla per expert; draft cost follows window width)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 21:04:28 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
7bee3eb157
Speed program: what keeping the recorded verifier graphs between requests needs (cost 83 ms/request, gain under 1 % e2e)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 20:53:48 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
6d782b0e15
Speed program levers 3 and 5: job script leaked the variant variables (first R and H pairs invalid, reruns queued); small-tail prefill profile: 72-80 % is moe.ring
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 20:14:29 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
9c984ba74b
Speed program lever 3: variant G opened the same 12192 slots (null experiment); variant H (reserves lowered) queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 14:49:37 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
b8cc9ce1e9
Speed program lever 5: fixed-cost fit corrected (581 ms + 0.134 ms/token)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 14:37:44 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
743f742b32
Speed program levers 4 and 5: the 106k draft subset is already bound in the product; fixed per-request prefill cost from the profile lines; variants Q and R queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 14:37:32 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
de51a07f91
Speed program: fix cell count in the split note
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 14:31:27 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
ede9542fd9
Speed program: per-request split of the real-session gap LEL vs VANL (no gateway cost: 85% decode, 16% prefill) and session_split.py
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 14:31:27 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
1e258fe469
Speed program: lever 7 gate on n=7 (not passed on rounds), lever 6 result (no gain), lever 3 A/B variant G queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 12:31:48 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
d6ed4931f1
Speed program lever 7: owner-gate correction, spd-g cells re-accepted with the fixed accept.py (CRM 2 of 3 at 56/56; r3 fails its own e2e test)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 08:38:17 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
b7ff47f044
Speed program lever 2: closed with no change (CPU leg equals vanilla per expert; the excess is the miss count, lever 3); lever 6 and lever 7 logit gate queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 08:32:59 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
a2bc720b99
Speed program lever 7: fix baseline ttt rounds in the gate table
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 08:32:07 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
9f395d9043
Speed program lever 7: final replay result (+12.6% decode) and the owner gate on real Codex sessions (CRM 0/3 at 56/56: stays experimental, off)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 08:32:02 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
db765f833e
Speed program lever 7: interim paired result (+13.2% decode, experimental) and the owner-gate Codex runs queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 04:11:27 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
5c0e4187ad
Speed program: levers 2 and 4 from existing evidence, lever 7 paired A/B queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 04:10:45 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
7941347ee9
Speed program lever 1: identity gate PASS on the product-tree test binaries rt-c9 and rt-main
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 04:10:45 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
cd83f843bc
Speed program lever 1: sm_120 ATTN_DAILY + GU_SWIGLU on in the 5090 profiles (teacher-forced identity PASS, decode +1.85% paired)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 04:10:45 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
bfa7b381d3
Speed program lever 1: live-replay identity floor is 10/30, teacher-forced gate queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 04:10:45 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
812b82ff7e
Speed program lever 1: final 10-pair A/B (+1.85% decode) and the frozen-placement identity job
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 04:10:45 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
c523f70ce0
Speed program: lever 1 interim (5 pairs) and the identity-gate finding
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 04:10:45 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
13f3adb482
Speed program: paired A/B tools (lossless sm_120 variant, output hashes, report) and lever 1 queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 04:10:44 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
c4e0f31e9f
Speed program phase 1: ranked levers for the decode/prefill gap to vanilla Strata
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 04:10:44 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
02dde7f122
STRA-338: naming rules and checklist (docs/architecture/naming.md), domain glossary (docs/glossary.md)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 00:51:42 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
ac60df040f
STRA-338: architecture gate forbids new mechanical file names (impl_*, *_fn, numbered), baseline lists the 964 existing; rustsplit names modules after what they hold
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 00:50:17 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
4b04c24981
STRA-338: limits gate gets the params metric (max 5 parameters, self counted): scanner, diff gate, census baseline, tests, doc
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-07 23:54:40 +01:00
Pavlo Ratushnyi
e4993d1516
STRA-338 S25: preview execution path behind the default-on cargo feature preview-path
2026-11-07 18:23:52 +01:00
Pavlo Ratushnyi
40896ba217
STRA-338 S24: peel the pure host-side models out of cuda-driver into leleka-cuda-model
...
New L1 crate crates/cuda-model (leleka-cuda-model, forbid(unsafe_code), depends on leleka-context only) holds:
Error/Result with Display, DenseFormat, RoutedFormat, ProjectionKind (+ layout/alignment/required_modes), ProjectionSpec,
the Bf16/Q5K/Q6K projection shapes, bringup_trace_enabled, and the modules serving_context, host_profile, command_profile,
original_mtp_loader, original_prefill_schedule, qsa_prompt_attention_select, original_expert_slots, native_flash_attn,
s_gemv_legacy, device_arena, mmq_original_prefill_misc (moved with git mv; code unchanged apart from pub visibility and
#[inline] on the tiny cached-switch readers, host_profile::add split into an inlined gate and a cold body).
leleka-cuda-driver re-exports every item at its old path, so no use path in the driver, engine-qwen35-cuda or
native-parity-bench changes. Tests moved with their modules; they read the .cu sources and oracle fixtures of the driver
through driver_source!; the one loader test that needs the driver's session geometry stays in the driver.
Housekeeping: workspace members/default-members, Cargo.lock, architecture.json (L1), hexagonal.md, ci-coverage.json,
check-local.sh, port.yml, linux-tests/run.sh, AGENTS.md. architecture-baseline.json: the source ratchets of the moved code
change crate key (dyn-trait driver 56 to 49 + model 3, env-read 72 to 67 + 5, process-global 110 to 99 + 11), regenerated
with --allow-increase for the new keys only; per-pattern totals do not rise. limits-baseline.json is unchanged: no moved
function is over a limit.
2026-11-07 17:40:24 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
2ad4b61622
Merge origin/claude/hexagonal-size-gw into hexagonal-integ (allowlist taken from size-gw: 1 entry)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-07 09:12:50 +01:00
Pavlo Ratushnyi
263cd08650
STRA-338 S23: record the test parity of the second review (0 missing, 0 changed, 38 new; 552 ok)
2026-11-06 23:45:19 +01:00
Pavlo Ratushnyi
906b64ae2d
STRA-338 S23: output-event.md after the second review: what adding a family touches, the stronger golden, the worker metrics of an early cancel
2026-11-06 23:37:58 +01:00
Pavlo Ratushnyi
1e7fe65e20
STRA-338 size-fn2: size-fn record names the pure check_* predicates, the renamed ones and the open single-responsibility items
2026-11-06 23:08:05 +01:00
Pavlo Ratushnyi
04130c7b54
STRA-338 S23: rustfmt and clippy fixes, record the test parity numbers (0 missing, 0 changed, 27 new; 541 ok)
2026-11-06 23:06:51 +01:00
Pavlo Ratushnyi
1e88437cb8
STRA-338 S23: correct output-event.md after the review: the decoder types, the stronger golden recorded on the code before S23, the behaviour changes
...
Corrected: the per-token decoding claim (new only for the structured-output stream on Qwen; the reasoning stream already
decoded per token, the non-stream answer still decodes at the end in spawn_blocking); the post_decode stage now times only
finish and is not comparable with older numbers (docs/cp-latency.md, scripts/cp/summarize.py); the list of behaviour changes
(debug copy in the buffered stream, the order of the generation-failure line and the debug copy in the non-stream answer,
flags read at stream start, a decode error at the offending token in the structured stream, a generation ends once);
the identity proof (130 cases, 260 captures recorded on 08afbf216 , ids with suffix, multi-byte vocabulary, timing tests).
tech-debt.md and hexagonal.md follow.
2026-11-06 22:53:20 +01:00
Pavlo Ratushnyi
8ade00af06
Merge branch 'claude/hexagonal-integ' into claude/hexagonal-size-gw
2026-11-06 22:14:54 +01:00
Pavlo Ratushnyi
f1723b582d
STRA-338 size-fn2: allowlist 133 -> 1 entry, baselines tightened, cpu-sys attention test helpers moved to tests/attention/kernel_checks.rs (file back under 400 lines, test ids unchanged), size-fn record of pass 2
...
Census of these crates: production fn>30 17 -> 2 (igpu gemm WGSL, OpenVino::load FFI table), cx>10 11 -> 0, wide 449 -> 38
(33 USAGE lines of the deploy --help text, 5 WGSL lines); test fn>30 122 -> 0, cx>10 3 -> 0, nesting>4 4 -> 0, wide 150 -> 0.
2026-11-06 21:52:37 +01:00