Pavlo Ratushnyi and Claude Sonnet 5.5
02efe052e4
dev: worktrees live in .git/wt, with a helper to create and clean them
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-26 01:29:44 +01:00
Pavlo Ratushnyi
c558cdb755
Merge branch 'claude/perf3' into claude/port-gpu-bringup
Rust port / port-fast (push) Failing after 8s
Rust port / port-typecheck (push) Failing after 8s
Rust port / port-oracles (push) Failing after 9s
Rust port / port-linux-tests (push) Failing after 15s
2026-10-25 17:52:29 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
885bfb457e
docs/windows.md: measured outcomes of the real runs on this laptop (WSL2 bridge and native engine), findings, fixes; stage-model.ps1 drops the robocopy progress when redirected
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-25 17:04:05 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
8623932c98
Windows round 2: leleka service (Task Scheduler / user unit), doctor names what is missing and the fix, stage-model.ps1 and fetch-cublas.ps1, native supervisor end-to-end test with the fake runtime, WSL find-binary fix, docs
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-25 15:53:31 +01:00
Pavlo Ratushnyi
3f6720f235
docs: pending gates; cmp_rhash.py
2026-10-25 14:07:18 +01:00
Pavlo Ratushnyi
05042010db
ladder off by default until its gate runs; tiled-down geometry helper and test; replay arm flags tiers/notiers; job scripts on rt-a7
2026-10-25 13:57:24 +01:00
Pavlo Ratushnyi
61ac91eaef
loan ladder: tier_for helper and test
2026-10-25 13:49:34 +01:00
Pavlo Ratushnyi
38d03f0f7c
docs/prefill-throughput: late-chunk QSA selection results
2026-10-25 13:46:13 +01:00
Pavlo Ratushnyi
c9ccd81856
chain: hyper-connection down projection tiled over rows and tokens (8 rows x 2 tokens per block): 16.6 -> 9.7 us at 4 rows, bit-identical; probe diagnostics; sealed chain_window.ptx
2026-10-25 13:34:33 +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 Ratushnyi and Claude Sonnet 5.5
e77c98d3f2
Windows: release build recipe (scripts/windows/build-release.ps1), engine tests follow the mapped-only default, Linux-only errno and journal-lock tests gated
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-25 12:57:21 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
87e2633afe
engine/strata: bring the Strata subtree to upstream 41cf05a0 (engine 0.1.50) with the local patches re-applied
...
Documented tree replacement (the history has no git-subtree metadata): 3-way merge of the old subtree
(570201a:engine/strata) against upstream 41cf05a06a25dd29103b7b27a2279a3f60c21876 (2026-10-25), merge base =
the old pin d9ab8435 (tree-identical to upstream 5b734e42; d9ab8435 is not an ancestor of upstream main).
Local patches re-applied by hand where they conflicted (15 files): STRATA_CUDA_STATIC profile, experimental KAR
experts and KAR PLE arms, keyless V-only arm (now beside upstream's K8V4 hybrid KV and fused norm+rope). Details,
conflict table and left-out files are in docs/upstream.md.
Left out (weights, captures, logs, media): new bench/results (2022 files), binary media and app assets (61),
docs/work/evidence (24), *.bin / *.gguf data files, and the 7 files the first import already left out.
scripts/build-cpu.sh: build the 11 CPU tests upstream registered since the old pin (they ran as "Not Run").
Checked: build-cpu.sh 16/16 ctest in WSL; sm_86 CUDA objects of the patched files compile, also with the KAR
macros on. No GPU run, no quality gate.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-25 12:49:15 +01:00
Pavlo Ratushnyi
acc228e427
prompt loan ladder: chunks of at most 512 / 2048 rows borrow (and refill) fewer expert slots than the full-capacity loan; replay arm flag
2026-10-25 12:26:44 +01:00
Pavlo Ratushnyi
7992cd21a7
qsa-late: pin test; GR down variants with R rows per warp (probe), perf3 job scripts
2026-10-25 12:23:06 +01:00
Pavlo Ratushnyi
9252a130bf
replay: per-arm prefill chunk and grid (mode@CAP[/BLOCK])
2026-10-25 12:05:07 +01:00
Pavlo Ratushnyi
21ed9fd0d9
qsa-late: faster prompt QSA selection kernels for long positions (imported from the claude/qsa-late worktree), sm86 guard, seal-plan entry
2026-10-25 11:59:30 +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 Ratushnyi and Claude 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 Ratushnyi and Claude 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 Ratushnyi
897f2aa476
Merge branch 'claude/chain-kernels' into claude/port-gpu-bringup
2026-10-24 20:54:12 +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 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 and Claude 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
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
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 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
fd182ef8f4
Merge branch 'claude/port-gpu-bringup' into claude/ledger
2026-10-24 01:28:20 +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
5a97ee7c66
spec: adaptive_wanted selection (explicit switch, fixed LELEKA_SPEC, ADAPTIVE_DEFAULT), replay/analysis scripts and jobs
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-24 00:19:53 +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
Pavlo Ratushnyi and Claude 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 and Claude 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
3118c5ec0d
docs/ledger.md: prefill ledger, tools, probe, fixes; lct_decode.py
2026-10-23 19:38:11 +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
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