Pavlo Ratushnyi and Claude Sonnet 5.5
5aa27eeb73
Merge claude/baseline-pair (part e): reboot-per-run series scripts, prefetch, owner-readahead; series stopped after cycle 1 (cold-read cost)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-02 01:27:35 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
535087e04a
baseline-pair part e: reboot-per-run series stopped after cycle 1 (cold-read cost), fresh-boot vanilla finding, owner readahead script
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-02 01:27:05 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
ca3eb4f8fa
scripts: reboot series, prefetch of the KAR file and model shard (cold buffered reads run at ~30 MB/s on this NVMe), START_CYCLE
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-02 00:11:14 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
5c408d8374
laptop-pair: guarded paired ours-vs-vanilla series for the RTX 3080 laptop (prepared, not run)
...
scripts/e2e/laptop/laptop-pair.ps1: Install (frozen inputs + MANIFEST), Vanilla (launcher
identity), Prepare (ours up --mode none + verify), Check (read-only preconditions: Turbo,
AC, enforced limit >= 100 W, not P5, timeouts, no WSL/Docker/build/engine, ports, STOP,
lock), SelfTest, Smoke (one 5-minute guarded ours arm), Series (ours/v1/v2 in balanced
block permutations). Each arm: guard.ps1 -> watchdog.ps1 (1 Hz, 85 C) -> arm driver
(30 s progress lines, AC check, log-stall rule -> STALL). Client sends two frozen,
byte-identical requests per arm (cold N tokens, reuse + 2k delta); analyzer pairs
arms inside blocks with validity per run. Thresholds: S3.1 BOOTSTRAP with 85 C.
docs/experiments/laptop-pair-3080.md: plan, preconditions, owner actions, commands,
durations, inventory and build hashes of main d29e3dba2 .
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-01 23:37:02 +01:00
Pavlo Ratushnyi
bcdb5f92f9
scripts: reboot series, pgrep must not match its own ssh command
2026-11-01 23:27:11 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
953984d719
scripts: baseline-pair part e, one arm per fresh boot (laptop-driven reboot series, cycle hook, ENTRIES)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-01 23:16:35 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
d29e3dba24
Merge claude/baseline-pair (parts c, d): final pairing on main ffd9322c7: ours 155.6 tok/s vs vanilla v2 132.9 (+17.2%, 6/6 blocks; vanilla mostly in poor THP state), hugepages +0.5% (unresolved)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-01 07:50:44 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
d47942f2e2
scripts: baseline-pair ourshp arm (LELEKA_HUGEPAGES=on), PCIE_FRAC pin, bin-main-* in the manifest
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-01 06:17:51 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
ffd9322c7c
run-e2e: default PCIe share 0.45 (the product default); 0.45/0.55/0.65 measured equal end to end (cpu-service2)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-01 05:57:21 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
3126b9e6cf
Merge claude/cpu-service2: CPU expert admission moved to pool open (LELEKA_CPU_ADMIT_EAGER=off restores first use), vectorised q8_k. Bit-identical (353/353 rows both), paired A/B +4.24% tok/s (6/6 pairs, base SD 0.34%), -0.36 ms/round; PCIe share 0.45/0.55/0.65 equal end to end, product default stays 0.45
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-01 05:57:17 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
a7400288fa
scripts: cpu-service2 eager-admission A/B (6 pairs) and identity job
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-01 03:09:46 +01:00
Pavlo Ratushnyi and Claude Opus 5.5
2725385741
scripts: hugepages-id private MTP staging dir (0700), installer --tools-only; docs: hugepages page draft (mapping facts)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-01 02:56:56 +01:00
Pavlo Ratushnyi and Claude Opus 5.5
a8171b2cc0
scripts: hugepages A/B, identity gate, analyser, installer; owner script for shmem THP (not run)
...
hugepages-ab.sh: one binary, hpoff vs hpon (LELEKA_HUGEPAGES=on), 8 ABBA-balanced pairs of the 5-turn
~245k session at the product PCIe share 0.45, baseline-sampler state record (buddyinfo, AnonHugePages,
process smaps_rollup) per run. hugepages-id.sh: bitwise replay identity at 8,000 static slots.
hugepages-analyze.py: pairs, predecessor split, exit fragmentation. owner-shmem-thp.sh: root-only
shmem_enabled toggle, not needed by the decode path. huge_pages.rs: mapped_len test-only (dead-code warning).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-01 00:16:35 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
b49c9eb56b
Merge claude/baseline-pair: paired interleaved ours-vs-vanilla tooling (sampler, analysers) and results: ours level with vanilla average (143.4 vs 145.4/142.1 tok/s, n=11/6/16), far steadier; vanilla drift partly explained by THP after ours runs. Part c (main 11e021161) queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 23:00:16 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
b693ef491e
scripts: cpu-service2 PCIe A/B on bin-cs2 with stage timing and the legacy q8_k arm; cpu-service2 identity job
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 22:01:20 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
fa186ecd83
scripts: baseline-pair ours45 arm (product PCIe share 0.45), SUBST_V1, bin-cpuservice in the manifest
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 21:48:22 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
bb2366944f
scripts: cpu-service2 PCIe share A/B (0.45/0.55/0.65, 5 rotated blocks, one binary)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 21:41:04 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
63fb009f42
scripts: baseline-pair LF line endings (CRLF broke the job on Linux), SEQ and PRE_ARM_HOOK options
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 21:36:25 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
c3e7067afe
scripts: baseline-pair balanced ours-vs-vanilla A/B with machine-state sampler, analysers, owner-run compaction hook
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 19:36:24 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
829036be71
scripts: cpu-service paired A/B (base/new/open-cache/pcie0.35, 5 rotated blocks) and identity jobs
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 18:08:12 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
8c8c6725d7
Merge claude/codex-lossy-delta: four-variant Codex lossy-delta harness (tasks, logging proxy, index) and results record; 72-cell matrix done, ours lossy vs lossless +0.6% rounds (n=3, resolution ~35%), vanilla early-stop confound documented
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 17:52:17 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
c61975defe
e2e codex-delta: the writable acceptance copy includes seed/ (feature-query reads SPEC.md from it)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 04:52:24 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
119c7766f1
e2e codex-delta: run accept.py from a writable copy of the task dir (read-only install broke refactor-shop acceptance); reaccept tool
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 04:49:53 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
e7e40be846
e2e codex-delta: index uses the matrix set only for deltas and determinism
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 02:55:36 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
22e56f69ed
scripts: footprint3 paired A/B (alias, reserve 130, both), identity and placement-class relative gate jobs
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 02:43:32 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
9e13fc809e
footprint: share the MTP dense roles with the RT bank when proven byte-equal (about 126 MiB driver), drop the pack's copy
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 02:39:12 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
360e6caf28
e2e codex-delta: fixed CODEX_HOME path and prompt date (prompts identical across cells), matrix job scripts
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 01:15:24 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
4228e5c552
e2e codex-delta: our skip counters are cumulative; report the per-cell difference
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 01:14:22 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
4a1b9bfec7
Merge claude/slots-footprint2: free 1,084 MiB VRAM (unused MTP pack bank, lazy legacy QSA key mirrors); 11,568 -> 12,144 expert slots, +1.75% paired tok/s (n=3), bit-identical at equal slots; LELEKA_FOOTPRINT_LEGACY=1 restores. Placement-class gate on the larger cache still to run
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 23:49:06 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
ff44dd606b
e2e codex-delta: plan doc, matrix job generator, browser check helper
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 23:35:27 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
b17fe85a9e
e2e codex-delta: stack.json after the variant env, prefill share line
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 23:34:24 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
5629dd0b39
e2e codex-delta: copy seeds with writable permissions
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 23:32:57 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
e0d93a629a
e2e: Codex lossy-vs-lossless delta study: task set (7 tasks with acceptance), logging proxy, cell/block runner, index and delta tools
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 23:31:58 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
3b0fec1b75
scripts+docs: footprint2 paired A/B and identity jobs, VRAM footprint second pass page
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 23:01:03 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
1a99397032
footprint: do not hold the MTP pack expert bank next to the RT-directory copy (675 MiB) and allocate the legacy QSA index-key mirror lazily (384 MiB); LELEKA_FOOTPRINT_LEGACY=1 restores both; ledger probe job
...
Both buffers are written or sized at startup and never read on the serve path: the draft layer of the product (--mtp-rt-dir) streams its own experts (original_mtp_rt_bank) and the serve QSA layers keep their keys in OriginalQsaResidentIndex; the host-canonical QsaIndexKeyCache is the legacy scalar path. Together 1,084 MiB of VRAM (about 11 quota steps, 528 slots) for the expert cache; bit-identical at an equal slot count, placement class when the auto count grows.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 22:52:28 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
e1bd61f59b
Merge claude/draft-vocab: opt-in LELEKA_DRAFT_VOCAB (default off). Identity 353/353 rows, 0 flips; paired A/B +0.08% tok/s: no speed claim
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 22:42:10 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
9c253f72f1
Merge claude/models-move: model paths inside the work folder (smoke VALID on new paths 2026-10-30)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 22:42:08 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
221801b34d
ops: rescue sshd: correct passwd, pkill pattern that cannot match its caller; verified in an isolated namespace (login + pty)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 12:43:23 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
c7d638c8a4
ops: rescue sshd /dev as its own tmpfs (/run is nodev, device nodes were unusable)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 12:40:03 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
8e8194dfeb
ops: rescue unit no longer disables itself on stop; watchdog loaded from a unit (Ubuntu deny-lists the module)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 12:11:50 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
7b037f6092
ops: rescue sshd no longer bind-mounts /dev (shared propagation unmounted the host's /dev/pts, shm, mqueue, hugepages); own nodes + new devpts instance; private mounts before teardown
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 12:05:35 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
cc88c5357c
ops: rescue sshd: reliable teardown (process title, recursive unmount, no rm under a mount), single build via unit restart
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 12:01:33 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
cf728876db
ops: rescue sshd build no longer aborts on static busybox; cp backup idempotent
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 11:59:23 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
86f0fa4432
Merge claude/mem-design (memory single-copy and elastic state design doc) into main
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 11:52:35 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
7651822366
docs: host RAM single-copy and elastic session state design (inventory, sparse-memfd option, lazy parking, tasks)
...
Design only, CPU-only analysis; nothing measured on the server. Finds that the 55.3 GB sealed memfd is read only for the 16.0 GB of PLE rows
and that ~39 GB of it is an unread level-2 re-encoding of shard 0 (estimate, census task T1).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 11:52:16 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
9159e4eee5
ops: fsfreeze-based test that the RAM-only rescue sshd works while / and /data block writes
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 11:46:37 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
196c0639e4
ops: RAM-only rescue sshd (port 2222) and netconsole for when the root NVMe stalls (owner-run, untested)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 11:45:46 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
7e66b9491f
ops: server script to reboot instead of hang when the root NVMe stalls (owner-run, dry run by default)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 11:35:38 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
a1c5e352f9
Normalize line endings: convert 10 CRLF files back to LF, add narrow .gitattributes
...
Ten files touched by this branch had been rewritten with CRLF line endings
(base versions are LF), inflating the diff against the merge-base to
13685/13039 lines. Content is otherwise unchanged: the diff ignoring line
endings was and remains 661 insertions / 15 deletions.
.gitattributes: crates/**/*.rs and scripts/gpu-bringup/**/*.py are text=auto
eol=lf, so CRLF cannot re-enter these LF files at commit time. text=auto leaves
files that are already CRLF in the index untouched.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 08:51:22 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
d6fc908641
scripts, docs: draft-vocab paired A/B and identity jobs, upstream findings and port notes
...
* scripts/e2e/decode/draftvocab-ab.sh: speedtrain3-ab shape, one binary in every arm, counterbalanced
base/en order, arms dv-base, dv-en, dv-en-eqslots; spec-stats give tokens per round, accepted/offered and
the accepted-length histogram; validity rejects fallback, missing or unexpected draft-vocab log lines
* scripts/e2e/decode/draftvocab-id.sh: teacher-forced replay with LELEKA_ORIGINAL_SERVE_RT_DIR set (the older
identity jobs draft over the full head), A/A floor, en against default, optional LELEKA_SPEC=3 control
* docs/experiments/2026-10-30-draft-vocab-en.md: what upstream does (format, digests, selection, default off),
our status, the port, expectations, what is not verified
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 03:29:07 +01:00