Commit Graph
161 Commits
Author SHA1 Message Date
Pavlo Ratushnyi 1823923fba Merge branch 'claude/prefill-overlap' into claude/port-gpu-bringup 2026-10-23 21:07:52 +02:00
Pavlo Ratushnyi 889a5f96ce Merge branch 'claude/e2e' into claude/port-gpu-bringup 2026-10-23 20:22:04 +02:00
Pavlo Ratushnyi 4cbda5834c docs/e2e: reference-equivalent reruns and the draft-vocabulary finding 2026-10-23 20:21:47 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 080db529b7 docs(prefill): defaults, depth, 180k results, merged copy path
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23 20:18:33 +02:00
Pavlo Ratushnyi 725b7ba74e Merge branch 'claude/memory-safety' into claude/port-gpu-bringup 2026-10-23 19:40:02 +02:00
Pavlo Ratushnyi f51d2d2e8b docs+scripts(memory): leak soak jobs and offline slope fit (queued) 2026-10-23 19:39:39 +02:00
Pavlo Ratushnyi c9006e68cf Merge branch 'claude/e2e' into claude/port-gpu-bringup 2026-10-23 19:29:22 +02:00
Pavlo Ratushnyi 706020f44b docs/e2e: replay status 2026-10-23 19:28:56 +02:00
Pavlo Ratushnyi 7a96807351 docs/e2e: Codex session results, final binaries, trace tables; analyze_session attributes prefix lines to the next request 2026-10-23 17:38:40 +02:00
Pavlo Ratushnyi e70a05b9d1 docs(memory): job 914 results, CRM session analysis, leak jobs 2026-10-23 16:20:54 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 904ac58d3a fix(cuda-driver): fence the staged residual rows (cuStreamSynchronize(0)) before the draft graph reads them; budget: reserve 2 GiB, admit floor soft+reserve, resident fixed footprint measured, plan-vs-actual check; leak scenario, slope fit, heap stats
- stage_first_residual_direct: cuMemcpy D2D is ordered on the legacy stream only; the draft graph runs on a non-blocking stream. The copies are now followed by a legacy-stream
  synchronize (not a context synchronize). Model-free ordering tests.
- memory budget from the real Codex CRM session (e2e job 945): plan constant for the resident bank corrected (+1.1 GiB), reserve 2 GiB, prefix insertions stop at soft+reserve,
  note_post_load compares the plan with the host after the stack opened.
