Commit Graph
619 Commits
Author SHA1 Message Date
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 0de8d9e0e2 perf(startup): hash the shards while the supervisor fills the sealed memfd
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:35:08 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 53ef34675d test(deploy): leleka verify runs the engine in rehash mode and reports failure
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:32:14 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 f96074c360 perf(startup): verify shards and archive in parallel with read-ahead, verification stamps, attested sealed archive, parallel memfd fill, leleka verify
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:28:11 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 cceb4b4032 perf(startup): phase timing lines (leleka-load-time) and leleka-inference --verify-only
Always-on one-line phase timings for a model load and a CPU-only verification mode that
runs the load-time source verification (shards, KAR archive) with no CUDA. Baseline for
the startup work: no behaviour change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:14:06 +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 RatushnyiandClaude Sonnet 5.5 c5f46697cb laptop: parameterised bench harness (sequence/soak/prefix knobs), guarded run script with GPU-state preflight and 1 Hz watchdog, long-prompt generator
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 00:02:04 +02:00
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 RatushnyiandClaude Sonnet 5.5 e08eab5fad feat(deploy,e2e): bind the MTP draft vocabulary (--mtp-rt-dir = the MTP pack) in the generated engine command, the e2e runner and the replay
The Original drafts over the 106k-row draft_vocab.bin of data/mtp-rt; the daemon default (rt_directory None) and the smokes drafted over
the full 248k-row head (+0.18 ms per draft step, ledger agent). Jobs 943b/945 ran without it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23 19:42:01 +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 0e9eab62f7 e2e: reference-equivalent Codex rerun jobs (943c/945c) and replay arms job 948 2026-10-23 19:30:23 +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 242d54a503 perf(prefill): deferred guard status for the prompt producer's run (LELEKA_PREFILL_DEFER_GUARDS=1, experimental, default off): stream-ordered zero + DtoH into a pinned ring, cross-stream event ordering instead of the context drain, evaluated in order before results leave the device
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23 16:14:53 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 cb843dd7b7 perf(prefill): page-aligned expert supersets in the chunk stream (merged with claude/ledger's ring change)
The stream entries carry the 4 KiB-aligned supersets, their slot offsets and the offsets of the exact pieces; the
gather reads the exact pieces at those offsets (same bytes reach the MMQ slot). LELEKA_PREFILL_ALIGNED_COPY=0 restores
the literal layout in both paths.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23 16:14:46 +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 Ratushnyi a6be2e2106 Merge branch 'claude/ledger' into claude/prefill-overlap 2026-10-23 16:09:03 +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 34436ac9c1 perf(prefill): the resident and device QSA attention paths launch the guards with the same full grid 2026-10-23 16:08:09 +02:00
Pavlo Ratushnyi 73e77f8225 Merge branch 'claude/port-gpu-bringup' into claude/e2e 2026-10-23 16:07:51 +02:00
Pavlo Ratushnyi c12685156e e2e: browser checker finds the cells by probing (perspective boards) 2026-10-23 16:07:51 +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 RatushnyiandClaude Sonnet 5.5 71320722f2 chore: lockfile entry for leleka-memory after the merges
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 05:09:56 +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 Ratushnyi 6389188d7a e2e: job 943b 2026-10-18 04:38:06 +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 82d7734dde test(memory): reader scenario decodes a fixed number of tokens and lasts until the reader has streamed its volume
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 03:57:43 +02:00
Pavlo Ratushnyi d20c2a67af chore(memory): shed2 job script 2026-10-18 03:55:05 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 e345a7fe56 test(memory): shed smoke re-centres the floors before the recovery phase
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 03:50:33 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 cbb7b5392c test(quality): retrieval section of the analysis
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-18 03:27:03 +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 Ratushnyi 8b27cea0ff h2d probe: 16 GiB footprint 2026-10-18 03:20:56 +02:00