Commit Graph
123 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 06af3114fc feat(mtp): RT directory reader and closed-profile load plan for the Original MTP loader
Add original_mtp_rt (dense.txt/dense.bin/experts.bin/draft_vocab.bin host side
of MtpDrafter::load/bind with fail-closed extents, finiteness and file checks)
and turn original_mtp_loader into a load plan over captured geometry/session
inputs, admitting the retained ring against the Original KV-mode plan.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 14:57:20 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 8651f784ef fix: first combined compile of the Original-literal source-port for x86_64-linux (lib + all test targets type-check)
Fixes: native-cpu-expert Display bound, runtime imports/visibility/lifetimes, missing MTP_ORIGINAL_WINDOW export, MmqFormat match arms, stale test constructors. cargo check --target x86_64-unknown-linux-gnu only (no link, no GPU).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 14:42:12 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 7f896a8bb8 import: Original-literal source-port snapshot (frozen 2026-10-12 06:36, uncompiled together, no GPU run)
Snapshot of target/stra169-direct-port-integration/source-port (without target/), now the tracked base for the full Strata Rust port.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 14:38:46 +02:00
Pavlo Ratushnyi 5a06a29b9a Retain PLE and MTP outputs and memoize immutable PTX checks 2026-10-10 10:20:59 +02:00
Pavlo Ratushnyi 44d34a2307 Keep original MTP expert intermediates on CUDA through combine 2026-10-10 09:50:19 +02:00
Pavlo Ratushnyi 69fc520e3e Keep routed MoE Down products on CUDA through combine 2026-10-10 09:18:19 +02:00
Pavlo Ratushnyi 7c6cc64751 Retain GDN and MTP CUDA products through inference chains 2026-10-10 08:54:53 +02:00
Pavlo Ratushnyi 35e68653e6 Reuse sealed KAR archive across Linux inference processes 2026-10-10 08:26:46 +02:00
Pavlo Ratushnyi 6364a9ff6e Reuse QSA source and attention activations on CUDA 2026-10-10 08:07:45 +02:00
Pavlo Ratushnyi 8e4354e5ad Reuse GDN input and GR residual activations on CUDA 2026-10-10 07:50:59 +02:00
Pavlo Ratushnyi d6b99caebb Retain GDN prior and MoE activation buffers on CUDA 2026-10-10 07:09:13 +02:00
Pavlo Ratushnyi 793e4eb8d9 Batch cached PLE Key projection as one complete matrix 2026-10-10 06:06:09 +02:00
Pavlo Ratushnyi 173465d91a Reuse native routed Gate Up activations within each MoE step 2026-10-10 05:55:22 +02:00
Pavlo Ratushnyi f0e7b16475 Compare cached Qwen forward with legacy replay across session reset 2026-10-10 05:41:46 +02:00
Pavlo Ratushnyi 3b865b8426 Retain PLE weights and reuse projection scratch on the GPU 2026-10-10 05:21:51 +02:00
Pavlo Ratushnyi 58dbd1799c Retain selected Qwen weights on GPU and dispatch complete matrices 2026-10-10 04:06:45 +02:00
Pavlo Ratushnyi 3c20d1abea Buffer GGUF metadata and weight spans in 16 MiB heap chunks 2026-10-10 03:07:28 +02:00
Pavlo Ratushnyi ff5241fdb2 Verify sealed KAR SHA and section CRC in one scan 2026-10-10 02:53:06 +02:00
Pavlo Ratushnyi f9b7644c2d Load Linux KAR into sealed anonymous memory without disk staging 2026-10-10 02:37:40 +02:00
Pavlo Ratushnyi ba055f4b5a Preserve accepted generation identity before capacity refusal 2026-10-10 02:29:23 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 d94ff5d1b1 fix(runtime): refuse a forward without its output head before any row or layer work
The output-less entry used to run all 48 layers before reporting
Unsupported(Output). Check it right after the layer plan, before the input
stage, so nothing is read or staged for a step that cannot publish. The ignored
pinned-artifact test keeps asserting the same error and unchanged session
state; it is renamed because layers no longer run. No CPU ModelBinding fixture
exists, so no new CPU case is possible for this entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-10 02:20:59 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 47a8f6f175 fix(daemon): keep a generation slot owned without a real terminal and end only a failed worker's own operation
- pump: a terminal synthesized because the backend channel ended is not a
  completion proof; on client disconnect or oversize frame it closes model
  admission and keeps the slot owned instead of clearing it.
- cancel: a request that finished between the active check and the backend call
  is acknowledged idempotently instead of failing with cancel_uncertain.
- load/unload workers that panic end exactly their own unresolved operation as
  indeterminate (LifecycleGuard is disarmed under the completion lock and only
  acts on an operation still Accepted), never a later operation.