- smoke: leak scenario (30 s RSS anon/file/shmem, meminfo, VRAM, prefix store, mallinfo2) with OLS and Theil-Sen slopes; LELEKA_MEMORY_NO_TRIM A/B knob.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23 16:17:44 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 775cfb1653 docs(quality): retrieval verdict, outlier row localised by the layer ladder, stop-set fix re-confirmed
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23 16:10:23 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 9c18bed1a1 Merge claude/port-gpu-bringup into claude/prefill-overlap
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23 16:08:55 +02:00
Pavlo Ratushnyi 4f7c4618d3 Merge branch 'claude/quality-gate' into claude/port-gpu-bringup 2026-10-18 05:30:48 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 f779694a77 docs: pointer from model-assets to the quality gate; pending jobs noted
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 05:30:29 +02:00
Pavlo Ratushnyi 0790ba6ec9 Merge branch 'claude/memory-safety' into claude/port-gpu-bringup 2026-10-18 05:09:13 +02:00
Pavlo Ratushnyi 7b17d50bdc docs(memory): queued job 914 2026-10-18 05:08:21 +02:00
Pavlo Ratushnyi 8896b458b4 docs(memory): inventory, tests and laptop results; soak session length bounded by the context 2026-10-18 04:47:02 +02:00
Pavlo Ratushnyi 55fdf1635f Merge branch 'claude/e2e' into claude/port-gpu-bringup 2026-10-18 04:38:38 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 505f3ee70f fix(runtime): output cap 4096 -> 32768 (one shared constant); /v1/status omits a null prefix_cache
The Codex tic-tac-toe run (job 943) ended after 4 minutes: the model wrote the whole index.html in one tool call, hit the
runtime's 4096-token output cap three times (tool call unterminated -> response.failed 'tool parameter is incomplete', then
'incomplete: max_output_tokens' -> turn.failed -> Codex exit 1). The Original server has no such cap (max_tokens 0 = the rest
of the context). RuntimeServer, the engine request check, strata-next's runtime default, the leleka-deploy generated config
and the examples now use leleka_backend_api::MAX_OUTPUT_TOKENS = 32768. /v1/status keeps the Python server's key set when no
prefix cache exists (http_surface golden regressed with the prefix-cache merge).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 04:36:37 +02:00
Pavlo Ratushnyi 4f796d2d80 docs(memory): knobs and mapped-bank reserve 2026-10-18 04:08:27 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 f53d54d122 test(control-plane): http_surface golden ignores the Rust-only status keys prefix_cache and memory; docs results
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 04:04:37 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 faa572bd1e docs(quality): quality gate result, envelope, tolerances, verdicts
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 03:26:37 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 3f2911bda5 docs(prefill): expert stream overlap findings and measurements
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 03:24:46 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 157887eed9 docs: LF endings, staging hazards, layer layout fix
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 02:49:11 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 4effc72ad5 docs: roofline model (measured 5090 ceilings, per-step tables) and schedule design; microbench h2d2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 02:48:00 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 51c82250f1 feat(memory): inventory totals separate file-mapped bytes from RAM; swap-out and PSI thresholds are tunable (LELEKA_MEMORY_SWAPOUT_PAGES_PER_S, _PSI_SOME_SHED, _PSI_FULL_REJECT)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 02:19:52 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 3c41ee0646 tools/microbench: model-free roofline microbenchmarks, offline model, holder jobs; docs/schedule-design.md draft
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 02:05:18 +02:00
Pavlo Ratushnyi ed389d4de8 Merge branch 'claude/memory-safety-unsafe' into claude/memory-safety 2026-10-18 02:03:00 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 6413c9a3dd docs(memory-safety): unsafe and host-buffer lifetime review
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 02:01:05 +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 Ratushnyi 1cd52bc388 Merge branch 'claude/port-gpu-bringup' into claude/e2e 2026-10-18 00:59:49 +02:00
Pavlo Ratushnyi 7330ddb6d5 Merge branch 'claude/prefix-cache' into claude/port-gpu-bringup 2026-10-18 00:57:29 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 44e57ee30e docs(prefix-cache): final-policy agent trace (job 927), measured restore costs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 00:07:02 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 25538a8300 docs(prefix-cache): design, protocol, knobs, results (5090 jobs 921-926, laptop), remaining; 180k policy simulation; port-status row
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 23:54:47 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 dba10288dc fix(prefix-cache): a hit counts as shared evidence only on a branch point (histories fork below it), not because another session ran in between
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 22:12:25 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 f2a99fb048 docs: e2e run report (docs/e2e-run.md)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 22:11:40 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 5b4c817f60 docs: decode parity findings, flags and paired A/B (jobs 980-985)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 21:33:35 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 8af18396b8 feat(prefix-cache): pool protocol (summary through runtime gRPC, /v1/status, /v1/prefix_match), --prefix-cache-mib/--prefix-cache-block, laptop profile in the smoke, docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 19:47:53 +02:00
Pavlo Ratushnyi 98b7cf24af Merge branch 'claude/port-gpu-bringup' into claude/e2e 2026-10-17 15:45:13 +02:00
Pavlo Ratushnyi 0b0d128fe2 Merge branch 'claude/deploy' into claude/port-gpu-bringup 2026-10-17 15:44:41 +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 d70c1d8dca docs(serve): seed replicate on the merged base
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 15:26:49 +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
Pavlo RatushnyiandClaude Sonnet 5.5 b4d12bdd53 fix(runtime): bounded generation identity window instead of a 256-generation epoch limit
RuntimeServer and the engine Proxy remembered every accepted request id for the life of
an epoch and refused work after 256 (generation_capacity), which an agent session
exhausts quickly. Both now use leleka_backend_api::RecentIds (16384 most recent ids, FIFO).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 14:21:41 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 6e96c497a1 docs(serve): residency seeded from the prompt's routing (first-request A/B on the 5090 and the 3080 laptop)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 12:17:07 +02:00
Pavlo Ratushnyi f907a1bfdf Merge branch 'claude/ms-trim' into claude/port-gpu-bringup 2026-10-17 11:06:19 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 6050e8644a perf(serve): the refill queued inside the assembly is opt-in (LELEKA_REFILL_DEFER=on) until it has a GPU result
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 10:14:53 +02:00