Commit Graph
24 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 5e4c9c9530 models: all model paths point into the work folder (models/leleka-gates, models/deepseek-v41-flash)
Rewrite the 5090 server model paths in 30 repo files (scripts, tools, docs) from the old
locations (/home/para/leleka-gates, $HOME/leleka-gates, /data/models) to
/home/para/work/leleka/models/..., add the AGENTS.md workspace rule and the move record
docs/experiments/models-move.md. Not merged: the smoke test is pending.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 19:12:29 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 b63a91b2fa deploy: rtx5090-32g gpu_budget_bytes 30 GiB -> 32,819,404,800 (31,299 MiB) so the dense-slab slot gain reaches the product
Needed for the slot gain: the slabs save physical bytes the Context never charged, so the
budget must rise by about that much. Smoke with this budget: ~11,568 slots, lowest free VRAM
1,035 MiB. Also the systemd unit template, the config and reconfigure tests, and the docs.
Preflight now needs 31,299 MiB free at start (was 30,720; idle 5090 reports 32,110).
Revert by restoring 32212254720. Owner confirmation required before merge.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 11:59:55 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 66cc34f850 rtx5090-32g profile: prefill chunk and prefix-cache grid 8192 by default
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 16s
Rust port / port-typecheck (push) Failing after 19s
Linux / verify (push) Failing after 33s
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Linux / release-cli (push) Skipped
Rust port / port-oracles (push) Failing after 24s
Rust port / port-linux-tests (push) Failing after 28s
The shipped profile left both at 2048. Paired 256k session on the 5090 (same text, 5 turns): TTFT sum 131 s at 2048, 55-60 s at 8192
(night5 / night6 / rest-full / tune-A), decode unchanged. Tests and docs follow the new default.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-27 23:44:13 +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 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 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 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 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 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 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 RatushnyiandClaude Sonnet 5.5 0af0bfaed4 feat(memory): return evicted heap to the OS after a shed, planned-vs-measured column in the inventory table, docs draft
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 01:57:55 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 71a4f95991 docs: map deploy.md to charter goal G2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 15:41:19 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 3c1d75ec37 docs: deploy.md results, findings and open items
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 15:38:47 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 b9fb5d0160 test(deploy): fake engine reports a refused load on its own stderr; summary hint for user units; ignore dist/
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 15:35:42 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 e03d97dd86 fix(runtime): production Original Load admits the routed-expert bank; deploy: operation polling, expert-source profile field
The Original serve Load never admitted an expert source (the serve smokes call
load_resident_expert_source themselves), so the stack's prompt arena failed with
InputRead on the first real Load through leleka-inference. leleka-inference gains
--expert-source resident|mapped; backend.rs admits the chosen bank before the
driver. leleka up passes it per profile and the supervisor stops waiting when the
load operation is FAILED/INDETERMINATE.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 15:18:02 +02:00