Commit Graph
691 Commits
Author SHA1 Message Date
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 RatushnyiandClaude Sonnet 5.5 6bbf0eae11 prefix cache: LELEKA_PREFIX_RETENTION_S sets the session retention (diagnostic knob)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 02:31:20 +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 RatushnyiandClaude Sonnet 5.5 cf7a62e69d q_tail_gate: judge the tail arms against a chunk-cut control as well as the Original envelope
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 01:41:18 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 ba9474b9b0 replay: LELEKA_REPLAY_FORCE teacher-forces every request along its recorded tokens; scripts/quality/q_tail_gate.py compares the tail-checkpoint arms against the grid-only arm
Rust port / port-fast (push) Failing after 8s
Rust port / port-typecheck (push) Failing after 8s
Rust port / port-oracles (push) Failing after 14s
Rust port / port-linux-tests (push) Failing after 19s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 23:11:06 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 9e0914df26 gateway: an undeclared apply_patch function call runs through the declared shell tool instead of failing the stream
The model sometimes calls apply_patch as a function although Codex declares only exec_command/write_stdin; the stream
failed, Codex retried into the same call and the turn died (live job 9e1 after 6 requests).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 22:22:28 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 99409f1826 telemetry: the last finished request's figures stay visible while the next one runs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 21:36:38 +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 85185ecd00 normalize line endings of the files touched by the resource-preset and telemetry commits back to LF
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 20:54:11 +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 08e2c78761 runtime telemetry: GPU load/VRAM (NVML), RAM, CPU cores, prefill/decode tok/s, cache hits, context
leleka-memory::telemetry (sampler + per-request records) -> Backend::telemetry_report -> Snapshot.telemetry_json
(gRPC) -> control plane /v1/status machine -> leleka status.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 19:58:28 +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 e0bd5edd8b deploy: rtx5090-32g profile carries the reference agent configuration
Expert tier auto-sized per layer from data/expert-profile.bin (shipped routing profile, default digest), spec_min_p 0.5 (new profile field -> --spec-min-p), 30 GiB GPU budget, memory reserve 2 GiB. Measured in the real Codex sessions (docs/e2e-run.md 7d): weighted decode 129-130 tok/s vs 72-75 with the old profile.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 11:04:58 +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 RatushnyiandClaude Sonnet 5.5 e5924c1099 fix(runtime): scalar draft-KV fallback checks its weights against the retained MTP owner, not the MoE cache
With --mtp-rt-dir the retained MTP weights come from the RT bank, whose buffers are not the pinned pack's MoE-cache matrices, so the pointer
identity check of record_original_scalar_draft_kv always failed (InvalidProjectionShape -> CudaExecution -> response.failed) on every
prompt that takes the short-tail scalar fallback (first request of a Codex session; a resumed prefix with a tiny tail). Found by the reference-config
Codex reruns 943c/945c, which died on it; the first 23 requests of 945c decoded at 138.8 tok/s weighted.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 05:08:48 +02:00
Pavlo Ratushnyi c73379efd7 chain: 'all' leaves qsa out; MTP keeps the Original chunk kernel 2026-10-24 03:07:58 +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 Ratushnyi 548b2083e6 chain: register-row GR down kernel in the plan, 8-column up default 2026-10-24 02:23:48 +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 RatushnyiandClaude Sonnet 5.5 beafc0a6bc spec: adaptive window is the default of the serve stack (LELEKA_SPEC_ADAPTIVE=off or LELEKA_SPEC=N selects the fixed window); default check job
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 02:20:02 +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 RatushnyiandClaude Sonnet 5.5 e820b95556 cp-latency: tokenizer kill switches (LELEKA_TOKENIZER_REFERENCE, LELEKA_TOKENIZER_SEGMENT_CACHE_MIB), prompt-text pass-through test, drop dead tokenizer fields
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:49:38 +02:00
Pavlo RatushnyiandClaude Sonnet 5.5 ea80310017 cp-latency: schema-validation memo, live A/B client and report, live job 9f1 (real engine, baseline and current API servers on one engine)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:45:54 +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 Ratushnyi 0f2596b8b7 Merge branch 'claude/prefill-overlap' into claude/port-gpu-bringup 2026-10-24 01:37:29 +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 6bbb26f67a cp-latency: native chat rendering for text conversations (verified against the template), log writes off the response path, replay --verify (captured Codex prompt ids)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-24 01:30:26 +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 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 Ratushnyi beb5ca4b94 docs/ledger.md: decode ledger (static regime, draft vocabulary, per-round table) 2026-10-24 01:28:09 +02:00