Commit Graph
757 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 3fcbd901aa Windows file-backed form: lower memory floors (3072/1536) — no OOM killer, the start check needs fixed footprint + soft floor + reserve
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 22:41:07 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 40affd9349 cuda-driver: the merge of the performance branch left two Linux-only cfgs on exports Windows needs (set_chain_down_override fallback, original_verify exports)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 22:37:01 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d2386f12d7 native Windows fixes from the evening run: resident expert budget sized from the free RAM, LOCALAPPDATA fallback for the cuBLAS lookup, reconfigure refuses up front when the host cannot hold the reopened stack and ends the engine process when reopen and rollback both fail
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 21:02:51 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 1eacd3d974 docs/windows: native evening run: cuBLAS probe mismatch, greedy resident budget, reconfigure on a starved host
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 20:57:21 +01:00
Pavlo Ratushnyi c558cdb755 Merge branch 'claude/perf3' into claude/port-gpu-bringup
Rust port / port-fast (push) Failing after 8s
Rust port / port-typecheck (push) Failing after 8s
Rust port / port-oracles (push) Failing after 9s
Rust port / port-linux-tests (push) Failing after 15s
2026-10-25 17:52:29 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e7fd12b77b docs: plan for porting the Strata upstream changes into the Leleka runtime (phases 0-3, gates, status table)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 17:44:56 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 885bfb457e docs/windows.md: measured outcomes of the real runs on this laptop (WSL2 bridge and native engine), findings, fixes; stage-model.ps1 drops the robocopy progress when redirected
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 17:04:05 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 ab42667d3a e2e_windows: stopping must not wait for the children's grace period
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 16:59:13 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 c5be696205 Windows: stop the children with Ctrl-Break in their own process groups (the engine, gateway and API handle it), so leleka down takes seconds instead of three grace periods; hidden mode hides the console instead of freeing it; no readiness summary after up --mode none
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 16:58:41 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 53a76662a0 native engine: the MTP pack ranges are read with seek_read on Windows (the load stopped at SelectedBinding/UnsupportedKind after the archive bind)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 16:58:41 +01:00
Pavlo Ratushnyi 7fa275c12c Merge branch 'claude/windows' into claude/port-gpu-bringup
Rust port / port-fast (push) Failing after 8s
Rust port / port-typecheck (push) Failing after 9s
Rust port / port-oracles (push) Failing after 10s
Rust port / port-linux-tests (push) Failing after 17s
2026-10-25 15:54:31 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 8623932c98 Windows round 2: leleka service (Task Scheduler / user unit), doctor names what is missing and the fix, stage-model.ps1 and fetch-cublas.ps1, native supervisor end-to-end test with the fake runtime, WSL find-binary fix, docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 15:53:31 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 07b1fdfc0b deploy planner: the resident expert copy (53.5 GiB) and the governor reserve count against the free-RAM target; the workstation preset is not reachable in the resident form on a 121 GiB host (live check plat-reconf-live)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 15:47:53 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5efa590886 deploy planner: 15 CPU workers (the pool's limit) and a 2 GiB workstation VRAM margin, from the measured cost of the preset (job 9p0)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 15:33:14 +01:00
Pavlo Ratushnyi c7c1252bf9 docs: exactness coverage 2026-10-25 14:14:47 +01:00
Pavlo Ratushnyi 7a5711b71c chain-probe: down variants checked at every T in 1..8 2026-10-25 14:14:41 +01:00
Pavlo Ratushnyi 4ef5d0fab1 sm86: companions for qsa_late.ptx and chain_window.ptx (full regeneration, refreshes the stale pcie ones); qsa_late stays opt-in on sm_86 until probed there 2026-10-25 14:13:29 +01:00
Pavlo Ratushnyi 3f6720f235 docs: pending gates; cmp_rhash.py 2026-10-25 14:07:18 +01:00
Pavlo Ratushnyi f86eee7a4a docs: measurement conditions, chain summary 2026-10-25 14:06:54 +01:00
Pavlo Ratushnyi e64a3da1b7 Merge branch 'claude/platform' into claude/port-gpu-bringup
# Conflicts:
#	crates/deploy/src/app.rs
#	crates/deploy/src/cli.rs
2026-10-25 14:06:50 +01:00
Pavlo Ratushnyi 0ec20ad0f8 docs/ledger: wording 2026-10-25 14:04:38 +01:00
Pavlo Ratushnyi 157742811e docs/ledger: perf3 follow-up table 2026-10-25 14:04:31 +01:00
Pavlo Ratushnyi e26abf62bd chain-probe: first-pass chain timing; docs 2026-10-25 14:04:23 +01:00
Pavlo Ratushnyi 81ca12c34c docs/chain-kernels: hyper-connection read, second pass 2026-10-25 14:03:34 +01:00
Pavlo Ratushnyi c793186732 docs 2026-10-25 14:03:09 +01:00
Pavlo Ratushnyi b6925ce73f docs/prefill-throughput: chunk 8192 in live sessions, replay A/B, loan ladder 2026-10-25 14:03:01 +01:00
Pavlo Ratushnyi 05042010db ladder off by default until its gate runs; tiled-down geometry helper and test; replay arm flags tiers/notiers; job scripts on rt-a7 2026-10-25 13:57:24 +01:00
Pavlo Ratushnyi 61ac91eaef loan ladder: tier_for helper and test 2026-10-25 13:49:34 +01:00
Pavlo Ratushnyi 38d03f0f7c docs/prefill-throughput: late-chunk QSA selection results 2026-10-25 13:46:13 +01:00
Pavlo Ratushnyi 35b57f1007 chain down-projection override per replay arm (!w8) 2026-10-25 13:39:59 +01:00
Pavlo Ratushnyi 23ff8040e0 chain-probe: final probe list (tiled down), pf experiment dropped 2026-10-25 13:38:14 +01:00
Pavlo Ratushnyi c9ccd81856 chain: hyper-connection down projection tiled over rows and tokens (8 rows x 2 tokens per block): 16.6 -> 9.7 us at 4 rows, bit-identical; probe diagnostics; sealed chain_window.ptx 2026-10-25 13:34:33 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 1f17b5d2d7 supervisor: say so in the answer when the previous engine cannot be restored after a refused reconfigure
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 13:29:22 +01:00
Pavlo Ratushnyi 4965126d14 Merge branch 'claude/windows' into claude/port-gpu-bringup
Rust port / port-fast (push) Failing after 10s
Rust port / port-typecheck (push) Failing after 10s
Rust port / port-oracles (push) Failing after 16s
Rust port / port-linux-tests (push) Failing after 22s
2026-10-25 13:15:34 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 5a2c5cdb6b docs/windows.md: build, model files, the WSL2 bridge and the native route, telemetry, reconfigure, limits
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 13:15:08 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 7243ed9b59 leleka.exe: PowerShell request example in the summaries, Windows plan hides Linux-only commands, cuBLAS hint
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 13:13:23 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 6fde2ff222 leleka.exe: the WSL2 front end (up/preflight/verify through wsl.exe with path translation and .wslconfig advice; status/reconfigure/down over loopback HTTP; doctor), Windows facts probe, native defaults, Windows preflight/plan, deploy tests pass on Windows and Linux
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 13:11:44 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 da6f8f2f48 metrics: empty hardware blocks and a null telemetry member while the engine publishes nothing
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 13:05:12 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 9f26eee613 deploy: an inherited sealed archive is not charged to the resource planner twice
With --kar-fd the memfd is already missing from MemAvailable; compute() charged the archive again and sent a host that fits to the mapped form. The reconfigure planner shares the correction.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:59:45 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 1c0c8f97e2 leleka-runtime: the host-memory admission reads (/proc/meminfo) are answered from Win32 on Windows
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:59:11 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 1a77b2805c metrics: history is the last 60 health-tick samples, documented as such
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:57:51 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 e77c98d3f2 Windows: release build recipe (scripts/windows/build-release.ps1), engine tests follow the mapped-only default, Linux-only errno and journal-lock tests gated
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:57:21 +01:00
Pavlo Ratushnyi 231ea009b7 Merge branch 'claude/upstream-sync' into claude/port-gpu-bringup
Rust port / port-fast (push) Failing after 9s
Rust port / port-typecheck (push) Failing after 8s
Rust port / port-oracles (push) Failing after 9s
Rust port / port-linux-tests (push) Failing after 16s
2026-10-25 12:49:38 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 92802d0053 docs: upstream provenance for 41cf05a0, local patch files, and the 2026-10-25 upstream digest
docs/upstream.md: new pin, pin history (both SHAs of the old pin), local patches as re-applied, conflict table,
left-out list, verification. docs/upstream/*.patch: the local patches on the old and the new pin.
docs/upstream-digest-2026-10-25.md: Qwen-path shortlist for the Rust runtime, KAR generality versus the
DeepSeek-V4.1 engine, the DeepSeek engine, new tools, compatibility, server build plan (not run).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:49:15 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 87e2633afe engine/strata: bring the Strata subtree to upstream 41cf05a0 (engine 0.1.50) with the local patches re-applied
Documented tree replacement (the history has no git-subtree metadata): 3-way merge of the old subtree
(570201a:engine/strata) against upstream 41cf05a06a25dd29103b7b27a2279a3f60c21876 (2026-10-25), merge base =
the old pin d9ab8435 (tree-identical to upstream 5b734e42; d9ab8435 is not an ancestor of upstream main).

Local patches re-applied by hand where they conflicted (15 files): STRATA_CUDA_STATIC profile, experimental KAR
experts and KAR PLE arms, keyless V-only arm (now beside upstream's K8V4 hybrid KV and fused norm+rope). Details,
conflict table and left-out files are in docs/upstream.md.

Left out (weights, captures, logs, media): new bench/results (2022 files), binary media and app assets (61),
docs/work/evidence (24), *.bin / *.gguf data files, and the 7 files the first import already left out.

scripts/build-cpu.sh: build the 11 CPU tests upstream registered since the old pin (they ran as "Not Run").
Checked: build-cpu.sh 16/16 ctest in WSL; sm_86 CUDA objects of the patched files compile, also with the KAR
macros on. No GPU run, no quality gate.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:49:15 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 1bbb9d1b8e desktop-core and control-plane build and test natively on Windows: api-key init (hard-link publish, user profile ACL), atomic no-replace directory publish via MoveFileExW, tokenizer export without directory fsync, MSVC link stubs for the ggml bridge, Unix-only shell-script tests gated
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:45:21 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 27d070162d docs: telemetry GPU fallback and request block; clippy: collapse a let-chain
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:42:59 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4d28f0a250 reconfigure: kv_resident is fixed per process and cpu_workers is 1..=15 (found by live job 9r1); reconfigure takes 7 s and waits for the request in flight
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:42:33 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 02abdddf70 tests: real nvidia-smi output as fixtures; /api/requests is behind the API key
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:42:04 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 d2701dbc65 docs: feasibility decisions for KAR routed/prefill experts and the multi-GPU handoff; bring-up print review with a source-scan guard
Item 5: the patch source is not in the tree but is in the git objects of the codex KAR branch; recorded what it is, what can be recovered and why it is not ported. Item 6: scope of set_stage/set_next and what a layer split needs; nothing implemented. Item 8: every production DBG/PROBE print is behind LELEKA_BRINGUP_TRACE or a switch of its own; crates/leleka-runtime/tests/bringup_prints_gated.rs keeps it so.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:36:50 +01:00