Commit Graph
2136 Commits
Author SHA1 Message Date
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 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
Pavlo Ratushnyi 5285097511 STRA-338 params h02: public prefill plan takes OriginalMtpPrefillRequest 2026-11-08 01:20:53 +01:00
Pavlo Ratushnyi cffd79cbc7 STRA-338 params h02: MTP actor adopt and admit take OriginalMtpLoadedParts; draft head takes OriginalMainHead 2026-11-08 01:20:52 +01:00
Pavlo Ratushnyi 8223ee2628 STRA-338 params h02: MoE prompt device GEMM, scan, run, copy ring and layer methods take named structs 2026-11-08 01:20:51 +01:00
Pavlo Ratushnyi c9d42e565b STRA-338 params h02: file expert source arena fill, ranking and exchange copy take named structs 2026-11-08 01:20:43 +01:00
Pavlo Ratushnyi 68aabec645 STRA-338 params h02: session layout takes OriginalLayerBounds and OriginalSessionShape; QSA rope init takes OriginalRopeSetup 2026-11-08 01:20:42 +01:00
Pavlo Ratushnyi 0440629841 STRA-338 params h02: native head finish_same_stream drops the unused path binding 2026-11-08 01:20:42 +01:00
Pavlo Ratushnyi 1da95236fe Merge branch 'claude/par-p03' into claude/hexagonal-finish-14ee3a 2026-11-08 01:17:16 +01:00
Pavlo Ratushnyi 4989e85084 Merge branch 'claude/par-p04' into claude/hexagonal-finish-14ee3a 2026-11-08 01:17:15 +01:00
Pavlo Ratushnyi 0a28a049dc Merge branch 'claude/par-p05' into claude/hexagonal-finish-14ee3a
# Conflicts:
#	crates/cuda-driver/src/experimental_gpu_smoke.rs
2026-11-08 01:17:14 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b4d4626273 STRA-338 params: mechanical regrouping in files the speed-vs-strata session may touch (record/launch/inject/down)
Files changed outside the burn-down slices (for the speed session to rebase onto):
crates/cuda-driver/src/mtp_original_prefill.rs, mtp_original_prefill/impl_originalmtpprefill.rs, .../record_walk.rs, .../record_operands.rs,
mtp_original_int8_ffi.rs, mtp_original_int8_ffi/enabled.rs, mtp_original_int8_ffi/impl_arguments.rs, mtp_original_int8.rs,
mtp_original_int8/impl_mtporiginalint8/impl_mtporiginalint8_2_2.rs, mtp_original_full_forward/impl_originalmtpforwardprogram.rs,
mtp_dense_kv.rs, root_exports.rs;
crates/engine-qwen35-cuda/src/qwen_forward/original_mtp_prefill.rs, prompt_device_rows.rs,
executor_original_prompt/.../forward_draft.rs, gr_batch_chunk/inject_batch_fns.rs, gr_batch_chunk/impl_grstage_2.rs,
moe_group_chunk.rs, moe_group_chunk/project_group_{direct_fn,fn,shared_fns}.rs

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 01:17:00 +01:00
Pavlo Ratushnyi 5871533f32 STRA-338 params h03: qwen_dispatch fixed-ABI kernels take operand groups (fixed_operands.rs), selected-KV misses, verification journal rows 2026-11-08 01:12:08 +01:00
Pavlo Ratushnyi 48417b6b41 STRA-338 params p04: gptoss family (gptoss, igpu, gptoss-igpu, gptoss-npu, gpu-npu-worker, npu-service) down to 5 parameters; domain names for the experimental-ref structs 2026-11-08 01:05:51 +01:00
Pavlo Ratushnyi 6713a07820 STRA-338 params p03: boolean and unit names on the new structs; keep serve_loop.rs under the file limit 2026-11-08 01:05:38 +01:00
Pavlo Ratushnyi 2dbfd6d581 STRA-338 params h02: cuBLAS and kernel-module wrappers take GemmOperands, GemmDims, GemmScalars, LinearLaunch, ClusterShape; call sites adapted 2026-11-08 01:05:36 +01:00
Pavlo Ratushnyi 66bf072382 STRA-338 params p05: domain-named DTOs, fewer bundles (Attend*, Owner thread, client link, control vector, resolve index), naming checklist, meaningful file names 2026-11-08 01:04:28 +01:00
Pavlo Ratushnyi dbeb968a1f Merge branch 'claude/par-h01' into claude/hexagonal-finish-14ee3a 2026-11-08 01:02:12 +01:00
Pavlo Ratushnyi 78cda328cc Merge branch 'claude/par-p01' into claude/hexagonal-finish-14ee3a 2026-11-08 01:02:11 +01:00
Pavlo Ratushnyi 140640ca04 Merge branch 'claude/par-p02' into claude/hexagonal-finish-14ee3a 2026-11-08 01:02:10 +01:00
Pavlo Ratushnyi 05b134c3b0 STRA-338 params h03: QSA native batch, prompt attention, index, device and resident owners take domain structs (LaunchGeometry, QsaAttendedKv, QsaIndexPrior, QsaChunkRows, ArenaRows, ...) 2026-11-08 01:01:58 +01:00
Pavlo Ratushnyi 672e4bfc72 STRA-338 params p01: deploy, gateway-domain, gateway-text, desktop-core and the rest of control-plane to at most 5 parameters; domain names for the new structs 2026-11-08 00:59:37 +01:00
Pavlo Ratushnyi 1d734ca029 STRA-338 params h02: prompt device kernel, scan, weight, run and GR read take launch geometry, extents and guard structs 2026-11-08 00:58:28 +01:00
Pavlo Ratushnyi 4ec51bb117 STRA-338 params h02: native head creation takes NativeHeadPayload, sampling reuses NativeHeadSampling, projection buffers grouped 2026-11-08 00:58:27 +01:00
Pavlo Ratushnyi 7b1cf7b233 STRA-338 params h02: MTP session rope intake and plan take rope setting, tables and offset buffers 2026-11-08 00:58:27 +01:00
Pavlo Ratushnyi 1dd5899062 STRA-338 params h02: scalar MTP prefill external-buffer alias admission and GR chunks take named structs 2026-11-08 00:58:26 +01:00
Pavlo Ratushnyi 1a2de1d753 STRA-338 params h01: rename mechanically split files of the slice to meaningful names 2026-11-08 00:54:34 +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 Ratushnyi d916ed9d84 STRA-338 params p03: domain names for the new structs, meaningful file names for the split modules touched 2026-11-08 00:50:56 +01:00
Pavlo Ratushnyi 52052628f0 STRA-338 params h01: MTP INT8 and draft-KV prefill, MoE combine inputs, stream-all layer, GPU proof windows (LaunchDims, KernelAt, KernelShape, ProjectionAddresses, ProjectionDims, RecordRun, AppendBlock, CompressedEmbedding, OriginalMtpSkipPrior, MoeCombineInputs, OriginalStreamAllLayer, DeferredStatusCheck) 2026-11-08 00:50:36 +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