Commit Graph
2263 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 0a294bc73c prefill: pf_memstat.sh (host and engine-process memory counters per session), pf_van_window.sh (vanilla VANL window with the same counters); pf_codex_job.sh uses the sampler
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 10:55:33 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8e66a516de prefill: pf_codex_job.sh keeps the whole-session profile lines (prof.log) and samples host memory counters every 0.25 s (memstat.csv)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 10:52:16 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 91481f04f8 prefill: pf_codex_job.sh, a full Codex session block of the prefill-latency package (own state and prefix; the engine environment per variant)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 01:50:48 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a6d1a19786 prefill: the copy ring accepts a schedule with more slot events than the arena ring (the 512-row loan rung carves the 8-slot ring; its chunks failed with InvalidProjectionShape)
The persistent OriginalMmqCopySchedule is opened with the full prompt layout's ring (384 events); Ring::new demanded schedule.ring_slots() == arena slots.
Slot i is i % arena slots, so the surplus events stay idle.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 00:08:39 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 9f1fb1878b prefill: pf_ab_job.sh variant LT (ladder with the bring-up trace)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 23:11:35 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ae118cd9c3 prefill: pf_ab_job.sh checks the package checksums from pkg/bin (the names are relative)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 21:30:14 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b2797d239f prefill: A/B driver for the fixed per-request prefill latency (own package, state and prefix; variants A/L/AR/LR/P/LP)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 21:02:44 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 6073ce00d4 prefill: the prompt executor accepts an arena smaller than its capacity (the loan ladder's smaller rungs failed every chunk with InvalidDimension)
The executor demanded arena.capacity() == its own capacity, so every rung of the loan ladder
(LELEKA_PREFILL_LOAN_TIERS=1) was refused (docs/prefill-throughput.md, jobs p34/p35: Failed(InvalidDimension)
on every request). A chunk now runs in any arena that holds its rows and does not exceed the executor's
capacity. Pure predicate with unit tests; the ladder stays off by default until its identity gate and A/B.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 20:58:04 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b686f6ab75 STRA-338: rename the 854 mechanically named modules (impl_*, *_fn, *_<N>) after what they hold; mechanical_names census 854 -> 0
git mv of the files and of the module directories next to them, mod declarations, #[path] attributes and
the paths that name the modules, rewritten by scripts/dev/rename_mechanical.py from a reviewed name table.
Two files lost one to two lines so the 400-line limit holds again (qsa_prompt_index, original_verify_expert_probe).
limits-baseline.json: test fn_lines 0 -> 1 is --allow-increase for crates/deploy builtin_profiles.rs:149 (37 lines,
the speed-vs-strata session's file, not touched here); the prod params census falls 108 -> 1 (w_launch, extern C ABI).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 13:43:56 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8def0e96e2 STRA-338: scripts/dev/rename_mechanical.py plans and applies the rename of mechanically named modules
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 13:26:16 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 418fac7b1d Merge claude/par-q02 (STRA-338 params: original_verify_* and expert cache/stager)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:59:32 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 68db485561 Merge branch 'claude/hexagonal-finish-14ee3a' into claude/par-q02
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:59:12 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8d090557d7 Merge claude/par-q04 (STRA-338 params: residency, QSA, adaptive cache, draft and spec controller)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:58:29 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 6453403c69 Merge claude/par-q01 (STRA-338 params: mtp_original_full drafter, forward, round, FFI launch shape)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:57:14 +01:00
Pavlo Ratushnyi 61f2b8803a Merge branch 'claude/hexagonal-finish-14ee3a' into claude/par-q04 2026-11-08 12:57:12 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d6d7e2b32a STRA-338 params q04: adaptive preload, draft KV finish, draft schedules, spec config and window failure take domain DTOs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:56:57 +01:00
Pavlo Ratushnyi b0c72fce32 Merge branch 'claude/hexagonal-finish-14ee3a' into claude/par-q01 2026-11-08 12:55:32 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4e4f125b96 STRA-338 params q02: original_verify_moe becomes a method of VerifyWeights
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:54:21 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 740a4761ba STRA-338 params q02: queue_span_copies takes SlotRegion, Api::issue takes StreamEvent, plan block encoders take PlanEntryShape
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:54:21 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 57be6ffebc STRA-338 params q02: write_window_logprobs takes LogitRows and LogprobReadout; OriginalVerifier::run takes OriginalVerifyWindowTokens
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:54:21 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 a2d26d5c51 STRA-338 params q02: QsaRope::new takes RopeCorrectionRange; rope_with, rope_args, norm_rope take RopeRows
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:54:20 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 0807a81f2d STRA-338 params q02: plan_expert_groups, plan_router, plan_shared_expert take ExpertGroupSite and BatchedRows
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:54:20 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f24482d64a STRA-338 params q02: GR planners take GrWindow, GrConfig::from_device takes GrDeviceAttributes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:54:20 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 631527e32a STRA-338 params q01: matrix-vector pushes, selection kernel, scalar prefix plan, verifier rows and draft head take domain DTOs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:51:54 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4710b1e7e5 Merge claude/par-q03 (STRA-338 params: prefill chunk, group projection, native head)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:47:57 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b64f2b60d0 STRA-338 params q03: prefill chunk entry points take PrefillChunkInputs/PrefillChunkPlan, window attention and FFN injection take ChunkRun, ChunkOpening, MicroEnv, LoadedTargetOwners for on-loaded tests
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:47:36 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 760a5dd9a9 STRA-338 params q03: GateUpColumns for swiglu_into_hidden, GroupBuffers for direct project_gate_up, NativeHeadLaunch for finish_verification
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:47:35 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5a0b447b16 STRA-338 params q02: plan_bf16_gemv, plan_mmvq, plan_window_mmvq take StridedRows and extents DTOs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:45:10 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e935385afe STRA-338 params q04: QSA attended, prompt index, decode index, prompt device and resident layer take owner DTOs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:44:35 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ada5fc5e68 STRA-338 params q02: Launch::new takes a LaunchExtent (grid, block, shared)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:43:15 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 6f68049d3f STRA-338 params q02: with_cpu_rows takes MappedRouteOperands and RouteRowSpan
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:43:09 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 305418d397 STRA-338 params q01: full MTP module launch and command push take a LaunchShape
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:42:22 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d20953710d STRA-338 params q01: OriginalMtpDrafter draft/launch family takes DraftTarget, windows, DraftSampling and a DraftRoundRequest
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:40:11 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 60a468cf8c STRA-338 params q04: split_group family and source_spans take RoutedGroup, PcieSplitPolicy, SwapSources
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:39:06 +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 8f38a5fc91 STRA-338 params: split three files over 400 lines, regenerate architecture and limits baselines (params census 1149 -> 108)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 03:31:21 +01:00
Pavlo Ratushnyi 2759191816 STRA-338 params e05: window experts, Q6 projection, attention handoff, draft seed, prompt device rows and prompt index take domain structs (post-merge)
Files:
crates/engine-qwen35-cuda/src/qwen_forward/original_spec_draft.rs
crates/engine-qwen35-cuda/src/qwen_forward/original_spec_controller.rs
crates/engine-qwen35-cuda/src/qwen_forward/original_spec_controller/finish_parts.rs
2026-11-08 03:23:57 +01:00