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
2e03d2bd12
docs: cpu-service2 page (PCIe share equal in 0.45-0.65, host breakdown, eager admission +4.24% tok/s 6/6 bitwise, q8_k, draft analysis, CRLF build pitfall)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-01 05:56:43 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
3aa19a9467
Merge claude/hugepages: opt-in LELEKA_HUGEPAGES=on (2 MiB aligned expert-bank buffers, MADV_HUGEPAGE + collapse, userspace only). Bitwise identical (353/353, 0 flips), paired A/B +1.29% tok/s (8 ABBA pairs, 7/8 positive, p~0.05), -0.11 ms/round; leaves 52.1 GiB of free 2 MiB blocks at exit vs 46.8. Default off
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-01 04:36:35 +01:00
Pavlo Ratushnyi and Claude Opus 5.5
610cf5d95d
docs: hugepages exit-fragmentation count corrected
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-01 04:35:31 +01:00
Pavlo Ratushnyi and Claude Opus 5.5
0f68cbb990
docs: hugepages page (mapping facts, bitwise identity 353/353, paired A/B 8 pairs: +1.29 % tok/s 7/8, -0.11 ms/round 6/8, CPU pool per expert -1.8 % 8/8; exit leaves +5.3 GiB free 2 MiB blocks)
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-01 04:35:23 +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 Sonnet 5.5
82f71834bc
cpu-service2: admit every routed expert at CPU pool open (same open_group admission and checks; LELEKA_CPU_ADMIT_EAGER=off keeps first-use admission, 50 us per expert on the decode path); bench: first-use admission scan
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-01 03:06:27 +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 Opus 5.5
e0141e510a
model-format: opt-in huge-page placement of the resident expert banks (LELEKA_HUGEPAGES)
...
LELEKA_HUGEPAGES=on|thp (off by default; LELEKA_BANK_THP=on now selects thp) places each of the 144
resident bank copies in its own 2 MiB-aligned anonymous mapping instead of a heap Vec: MAP_HUGETLB when
HugePages_Free covers the bank (mode on only; nothing reserved), else MADV_HUGEPAGE + MADV_POPULATE_WRITE.
After the bank load and the shard page-cache drop, before cuMemHostRegister, huge_pages::settle() reports
the coverage from /proc/self/smaps and MADV_COLLAPSEs any 2 MiB range that fell back (best effort).
Pure placement: the bytes are the file's (read_tensor_into, same bounds and size fences). No system
setting is read-write.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-01 00:11:36 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
fe5910135d
Merge claude/decode-tail-merge: decode-tail measurement records (PLE fix, seed gate, engine-commit identity PASS, speedtrain3 tables); code unchanged (ADAPT_DEFER default flip not applied)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-01 00:01:50 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
bc75204387
Merge claude/decode-tail: measurement records (PLE fix, seed quality gate, engine-commit identity, speedtrain3 tables)
...
Docs: docs/experiments/decode-tail-5090.md takes the branch's records (sections 1-9) and keeps main's seed-off profile text as section 7a, with a merge note on where main differs.
Code: no change to main. kar_ple_cache.rs (branch b5d4a0db7 equals main a73d09060; main also has the persistent scatter staging buffers) and original_serve_host.rs are main's. The branch's LELEKA_SERVE_ADAPT_DEFER default flip (9b03de2be , deferral off by default) is NOT taken: main's default is the deferral on, and flipping it would change main's behaviour; the opt-out LELEKA_SERVE_ADAPT_DEFER=off already exists.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 23:59: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
b16a40656f
docs: baseline-pair page (balanced ours-vs-vanilla, machine-state record, THP predecessor effect)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 22:59:48 +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
4c04459b95
cpu-service2: register-built multi-token IQ3 opt-in only (slower on Zen 5 in the bench); vectorized output check of computed rows (LELEKA_Q8K=legacy keeps the scan)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 21:57:03 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
a2cd2b3acc
cpu-service2: pool stage timing (LELEKA_POOL_TIMING=1, cpu.t.* spans), cpu.admit span, tasks-per-thread knob; bit-exact AVX2 q8_k and vectorized token check (LELEKA_Q8K=legacy), register-built multi-token AVX-512 IQ3 decode (LELEKA_IQ_MULTI=legacy); CPU dispatch bench
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 21:49:04 +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
11e0211616
Merge claude/cpu-service: vectorised single-token IQ3 CPU expert kernel + vectorised finite check. Bit-identical (353/353 rows, A/A 0), paired A/B +6.34% tok/s (5/5 blocks, one binary, base SD 0.86%), -0.27 ms/round; LELEKA_IQ_SINGLE=legacy / LELEKA_SINK_SCAN=legacy restore main. Harness PCIe share was 0.55
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 21:39:16 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
a6fa596f62
docs: cpu-service page (window attribution, register-built IQ3 single-token dot + vectorized scan: bitwise 353/353, +6.34% tok/s / -0.27 ms/round over 5 blocks; open cache neutral; pcie 0.35 negative; harness runs pcie 0.55)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 21:38:37 +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
bba658f204
cpu-service: register-built single-token IQ3_S/IQ3_XXS dot (bitwise the generic tree, LELEKA_IQ_SINGLE=legacy keeps it); vectorized finiteness scan of the verify group's CPU output (LELEKA_SINK_SCAN=legacy keeps the element-wise one)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 18:03:19 +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
e381c30825
Merge claude/slots-footprint3: share byte-equal RT/MTP pack dense roles (verified at every start; -109 MiB, 12,144 -> 12,192 slots), bit-identical vs LELEKA_FOOTPRINT_LEGACY=1 at equal slots (353/353); placement-class gate PASS; A/B of alias/reserve130 neutral, defaults unchanged. No speed claim
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 10:34:20 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
61fb6ac215
docs: footprint3 page (alias and reserve-130 A/B, MTP dense sharing, placement gate PASS)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 10:33:58 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
a002eef9ae
docs: codex lossy-delta execution record
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-31 09:15:33 +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
745c0ad0db
docs: footprint2 measurements (paired A/B, identity at an equal slot count)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-30 23:48:45 +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