Pavlo Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi
61f2b8803a
Merge branch 'claude/hexagonal-finish-14ee3a' into claude/par-q04
2026-11-08 12:57:12 +01:00
Pavlo Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 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
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
Pavlo Ratushnyi
1e1cbdb6ac
Merge claude/hexagonal-finish-14ee3a ( 7a5f21741) into claude/par-e05: r04's DirectRun/PacketRun/CpuMissBatch kept, PacketWaveRun dropped
...
Files:
2026-11-08 03:15:43 +01:00
Pavlo Ratushnyi
05292f9fdc
Merge claude/hexagonal-finish-14ee3a into claude/par-e05: AdaptiveWave/WaveState (e03) kept, PacketWave runs, ExpertWeights, PromptWeights, DecodeStepOwners reconciled
...
Files:
2026-11-08 03:07:53 +01:00
Pavlo Ratushnyi
7a5f217414
Merge claude/hexagonal-finish-14ee3a into claude/par-r04: e03 trait signatures (NativeCommittedWindow, DraftLimits) with r04's MtpDraftOwners/DraftLaunch on the host; DraftRound dropped; AdaptiveWave project_residents inlined
2026-11-08 03:07:20 +01:00
Pavlo Ratushnyi
9362ac406a
Merge branch 'claude/hexagonal-finish-14ee3a' into claude/par-e04
2026-11-08 03:01:16 +01:00
Pavlo Ratushnyi
2696ce1fec
Merge claude/hexagonal-finish-14ee3a into claude/par-r04: e02 prompt-chunk operands (PromptWeights, PromptChunkTarget, ChunkCaches, ChunkDraft, ScalarPromptSources, ScalarDraftKvRequest) replace r04's duplicate prompt-chunk DTOs; GDN producer takes PromptWeights + PromptLayerSite; publish_draft_receipt takes MtpDraftOwners
2026-11-08 03:01:08 +01:00
Pavlo Ratushnyi
4108c9f6a8
Merge claude/hexagonal-finish-14ee3a into par-e03: reuse PromptWeights, KnownNext, LoadedTargetOwners; ExpertWeights replaces BoundWeights; AdaptiveWave taken over
...
Files:
crates/engine-qwen35-cuda/src/qwen_forward/executor_prefill_chunk/check_chunk_on_loaded_fn.rs
crates/engine-qwen35-cuda/src/qwen_forward/original_spec_draft.rs
crates/engine-qwen35-cuda/src/qwen_forward/original_spec_controller/tests.rs
2026-11-08 02:53:56 +01:00
Pavlo Ratushnyi
fbc2c8dc28
STRA-338 params r04: resident queue group (project_group_packets .. compose_copy), packet wave, PacketPlan::classify, launch_down_in_workspace, Resident::run, adaptive project_residents take PacketWave, DirectRun, SourceTail, ResidentExperts, ResidentCompose, DownColumns, MmqOwners
...
Files:
2026-11-08 02:48:50 +01:00
Pavlo Ratushnyi
eeb480ffb6
STRA-338 params e05: GroupedHandoff generics named Producer and Consumer
...
Files:
2026-11-08 02:41:47 +01:00
Pavlo Ratushnyi
bd711aef74
Merge branch 'claude/par-e02' into claude/hexagonal-finish-14ee3a
...
# Conflicts:
# crates/engine-qwen35-cuda/src/qwen_forward/executor_native_mmq_evaluation.rs
2026-11-08 02:40:00 +01:00
Pavlo Ratushnyi
00d3e8777a
Merge branch 'claude/hexagonal-finish-14ee3a' into claude/par-e02
...
Scalar draft KV now reuses the driver's ScalarDraftKvSources (r02) with ScalarDraftKvRequest only adding first_needed; the verified adapter uses r02's DraftTarget/AcceptedWindow/RepeatRowWindow with WindowOrigins; my DraftTarget/DraftTargetTables renamed DraftAttachmentTarget/DraftAttachmentTables to avoid the clash.
Files:
crates/engine-qwen35-cuda/src/qwen_forward/original_mtp_verified_adapter/impl_originalpromptexecutor.rs
crates/engine-qwen35-cuda/src/qwen_forward/executor_prefill_chunk/prepare_micro_ffn_rows_fn/qsa_native.rs
2026-11-08 02:39:32 +01:00
Pavlo Ratushnyi
81ffd42bdd
Merge branch 'claude/hexagonal-finish-14ee3a' into claude/par-r04
2026-11-08 02:38:36 +01:00
Pavlo Ratushnyi
62e5564b13
STRA-338 params r04: MTP draft round (launch/draft/finish committing, host launch_draft/draft_committed) takes MtpDraftOwners, AcceptedWindow, DraftLaunch, DraftRound; scalar draft KV takes FinalPromptSources, RecordRun, ScalarDraftKvRequest
...
Files:
crates/engine-qwen35-cuda/src/qwen_forward/original_mtp_prefill.rs
crates/engine-qwen35-cuda/src/qwen_forward/original_mtp_verified_adapter.rs
crates/engine-qwen35-cuda/src/qwen_forward/original_mtp_verified_adapter/impl_originalpromptexecutor.rs
2026-11-08 02:38:32 +01:00
Pavlo Ratushnyi
cb546587da
STRA-338 params e05: original prompt arena owners take ArenaPlan and ExpertBankMapping
...
Files:
2026-11-08 02:38:18 +01:00
Pavlo Ratushnyi
60533fe57a
STRA-338 params e05: chunk begin_bounded takes PromptAdmission; prepare_ffn_injection takes FfnInjectionRow
...
Files:
2026-11-08 02:38:17 +01:00
Pavlo Ratushnyi
734f6cd2c1
STRA-338 params e05: DownScope split/copy/upload take GroupedColumn, GroupedHandoff, CompletedCpuRow
...
Files:
2026-11-08 02:38:17 +01:00
Pavlo Ratushnyi
1e20bf9bc9
STRA-338 params e05: retained attention injection takes AttentionBlockOutput
...
Files:
2026-11-08 02:38:16 +01:00
Pavlo Ratushnyi
da68c9d85e
STRA-338 params e05: native QSA decode completes from DecodeStepOwners, DecodeStep and AdmittedRow
...
Files:
2026-11-08 02:38:16 +01:00
Pavlo Ratushnyi
0d9ba07ece
STRA-338 params e05: MTP expert transport proof guards are Env methods; MTP final chain takes FinalStageInputs
...
Files:
2026-11-08 02:38:16 +01:00
Pavlo Ratushnyi
0b73521739
STRA-338 params e05: MTP attention takes KvWindow, RingSource, NormGamma, MtpStepOwners; files renamed by content
...
Files:
2026-11-08 02:38:15 +01:00
Pavlo Ratushnyi
45a0b502f4
Merge claude/hexagonal-finish-14ee3a into claude/par-e01 (PacketRun: e01 structure, r03's PacketRun::project_group_direct adapted)
...
Files: (none)
2026-11-08 02:36:28 +01:00
Pavlo Ratushnyi
f95d9ab4bf
STRA-338 params e04: rename the expert projection and scalar QSA row files by content; ExecutorOpening in its own file
...
Files: none
2026-11-08 02:34:18 +01:00
Pavlo Ratushnyi
959abb3743
STRA-338 params r04: original prompt chain (forward, forward_operation, run_layers .. GdnLayer::compute) takes PromptResources, PromptAdmission, DraftRecording, PromptLayerEnv, PromptSource
...
Files:
2026-11-08 02:32:07 +01:00