Accepted request identities are still never forgotten; the 256-identity
capacity refusal is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-10 02:20:59 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 33ef0d2070 test(cuda): keep synthetic Qwen dispatch handles disjoint for KAR PLE slots
The first KarPleScatter buffer is 64 MiB, larger than the 16 MiB spacing used
by two fixtures, so their ranges overlapped and the alias check refused before
the intended assertion. Space handles by 256 MiB, skip the +1 misalignment case
for byte-aligned slots and offset the overlap probe by an aligned step. The
assertions and production code are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-10 02:19:36 +02:00
Pavlo Ratushnyi 8e142b6be2 Verify full Qwen vocabulary projection and output ownership refusals 2026-10-10 02:15:12 +02:00
Pavlo Ratushnyi 23e38231e7 Retain redacted phases for native and KAR load failures 2026-10-10 02:00:54 +02:00
Pavlo Ratushnyi 2646561a72 Reject increasing normalized router rank weights 2026-10-10 01:56:30 +02:00
Pavlo Ratushnyi cad2a2776f fix(runtime): read bounded MoE row tiles from retained weight spans 2026-10-10 01:28:54 +02:00
Pavlo Ratushnyi 62c683de20 feat(daemon): validate native tool calls before bounded regeneration and publication 2026-10-10 01:18:32 +02:00
Pavlo Ratushnyi 5761538c07 fix(runtime): allow verified MTP cold load its own finite budget 2026-10-10 00:49:34 +02:00
Pavlo Ratushnyi 3164493644 fix(mtp): rebuild accepted history from actual target residuals 2026-10-10 00:40:02 +02:00
Pavlo Ratushnyi 7cfce65570 feat(runtime): integrate explicit pinned MTP draft and verified generation 2026-10-10 00:26:09 +02:00
Pavlo Ratushnyi 42ce0e008e fix(kar): retain redacted phase and errno on private copy failure 2026-10-10 00:21:22 +02:00
Pavlo Ratushnyi 01c4ac6c22 feat(cuda): admit source-qualified MTP GR and scaled S2 2026-10-10 00:13:45 +02:00
Pavlo Ratushnyi 137402d42b feat(cuda): admit qualified fixed MTP input and dense attention 2026-10-10 00:03:05 +02:00
Pavlo Ratushnyi 5eb2046bc4 fix(runtime): bound explicit KAR cold loads independently 2026-10-09 23:37:36 +02:00
Pavlo Ratushnyi 2598df0335 feat(mtp): bind pinned draft weights and fence target state snapshots 2026-10-09 23:26:28 +02:00
Pavlo Ratushnyi 581baa5cc7 fix(cuda): preserve source-defined GR exponential saturation 2026-10-09 23:08:37 +02:00
Pavlo Ratushnyi ffb967cd56 fix(runtime): identify failed forward and GR stage precisely 2026-10-09 22:49:10 +02:00
Pavlo Ratushnyi 81a9c3d412 feat(runtime): select experimental KAR PLE at explicit load 2026-10-09 22:44:27 +02:00
Pavlo Ratushnyi 5b257a38fe feat(runtime): retain private verified KAR archive ownership 2026-10-09 22:42:46 +02:00
Pavlo Ratushnyi b4def64cf9 feat(linux): connect native CUDA runtime to gRPC daemon and CLI 2026-10-09 22:27:15 +02:00
Pavlo Ratushnyi b6010bb800 feat(runtime): pin existing experimental KAR PLE profile identities 2026-10-09 22:23:14 +02:00
Pavlo Ratushnyi 61b14828d0 feat(runtime): bind explicit KAR PLE mode to qualified fixed CUDA assets 2026-10-09 22:00:08 +02:00
Pavlo Ratushnyi 386a235344 fix(cuda): restore ASCII Q6 module source 2026-10-09 21:19:00 +02:00
Pavlo Ratushnyi 1dfc385464 feat(cuda): add fixed experimental KAR PLE dispatch seam 2026-10-09 21:18:28 +02:00
Pavlo Ratushnyi 8da068cc1f test(runtime): extend qualified layer caller and stage diagnostics 2026-10-09 21:03:06 +02:00
Pavlo Ratushnyi bffa3160f2 feat(cuda): admit independently qualified QSA operator assets 2026-10-09 21:01:50 +02:00
Pavlo Ratushnyi 8364a03002 test(runtime): add opt-in complete artifact forward caller 2026-10-09 20:55:59 +02:00
Pavlo Ratushnyi 7b4c827e20 fix(cuda): preserve runtime theta lowering for QSA parity 2026-10-09 20:50:29 +02:00
Pavlo Ratushnyi 0be23fdbdc fix(model): match verified second shard identity 2026-10-09 20:40:29 +02:00