Commit Graph
2165 Commits
Author SHA1 Message Date
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 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 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 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
Pavlo Ratushnyi 466695e79a STRA-338 params r04: chunk prefill layer chain (run_prefill_layers .. device_gdn_row, step_chunk_selected) takes ChunkRun, WindowOwners, CausalRow, CausalSink, DeviceGdnRow
Files:
crates/engine-qwen35-cuda/src/qwen_forward/executor_prefill_chunk/impl_qwenforward/impl_qwenforward_3.rs
crates/engine-qwen35-cuda/src/qwen_forward/executor_prefill_chunk/impl_qwenforward/impl_qwenforward_3/chunk_layer.rs
crates/engine-qwen35-cuda/src/qwen_forward/executor_prefill_chunk/impl_qwenforward/impl_qwenforward_3/window_ffn.rs
crates/engine-qwen35-cuda/src/qwen_forward/executor_prefill_chunk/prepare_micro_ffn_rows_fn/plain_rows.rs
2026-11-08 02:26:07 +01:00
Pavlo Ratushnyi 89258ce6fc STRA-338 params e01: native MMQ model gate takes LoadedTargetOwners (same type and file as e02)
Files: (none)
2026-11-08 02:20:05 +01:00
Pavlo Ratushnyi 840622a04e STRA-338 params e01: KV cell comparison, verifier assembly preparation, QSA input parity proof and oracle capture take domain values
Files: (none)
2026-11-08 02:20:04 +01:00
Pavlo Ratushnyi 0956833f78 STRA-338 params e01: resident QSA index-key cache selects through QsaSelectionRequest
Files: (none)
2026-11-08 02:20:04 +01:00
Pavlo Ratushnyi 88ade88d37 STRA-338 params e01: PLE transport composition takes the closed weights and the three host rows
Files: (none)
2026-11-08 02:20:03 +01:00
Pavlo Ratushnyi fb23ce3451 STRA-338 params e01: fixed draft MoE composition takes FrameAnchor, WorkspaceClaim and ExpertInputs; routed expert takes RouteSlot and QuantizedIndices
Files: (none)
2026-11-08 02:20:03 +01:00
Pavlo Ratushnyi a6ea6a02eb STRA-338 params e01: MTP draft input takes KnownNext, draft step takes StepSessions and InputRows; norm role decides the hidden/embedding norm
Files: (none)
2026-11-08 02:20:02 +01:00
Pavlo Ratushnyi 9f03ea2ae3 Merge branch 'claude/par-r02' into claude/hexagonal-finish-14ee3a 2026-11-08 02:16:21 +01:00
Pavlo Ratushnyi 0c682e2aa2 STRA-338 params r02: name the split files by content; OriginalRingBlocks lives in original_session_state.rs
impl_originalmtpscalarprefill_{2_2,4,6,7,8}.rs become kernel_commands, call_admission, record_operands, group_loop and
group_capture; impl_originalmtpactor_2_2.rs becomes draft_rounds. OriginalRingBlocks moves out of
original_conversation_state.rs, which would otherwise pass the 400-line file limit.
2026-11-08 02:15:18 +01:00
Pavlo Ratushnyi 6dae6edc15 STRA-338 params e01: grouped chunk experts (direct packets, source-backed groups, shared tail, slot packs, direct Down proof) take domain values
Files:
crates/engine-qwen35-cuda/src/qwen_forward/executor_prefill_chunk/impl_qwenforward/impl_qwenforward_3/window_experts.rs
2026-11-08 02:08:28 +01:00
Pavlo Ratushnyi b37e74250d STRA-338 params e01: native MMQ report takes the chunk verdict; layer-0 comparison takes the compared tensor 2026-11-08 02:08:27 +01:00
Pavlo Ratushnyi 8102387b56 STRA-338 params e01: MTP target window capacity, preparation, joint publication and draft warm-up take domain values 2026-11-08 02:08:27 +01:00
Pavlo Ratushnyi 79cf15fdbc STRA-338 params e01: full MTP forward weights take the head sources as one value (vocabulary derived from the native head) 2026-11-08 02:08:26 +01:00
Pavlo Ratushnyi 47a5938f2f STRA-338 params r02: restore_ring takes OriginalRingBlocks (begin, end, slots) 2026-11-08 02:07:40 +01:00
Pavlo Ratushnyi 9e74f4a0e6 STRA-338 params r02: capture_layer_stage and capture_append_rows take the row range
Both took begin and end next to the layer; they now take `rows: Range<usize>`.

Files:
crates/cuda-driver/src/original_verify_window_ops/impl_originalverifywindowops.rs
crates/cuda-driver/src/original_verify_window_ops/impl_windowops_for_originalverifywindowops.rs
2026-11-08 02:07:40 +01:00
Pavlo Ratushnyi 083119c233 STRA-338 params r02: MTP draft round passes DraftTarget, AcceptedWindow, RepeatRowWindow, DraftSampling, DraftOutput
OriginalMtpActor::draft_from_verifier/launch_draft_from_verifier/draft_first_from_verifier/draft/draft_first and
OriginalMtpDrafter::draft_public/draft_first_public take the new draft-round DTOs (original_mtp_draft_round.rs) instead of
eight to twelve positional arguments; the engine adapter and the preflight probe build them at the call.

