Commit Graph
327 Commits
Author SHA1 Message Date
Pavlo RatushnyiandClaude Sonnet 5.5 8f4b351363 draft-round: timeline and window-width analyzers, SPEC_MIN_P in the A/B harness, fused-commit class in the kernel tables
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 16:51:13 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 28d74a2efd draft-round: fused verifier commit graph (LELEKA_DRAFT_FUSED_COMMIT=on, opt-in, sm_120 only): 182 nodes -> 4
The accepted-prefix commit graph replayed each of the 36 GDN layers (conv history commit + recurrence replay through the accepted tokens) and each of the 12 QSA layers (tail restore +
8 row appends) as its own kernels. Two sealed kernels do all layers in one launch each: draft_commit_gdn_layers (precise math like original_verify.cu; the replay's output path,
which nothing reads, is not computed; the state-independent loads of all tokens are issued first) and draft_commit_qsa_layers (fast math like the resealed original_verify_qsa.cu;
one block per layer, rows in order). Model-free probe tools/draft-round/commit_probe.cpp: every state byte identical to the Original's kernels on 36 GDN and 60 QSA random
cases (n_keep 0..8, three RoPE settings, positions around block edges, holes); in a graph the GDN part is 346 -> 156 us, the QSA part 72 -> 4.5 us. Replay gate: draft-round-id1
(fused alone, DAILY alone and both): 2057/2057 top-16 logprob rows and 1036/1036 draft traces bit-identical, A/A exact.

Sealed with scripts/gpu-bringup (extra-seal-plan.json group draft-round, nvcc 13.2.86); ptx-sm86/MANIFEST.json records them as not built for sm_86 (record_commit fuses only on cc 12).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 13:00:32 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 dc9b424125 draft-round: profile/A-B/identity tooling (CUPTI per-kernel tables, paired-block analysis, replay identity with a bitwise draft trace) and LELEKA_TRACE_DRAFT
draftround-ab.sh: ours-vs-ours paired blocks (alternating order) and the CUPTI profile run at ~245k context; draftround-kernels.py: per-kernel table of the commit graph, MTP round graph and
chain steps; draftround-id.sh/-idcmp.py: teacher-forced replay gate (top-16 logprob rows and the IEEE bits of every draft probability); LELEKA_TRACE_DRAFT=1 prints one DRAFT line per draft.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 11:37:50 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 1416973a9c Merge claude/baseline-pair (part e complete): fresh-boot reboot series, 9 cycles, ours 155.4 vs v1 137.0 vs v2 144.7 tok/s
Linux / keyless-cuda-gate (push) Skipped
Rust port / port-fast (push) Failing after 9s
Rust port / port-typecheck (push) Failing after 9s
Desktop foundation / core (ubuntu-latest) (push) Failing after 13s
Rust port / port-linux-tests (push) Failing after 14s
Linux / verify (push) Failing after 18s
Linux / keyless-cuda (push) Skipped
Linux / static-cuda-package (push) Skipped
Linux / hosted-cuda-package (push) Skipped
Linux / linux-static-cli (push) Skipped
Linux / linux-cli-container (push) Skipped
Linux / release-cli (push) Skipped
Rust port / port-oracles (push) Failing after 11s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 07:29:33 +01:00
Pavlo RatushnyiandClaude Sonnet 5.5 364e059210 scripts: reboot series part e v2: 3 blocks, per-file page-cache eviction, THP gate for vanilla with one repeat
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 01:29:23 +01:00
Pavlo RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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 RatushnyiandClaude 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