Commit Graph
215 Commits
Author SHA1 Message Date
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 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 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 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 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 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 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
Pavlo RatushnyiandClaude Sonnet 5.5 ee1717e2f7 leleka reconfigure: --persist, and --gpu-budget-gib/--preset by restarting only the engine under the supervisor
The CLI hands budget and preset changes to the supervisor through a request file; the supervisor checks them with the resource planner twice (before and after stopping the engine), restarts the engine with the sealed archive descriptor it holds, keeps the gateway and API processes and ports, and restores the previous settings when the planner or the new engine refuses. --persist writes the result into leleka.json (and strata.json for the context). leleka.json now records the profile before the preset changed it so that dedicated undoes workstation.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:29:39 +01:00
Pavlo Ratushnyi 75e7e47dcc control-plane: /api/requests monitor, the Python Monitor members of /metrics, Prometheus text exposition
Opt-in api_monitor keeps the last 100 requests of the chat, messages and responses dialects; /metrics gains engine, live, requests, totals, hardware, history; ?format=prometheus (or a scraper Accept) renders the same document as gauges and counters. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:18:32 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 570201a0dc deploy: the rtx5090-32g profile uses the adaptive speculative window (spec_min_p 0): +5.1% decode on the live CRM replay
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 03:54:44 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 81fc8a7717 leleka reconfigure: change context, caches and resources of a running engine (CLI, docs)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 03:03:03 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 f96cdeedc8 chain kernels: agreement at 70k context (rounding-level, inside the chunk-cut control) and enabled in the rtx5090-32g profile
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 02:42:31 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 4a8047ac46 docs: AGENTS.md repository state and upstream provenance note reflect the port
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 02:32:37 +01:00
Pavlo Ratushnyi c3d4cce4e6 Merge branch 'claude/adaptive-spec' into claude/port-gpu-bringup
# Conflicts:
#	crates/leleka-runtime/src/backend_original_serve_replay.rs
#	crates/leleka-runtime/src/backend_original_serve_smoke.rs
#	crates/leleka-runtime/src/qwen_forward/original_spec_controller.rs
2026-10-25 02:51:11 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 c4b76a8009 deploy: the rtx5090-32g profile runs --prefix-cache-tail reply (slot-equivalent session resume)
Live Codex CRM: median prefill 2265 -> 706 ms, p90 3620 -> 1064 ms, decode unchanged; teacher-forced agreement
(job 9d4) is within the noise of a chunk-cut change (control 9d5). docs/prefix-cache.md has the numbers.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 02:35:44 +02:00
Pavlo Ratushnyi 897f2aa476 Merge branch 'claude/chain-kernels' into claude/port-gpu-bringup 2026-10-24 20:54:12 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 07a540aa52 prefix cache: 60-minute session retention (wall-time expiry, oldest-idle displaced first), idle sweep; docs for telemetry and retention
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 20:02:09 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 b726c4615b deploy: resource presets fall back to the mapped (SSD/HDD) form when RAM cannot hold the pinned one
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 19:51:44 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 4e53d8474a deploy: resource presets (dedicated/workstation) computed from the host facts
leleka up --preset dedicated|workstation (env LELEKA_PRESET): CPU expert workers, host RAM floors and VRAM budget are
computed from cores, MemTotal/MemAvailable and free VRAM, printed, preflighted and baked into leleka.json.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 19:46:25 +02:00
Pavlo Ratushnyi 1344cd807d Merge branch 'claude/e2e' into claude/port-gpu-bringup 2026-10-24 11:03:25 +02:00
Pavlo Ratushnyi b06de93dbc docs/e2e: complete reference-config Codex sessions (943d, 945d); run-codex.sh does not fail when the browser checks run elsewhere 2026-10-24 11:03:12 +02:00
Pavlo Ratushnyi 04b2b038b0 Merge branch 'claude/e2e' into claude/port-gpu-bringup 2026-10-24 06:47:48 +02:00
Pavlo Ratushnyi 73218c957e docs/e2e: diagnosis of the reference-config reruns and their partial numbers 2026-10-24 06:47:10 +02:00
Pavlo Ratushnyi d3f6df9c28 Merge branch 'claude/prefill-overlap' into claude/port-gpu-bringup 2026-10-24 02:27:42 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 01bd477cef docs(prefill): aligned stream copies, deferred guards, 180k
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 02:27:24 +02:00
Pavlo Ratushnyi b46cfe6c3b Merge branch 'claude/decode-parity' into claude/port-gpu-bringup 2026-10-24 02:23:59 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 ce7eed156a chain: probe harness fixes (sync after uploads), trimmed GR down variants, QSA phase profile, vocabulary replay job, doc draft
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 02:22:37 +02:00
Pavlo Ratushnyi c667a2edd7 docs(adaptive-spec): wording 2026-10-24 02:20:42 +02:00
Pavlo Ratushnyi 9849cdb6ad docs(adaptive-spec): design, knobs, results 2026-10-24 02:20:36 +02:00
Pavlo Ratushnyi 65074758c9 docs: decode parity round 2 2026-10-24 02:03:29 +02:00
Pavlo Ratushnyi acabd3fc82 Merge branch 'claude/cp-latency' into claude/port-gpu-bringup 2026-10-24 02:00:07 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 254425d4b0 cp-latency: results and method (docs/cp-latency.md), run-ab.sh, replay --store
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:59:27 +02:00
Pavlo Ratushnyi 88f74a323d Merge branch 'claude/deploy' into claude/port-gpu-bringup 2026-10-24 01:44:35 +02:00
Pavlo Ratushnyi 1ec61fd548 Merge branch 'claude/ttft' into claude/port-gpu-bringup 2026-10-24 01:41:08 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 ccfcbcfa97 docs: fix a reference
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:38:23 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 0003ef7d7b scripts: startup profile job templates
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:38:19 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 681a2d193d docs(deploy): startup profile jobs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:38:12 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 0fe1c0298c docs(deploy): fast restarts - phases, changes, stamp rules, laptop numbers
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:36:11 +02:00
Pavlo Ratushnyi fd182ef8f4 Merge branch 'claude/port-gpu-bringup' into claude/ledger 2026-10-24 01:28:20 +02:00
Pavlo Ratushnyi a1e6d2e2ba docs/ledger.md: wording 2026-10-24 01:28:15 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 739d5b638e docs: request-end checkpoints (--prefix-cache-tail)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:28:14 +02:00
Pavlo Ratushnyi beb5ca4b94 docs/ledger.md: decode ledger (static regime, draft vocabulary, per-round table) 2026-10-24 01:28:09 +02:00
Pavlo Ratushnyi ecffc71f4b Merge branch 'claude/memory-safety' into claude/port-gpu-bringup 2026-10-24 01:04:44 +02:00
Pavlo Ratushnyi 86731ba000 docs(memory): RSS evidence from the e2e sessions (945, 943b), soak deferred by the coordinator; offline fit script 2026-10-24 01:04:28 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 cfe0a02312 docs/laptop-profile: state of the laptop work (OEM vs Turbo, incident, A0 numbers, recommended config, open list); watchdog rule narrowed to the OEM signature
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 00:26:05 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 3bed06d185 docs/roofline: laptop ceilings in Turbo mode vs the OEM 30 W profile; guarded runner can wrap any GPU job
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 00:13:42 +02:00
Pavlo Ratushnyi 1823923fba Merge branch 'claude/prefill-overlap' into claude/port-gpu-bringup 2026-10-23 21:07:52 +02:00