Files:
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:07:35 +01:00
Pavlo Ratushnyi 4b99d52b47 STRA-338 params r02: scalar prefill chain (kernel, finite, project, record, groups)
Module::launch takes the shared LaunchShape; OriginalMtpScalarPrefill::kernel takes it too, finite and q8_guard lose the
unused group argument, project takes ProjectionBuffers. record/record_impl/record_scalar/record_groups take RecordRun,
PrefillRows and the new ScalarDraftKvSources; validate_scalar is split into validate_owners and validate_prompt; the
group loop (run_groups, stage_group, submit_group, enqueue_group, complete) passes ScalarGroupSources, GroupSpan,
GroupSubmission and PagePublication. OriginalMtpDrafter/OriginalMtpActor::record_scalar_prefill pass the same DTOs.

Files:
crates/cuda-driver/src/mtp_original_full_forward/impl_originalmtpforwardprogram.rs
crates/cuda-driver/src/mtp_original_full_forward/impl_originalmtpfullforward_3/prefix_parts.rs
crates/cuda-driver/src/mtp_original_full_forward/impl_originalmtpfullforward_3/prefix_rows.rs
crates/cuda-driver/src/mtp_original_full_round/impl_originalmtpdraftprogram.rs
crates/cuda-driver/src/mtp_original_full_drafter/impl_originalmtpdrafter/impl_originalmtpdrafter_3.rs
2026-11-08 02:07:28 +01:00
Pavlo Ratushnyi 0095b60c59 Merge branch 'claude/par-r01' into claude/hexagonal-finish-14ee3a 2026-11-08 02:03:22 +01:00
Pavlo Ratushnyi 42fc233323 STRA-338 params r01: resident QSA layer prepare/complete take owners and device bundles 2026-11-08 02:00:04 +01:00
Pavlo Ratushnyi ad6d25da04 STRA-338 params r01: QSA attend, prompt index, decode index and prompt device take domain structs
Files:
crates/engine-qwen35-cuda/src/qwen_forward/executor_prefill_chunk/prepare_micro_ffn_rows_fn/qsa_native.rs
2026-11-08 02:00:04 +01:00
Pavlo Ratushnyi a41c6a0d62 STRA-338 params r01: MTP attention transport proof takes AttendInput; fused MLP run takes MtpGrMlpResidual 2026-11-08 01:59:50 +01:00
Pavlo Ratushnyi 1eae5956c0 STRA-338 params r01: original prompt layer takes PromptWeightOwners and its parts bundle 2026-11-08 01:59:49 +01:00
Pavlo Ratushnyi d0d6d03533 STRA-338 params r03: direct packet batch owns its groups and prepared Gate/Up; project_group_direct is a PacketRun method
PacketRun now holds the expert groups and the prepared Gate/Up Q8 rows, so execute (6 -> 4), operate (7 -> 5),
project_groups (7 -> 5) and execute_direct_packets (12 -> 4) drop them. project_one (7 -> 4) and project_group_direct
(11 -> 4, now PacketRun::project_group_direct) take the DirectRun (actual, packets, cancelled).
BoundRows::packet_run builds the PacketRun that execute_direct_packets used to assemble from 12 arguments.
2026-11-08 01:57:23 +01:00
Pavlo Ratushnyi f02db063c6 STRA-338 params r03: MoePrefillStage::route_shared_micro takes WindowReads, WindowOperands and PrefillLoans
New WindowReads (binding, layer, reads) next to the existing WindowOperands and PrefillLoans (9 -> 3 parameters),
the same shape combine_micro already uses.

Files:
crates/engine-qwen35-cuda/src/qwen_forward/executor_prefill_chunk/prepare_micro_ffn_rows_fn/ffn_rows.rs
2026-11-08 01:57:22 +01:00
Pavlo Ratushnyi 27433ac8aa STRA-338 params r03: GdnStage::step_chunk_batch takes the PromptLayer
binding, layer, cache and the lent device context are the existing PromptLayer (8 -> 5 parameters).

Files:
crates/engine-qwen35-cuda/src/qwen_forward/executor_prefill_chunk/prepare_micro_ffn_rows_fn/gdn_native.rs
2026-11-08 01:57:22 +01:00
Pavlo Ratushnyi 3bd4589873 STRA-338 params r03: GdnStage::step and step_projected take the GdnLayerInput
The binding, layer and residual input of a GDN step already travel together as GdnLayerInput;
step (6 -> 4) and step_projected (7 -> 5) now take it instead of three separate arguments.
Callers build the struct from the same values in the same order.

