Commit Graph
543 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 a838d0abe7 Speed program: SIDE_QSA and SIDE_SHARED on by default in the 5090 profiles; ledger V3a/V3b/V4a/V4/S3 fixed (section delta + identity)
Owner method: a step closes on a measured section delta plus identity; the set A/B (spd-sqa, M against M+QSA+shared) checks the set for regression.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 21:14:37 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 35040ea9a6 Speed program: ledger V4a A/B (ab-sqe n=10, not significant, stays off), variant U for the set A/B
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 21:10:51 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4c8919610a Speed program: ledger V3b/V4a/V4 section deltas from the CE/CN/CT windows (spd-sqw)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 20:13:02 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4f310457ce Speed program: SIDE_MIXER on by default in the three 5090 profiles (identity PASS, decode +1.39 % paired); ledger V3a/V3b/V4a identity
Teacher-forced gate spd-sqid1: P2 (SIDE_MIXER), P3 (SIDE_QSA), P4 (SIDE_SHARED) against P1: 2057 top-16 logprob rows bit-identical, 0 argmax flips, draft trace 518/518 identical. The A/A arm did not open (InputAllocation) in any process, so no A/A floor.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 18:37:48 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 015b98ec43 Speed program: ledger V3a, A/B SIDE_MIXER (ab-sm, n=10): decode +1.39 %, identity pending
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 17:32:20 +01:00
Pavlo RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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
Pavlo Ratushnyi 2e65ec2bae STRA-338 S23: record the identity and gate results in output-event.md, correct the case count (37 Qwen3.5 and 29 gpt-oss scripts) 2026-11-06 21:30:13 +01:00
Pavlo Ratushnyi 8b5d5cb281 STRA-338 S23: remove the readers OutputDecoder replaced, move their tests, document the output flow
Removed: decode_generation_noted and DecodedGeneration (gateway-domain), decode_generation_with / decoded_items /
decode_generation (strata-control), ReasoningStream and the drain_utf8 copy (their code lives in output/). The test ids are
kept: reasoning_marker_and_unicode_split_at_every_byte and the unclosed-reasoning test now read through the output decoder,
the utf8 test calls the domain drain_utf8; two unit tests of the moved pieces are added to gateway-domain.
docs/architecture/output-event.md: how output flows for each family, every site that asked for the family (before and after),
the canonical type, the identity proof, the behaviours kept on purpose and what is not done and why; hexagonal.md and
tech-debt.md point to it. architecture-baseline.json tightened with --update-baseline (dyn-trait: gateway-domain 5 to 4,
strata-control 14 to 12; nothing raised).
2026-11-06 21:18:35 +01:00
Pavlo Ratushnyi cbc1a9587a STRA-338 size-fn: record the test parity result 2026-11-06 19:23:55 +01:00