Pavlo Ratushnyi
897f2aa476
Merge branch 'claude/chain-kernels' into claude/port-gpu-bringup
2026-10-24 20:54:12 +02:00
Pavlo Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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
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 Ratushnyi and Claude 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 and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 and Claude 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
Pavlo Ratushnyi and Claude Sonnet 5.5
2ce4ae13e6
feat: request-end prefix checkpoints (tail nodes) and TTFT stage marks
...
A hit on a 2048-token grid node makes the agent's next turn re-read the part
block, the whole reply and the new tokens (~2.2k tokens per turn). Add tail
nodes: a checkpoint at the exact end of the previous request (end of the
prefill, or of the decode), a private partial block on top of the grid blocks.
--prefix-cache-tail off|prompt|reply (default off; reply is experimental).
Also per-request TTFT marks (resume, prefill, assemble, first round), a replay
multi-arm mode with per-arm greedy ids, and a short-suffix cost sweep.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-24 01:18:25 +02:00
Pavlo Ratushnyi and Claude 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 Ratushnyi and Claude Sonnet 5.5
95340330ac
cp-latency: fast tokenizer (scanner + id BPE + segment cache), pass the prompt text through, TCP_NODELAY on the runtime gRPC server, gRPC replay example
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-24 01:13:50 +02:00
Pavlo Ratushnyi and Claude Sonnet 5.5
4ee333fea7
feat(chain): MTP draft step group (staged GR, load-hoisted attention chunk, merge over used chunks, hoisted argmax/top-prob), A/B and trace job scripts
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-24 01:07:43 +02:00
Pavlo Ratushnyi and Claude Sonnet 5.5
dbf487b207
cp-latency: env-gated stage spans on the host request path, offline session synthesizer, instant-engine replay driver (baseline for the host-side latency work)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-24 01:04:49 +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 Ratushnyi and Claude Sonnet 5.5
4debcdfba9
feat(chain): GR down shapes, fused swiglu+quantize and sigmoid+scale, load-hoisted greedy argmax and top-prob (groups tiny, head), window table tool
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-24 01:00:15 +02:00
Pavlo Ratushnyi and Claude Sonnet 5.5
ffbb440fc8
feat(chain): latency-hoisted bit-identical window kernels (plan copy, CPU rows, doorbell, GDN ab, GR norm/up, QSA chunk) behind LELEKA_CHAIN, probe tooling
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-24 00:49:14 +02:00
Pavlo Ratushnyi and Claude 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 Ratushnyi and Claude 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
b1ab82b3d7
jobs 9005: stream-mode trace
2026-10-24 00:11:34 +02:00