Commit Graph
43 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 750a8d3003 test(reasoning-budget): replay the Service.run golden through the live worker and the Responses HTTP path
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 16:50:39 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 81b907030f feat(vision): picture parts in the Chat, Messages and Responses dialects, the strata-vision encoder client and GENI embeddings
The three adapters reduce pictures to a Responses input_image, the prompt renderer writes the template's
picture items and returns their sources in prompt order, and the request path encodes them (in turn with the
engine), expands every image pad to its token count and sends GENI with the combined SVE1 file. The encoder
is configured by a top-level vision section, stops with the engine and starts before it. Goldens recorded from
the Python handlers cover fourteen Chat and Messages requests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 16:46:59 +02:00
Pavlo Ratushnyi 7f9bf42a6e Merge branch 'claude/port-window-producers' into claude/port-main 2026-10-14 16:21:00 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 9c5ca2cf03 feat(verify): window GPU smokes, review fixes, seal plan for window assets
- QSA KV binding admits the serving index image size; kv addresses refuse until the resolver is reset
- GR shared-memory attributes only emitted for sm_70+
- docs/cuda-seal-plan-additions-window.json merges the new sources, bound pins and fast-math risk list
- ignored GPU smokes for asset load and shared opt-in

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 16:20:48 +02:00
Pavlo Ratushnyi 2d8d362d6b Merge branch 'claude/port-offline' into claude/port-main
# Conflicts:
#	Cargo.toml
#	control-plane/src/lib.rs
#	crates/context/Cargo.toml
#	crates/context/src/lib.rs
#	crates/model-format/src/qwen4exp_expert_source_bank.rs
2026-10-14 16:09:35 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 8832be7025 docs(offline): record the offline port status, divergences and open items; run the oracle diffs from check-local
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 16:07:14 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 efa6909067 feat(verify): QSA attention-layer window launch plans and KV/index address bindings
K/V append, norm+RoPE, q/gate split, indexer paths, block scores+top-k, device-side KV
resolve, batched decode attention and the output gate (new fast-math source with a
placeholder PTX); pub(crate) address views on the mapped KV owner, resolver and QSA journal.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:58:20 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 5323645773 feat(verify): MoE / FFN window launch plans (router, shared expert, expert groups, hit add, combine)
Native grouped expert gate/up and down kernels are a new source with a placeholder
PTX (UNSEALED) and a seal-plan fragment; everything else binds the sealed assets.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:58:20 +02:00
Pavlo Ratushnyi 49f22a8daf Merge branch 'claude/port-api' into claude/port-main
# Conflicts:
#	Cargo.toml
2026-10-14 15:53:19 +02:00
Pavlo Ratushnyi c16a050e52 Merge branch 'claude/port-experimental' into claude/port-main
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/cuda-driver/Cargo.toml
#	crates/leleka-runtime/src/backend.rs
#	crates/leleka-runtime/src/lib.rs
2026-10-14 15:51:28 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 76d57a549c feat(control): MCP hub (stdio + Streamable HTTP), config keys and GET /mcp
Port of serve/mcp.py: server config validation, background start, paged
tools/list, <server>__<tool> namespacing, error-as-text results with the
character cap, restart on demand, cancellation, GET /mcp. Tested against the
Original's fake MCP server. The server-side tool loop is intentionally not
ported (documented).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:51:13 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 c0cd1d7f19 docs: wording
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:50:27 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 085512b4f3 docs+test: experimental modes status, literal-port drift guard
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:50:14 +02:00
Pavlo Ratushnyi 0648d296be Merge branch 'claude/port-forward-leaves' into claude/port-main
# Conflicts:
#	crates/model-format/src/lib.rs
2026-10-14 15:47:56 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 2c90479b16 docs: seal-plan additions for the forward-leaves CUDA assets (pins, flags, entries)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:46:40 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 9852f7a776 build(cuda): seal-plan additions for the six experimental programs (precise flags per CMakeLists policy)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:46:37 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 392037d83e feat(serving): port the operational HTTP surface of the Python server
control-plane serves /props, /slots, /v1/status, /api/health, /settings, /load, /unload,
/v1/load, /v1/unload, model aliases, CORS with the preflight ahead of authentication and the
own-page guard; replayed scenario by scenario against the real Python handlers. The worker
supervisor gains load/unload, lazy start, idle unload, reload gates (before_load, min free VRAM),
an outside stall watchdog and the reasoning-budget wrap-up (budget tracker golden-tested against
the Python Detokenizer/OutputParser loop). leleka-serving-policy adds CORS, idle, stall watchdog,
logits stride (golden vs the C++ header), request timings and alias rules.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:35:08 +02:00
Pavlo Ratushnyi cc5c5f17a5 Merge branch 'claude/port-rope' into claude/port-main
# Conflicts:
#	Cargo.toml
#	crates/leleka-runtime/Cargo.toml
2026-10-14 15:08:43 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 778811ba36 docs: rewrite rope/memory plan for the applied 262144 lift, PTX regeneration list and open items
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 15:07:47 +02:00
Pavlo Ratushnyi 7d90e0cc4f Merge branch 'claude/port-sampler' into claude/port-main 2026-10-14 14:56:20 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 3ca559cebc feat(serving): serve non-greedy requests through the Original sampler chain
backend-api carries SamplingOptions; backend.rs plans each request with the
validated SamplingParams instead of refusing temperature != 0; the output stage
bypasses the compact argmax for an armed request and draws with the bit-exact
host reference (counter = fed-token position, penalty history = prompt+generated).
MTP with sampling is refused explicitly. Desktop RPC only bounds temperature.
Docs: docs/sampler-reference.md (verified vs open).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 14:55:55 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 7e24f41e34 feat(runtime): KAR routed-expert weight source wired into Load and the MoE stage
KarExpertSource (pinned base + optional overlay, levels 2..=5) verifies whole
archives on the retained descriptor, validates the 48-layer expert map at load,
stages exact ranges and runs one-drain device expert FFNs; ModelBinding gains a
consuming with_kar_expert_source builder, MoeExpertStage routes experts through
it (shared expert/combine unchanged, MMQ cache refused), and NativeBackendConfig
gets kar_expert_source with identity-mixed mode digest and a Load-time probe.
The pure selection, stager, expert map and CPU reference move to model-format
so they run on macOS; the CUDA program gains a SwiGLU entry and a per-context
cached module. Linux-target type-checked only; nvcc/GPU unverified, PTX unpinned.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 14:55:34 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 0deaad99d8 docs: KAR level-decode CUDA port status (verified vs open)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 14:42:54 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 9d581c441b docs: rope scaling and memory-plan port status, findings and pin-lift hunk
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 14:42:42 +02:00
Pavlo Ratushnyi 303fd4cf46 feat(cuda-driver): add fixed ordered f32 matvec primitive
Linux / keyless-cuda-gate (pull_request) Skipped
Linux / verify (pull_request) Successful in 3m45s
Linux / keyless-cuda (pull_request) Skipped
Linux / static-cuda-package (pull_request) Skipped
Linux / hosted-cuda-package (pull_request) Skipped
Linux / linux-cli-container (pull_request) Successful in 1m39s
Linux / linux-static-cli (pull_request) Successful in 5m47s
Linux / release-cli (pull_request) Skipped
2026-10-08 09:51:12 +02:00
Pavlo Ratushnyi 3a478b603c feat(cuda): add fixed typed vector launch and isolated PTX gate
Linux / verify (pull_request) Successful in 6m15s
Linux / keyless-cuda-gate (pull_request) Skipped
Linux / keyless-cuda (pull_request) Skipped
Linux / static-cuda-package (pull_request) Skipped
Linux / hosted-cuda-package (pull_request) Skipped
Linux / linux-cli-container (pull_request) Failing after 4m2s
Linux / linux-static-cli (pull_request) Successful in 9m31s
Linux / release-cli (pull_request) Skipped
Desktop foundation / core (ubuntu-latest) (push) Failing after 13s
Desktop foundation / core (windows-latest) (push) Canceled after 0s
Desktop foundation / core (macos-latest) (push) Canceled after 0s
2026-10-07 23:43:54 +02:00
Pavlo Ratushnyi 7e61ab8007 STRA-102 implement independent CUDA Driver context and buffers
Linux / keyless-cuda-gate (pull_request) Skipped
Linux / verify (pull_request) Failing after 42s
Linux / keyless-cuda (pull_request) Skipped
Linux / static-cuda-package (pull_request) Skipped
Linux / hosted-cuda-package (pull_request) Skipped
Linux / linux-static-cli (pull_request) Skipped
Linux / linux-cli-container (pull_request) Skipped
Linux / release-cli (pull_request) Skipped
2026-10-07 23:09:48 +02:00
Pavlo Ratushnyi baf11daf8c STRA-102 port IQ2_S and IQ3_XXS preparation to Rust
Linux / keyless-cuda-gate (pull_request) Skipped
Linux / verify (pull_request) Successful in 4m50s
Linux / keyless-cuda (pull_request) Skipped
Linux / static-cuda-package (pull_request) Skipped
Linux / hosted-cuda-package (pull_request) Skipped
Linux / linux-cli-container (pull_request) Successful in 4m10s
Linux / linux-static-cli (pull_request) Successful in 8m9s
Linux / release-cli (pull_request) Skipped
Desktop foundation / core (ubuntu-latest) (push) Failing after 8s
Desktop foundation / core (macos-latest) (push) Canceled after 0s
Desktop foundation / core (windows-latest) (push) Canceled after 0s
2026-10-07 22:35:42 +02:00
Pavlo Ratushnyi 4720ef135b fix(ci): verify fresh Gitea upload attachment URLs 2026-10-07 22:04:20 +02:00
Pavlo Ratushnyi 4fa9d307fe STRA-102 port Q6_K and Q2_0 preparation to Rust 2026-10-07 22:04:08 +02:00
Pavlo Ratushnyi 47ab90c7e0 STRA-102 port Q4_K and Q5_K preparation to Rust
Linux / keyless-cuda-gate (pull_request) Skipped
Linux / verify (pull_request) Successful in 3m52s
Linux / keyless-cuda (pull_request) Skipped
Linux / static-cuda-package (pull_request) Skipped
Linux / hosted-cuda-package (pull_request) Skipped
Linux / linux-cli-container (pull_request) Successful in 4m47s
Linux / release-cli (pull_request) Skipped
Linux / linux-static-cli (pull_request) Failing after 11m18s
2026-10-07 21:47:51 +02:00
Pavlo Ratushnyi 4ed6914d84 STRA-102 port Q8_0 and IQ4_XS preparation to Rust
Linux / keyless-cuda-gate (pull_request) Skipped
Linux / verify (pull_request) Failing after 3m22s
Linux / keyless-cuda (pull_request) Skipped
Linux / static-cuda-package (pull_request) Skipped
Linux / hosted-cuda-package (pull_request) Skipped
Linux / linux-static-cli (pull_request) Skipped
Linux / linux-cli-container (pull_request) Skipped
Linux / release-cli (pull_request) Skipped
2026-10-07 21:27:55 +02:00
Pavlo Ratushnyi 1c6d690003 feat(model): port IQ4_NL decoding to independent Rust core
Linux / keyless-cuda-gate (pull_request) Skipped
Linux / verify (pull_request) Successful in 4m58s
Linux / hosted-cuda-package (pull_request) Skipped
Linux / keyless-cuda (pull_request) Skipped
Linux / static-cuda-package (pull_request) Skipped
Linux / linux-cli-container (pull_request) Successful in 6m24s
Linux / linux-static-cli (pull_request) Failing after 12m5s
Linux / release-cli (pull_request) Skipped
2026-10-07 21:11:55 +02:00
Pavlo Ratushnyi a498381cb7 refactor(model): extract independent Rust IQ3 decoding core
Linux / keyless-cuda (pull_request) Skipped
Linux / static-cuda-package (pull_request) Skipped
Linux / hosted-cuda-package (pull_request) Skipped
Linux / keyless-cuda-gate (pull_request) Skipped
Linux / verify (pull_request) Successful in 5m16s
Linux / linux-cli-container (pull_request) Successful in 5m19s
Linux / release-cli (pull_request) Skipped
Linux / linux-static-cli (pull_request) Failing after 7m35s
2026-10-07 20:53:25 +02:00
Pavlo Ratushnyi c6a3fc7e42 feat(engine): extract Rust GGUF foundation and enforce model capability tuples 2026-10-07 20:33:15 +02:00
Pavlo Ratushnyi f015052247 fix(ci): scope release write permission to Gitea publishers 2026-10-07 20:33:14 +02:00
Pavlo Ratushnyi 93109983fb fix(ci): verify actual Gitea release download routes 2026-10-07 20:00:02 +02:00
Pavlo Ratushnyi e028e5d414 fix(ci): publish verified previews through private Gitea API 2026-10-07 19:47:22 +02:00
Pavlo Ratushnyi e3ca4643b8 fix(ci): stage CUDA source inside GPU-hidden build container 2026-10-07 17:45:26 +02:00
Pavlo Ratushnyi 712de0f6bc fix(STRA-101): support Python 3.11 CUDA bootstrap 2026-10-07 17:12:25 +02:00
Pavlo Ratushnyi 8ec9ab5bce Pin Gitea rustup bootstrap and manual GPU gates 2026-10-07 16:44:56 +02:00
Pavlo Ratushnyi 5cc41008eb Build opt-in KAR PLE CUDA profile on Gitea 2026-10-07 16:03:43 +02:00
Pavlo Ratushnyi 4013e0c9bd Import tracked Strata Next source snapshot
Desktop foundation / core (macos-latest) (push) Canceled after 0s
Desktop foundation / core (windows-latest) (push) Canceled after 0s
Linux / verify (push) Canceled after 0s
Linux / keyless-cuda (push) Canceled after 0s
Desktop foundation / core (ubuntu-latest) (push) Failing after 28s
Linux / static-cuda-package (push) Canceled after 0s
Linux / hosted-cuda-package (push) Canceled after 0s
Linux / linux-static-cli (push) Canceled after 0s
Linux / linux-cli-container (push) Canceled after 0s
Linux / release-cli (push) Canceled after 0s
2026-10-05 18:15:08 +02:00