Files:
crates/engine-qwen35-cuda/src/qwen_forward/executor_prefill_chunk/impl_qwenforward/impl_qwenforward_3/host_attention.rs
2026-11-08 01:57:22 +01:00
Pavlo Ratushnyi 1bf6949ec3 Merge branch 'claude/par-h04' into claude/hexagonal-finish-14ee3a
# Conflicts:
#	crates/engine-qwen35-cuda/src/qwen_forward/gdn_verification/compute_row_fn/compute_row_fn_2.rs
2026-11-08 01:36:57 +01:00
Pavlo Ratushnyi f5887b48ec Merge branch 'claude/par-h02' into claude/hexagonal-finish-14ee3a
# Conflicts:
#	crates/cuda-driver/src/gr_native_batch/impl_grnativebatch/native_gemm_launch.rs
#	crates/cuda-driver/src/qsa_resident_device/impl_originalqsaresidentselection.rs
#	crates/cuda-driver/src/qsa_resident_index_program/impl_qsapromptindexworkspace.rs
2026-11-08 01:35:23 +01:00
Pavlo Ratushnyi 3d5627ce8c Merge branch 'claude/par-h03' into claude/hexagonal-finish-14ee3a
# Conflicts:
#	crates/cuda-driver/src/qsa_prompt_attention.rs
#	crates/cuda-driver/src/qsa_prompt_attention/impl_qsapromptattention/prompt_attention_owner.rs
#	crates/cuda-driver/src/root_exports.rs
#	crates/cuda-driver/src/routed_group_workspace_gpu/down_case.rs
2026-11-08 01:34:53 +01:00
Pavlo Ratushnyi b698bc5a07 STRA-338 params h04: rename mechanically named modules of the touched families (cached_step, stage_steps, projection, profile_build, route_micro, step_batch) 2026-11-08 01:34:32 +01:00
Pavlo Ratushnyi 23b25ec28e STRA-338 params h03: shared tail, routed workspace/queue and their proofs take domain structs; numbered QSA/dispatch files renamed by content 2026-11-08 01:33:22 +01:00
Pavlo Ratushnyi 3d38a23cc3 Merge branch 'claude/par-p01' into claude/hexagonal-finish-14ee3a 2026-11-08 01:30:29 +01:00
Pavlo Ratushnyi 27b3038904 STRA-338 params p01: split native_pack/dense_files.rs (pack_publication) and deploy e2e harness.rs (harness/up_plan) under 400 lines 2026-11-08 01:30:18 +01:00
Pavlo Ratushnyi d691b7bc12 STRA-338 params h04: MoE prefill batch (combine window, loans, window operands) takes grouped operands 2026-11-08 01:26:25 +01:00
Pavlo Ratushnyi d2d8f17ebd STRA-338 params h04: shared-permanent profile build (profile file/request, pool seed, quartet room, pinned source) takes grouped operands 2026-11-08 01:26:24 +01:00
Pavlo Ratushnyi 32ceea0fd9 STRA-338 params h04: dense weight cache (PLE matrix expectation, QSA selection request) takes grouped operands 2026-11-08 01:26:24 +01:00
Pavlo Ratushnyi 73b79d5ca7 Merge branch 'claude/par-p04' into claude/hexagonal-finish-14ee3a 2026-11-08 01:24:17 +01:00
Pavlo Ratushnyi e3e8c7acc1 STRA-338 params p04: split remote_experts.rs (device_image child module), PrefillOffload generic instead of dyn 2026-11-08 01:24:09 +01:00
Pavlo Ratushnyi e5661723eb STRA-338 params h02: MoE prompt device prepare takes SharedExpertLayout 2026-11-08 01:23:47 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 eb780392b8 STRA-338 params: ExpertCache::choose_loan takes LoanRequest, QsaPromptAttention::attend_selected takes QsaPromptSources (no external callers)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 01:22:46 +01:00
Pavlo Ratushnyi f2aa4093d0 STRA-338 params h04: gdn family (gates, recur, projections, step phases, chunk rows, mirror, chain, prompt device) takes grouped operands 2026-11-08 01:21:30 +01:00
Pavlo Ratushnyi 94031dc391 STRA-338 params h02: PLE batch queue compose takes PleBatchSources; scan takes ScanExtent 2026-11-08 01:20:55 +01:00
Pavlo Ratushnyi d8a960e46d STRA-338 params h02: stream-all stager run entry points take OriginalStreamPair and OriginalStreamAllPass; walk takes WalkedLayer 2026-11-08 01:20:54 +01:00
Pavlo Ratushnyi e009182533 STRA-338 params h02: original sampler takes SampleWindow and SampleRequest; kernel launch takes SamplerLaunchShape 2026-11-08 01:20:54 +01:00
Pavlo Ratushnyi 7b43b56e7a STRA-338 params h02: PCIe copy smoke run_rounds and check_round take fewer parameters 2026-11-08 01:20:53 +01:00