Pavlo Ratushnyi
182e1ca07e
Merge branch 'claude/verify-gdn-fused-kernels' into claude/speed-vs-strata-08143a
...
# Conflicts:
# crates/cuda-driver/ptx-sm86/MANIFEST.json
# crates/cuda-driver/src/original_verify.rs
# crates/cuda-driver/src/original_verify_window_sm120.rs
# scripts/gpu-bringup/extra-seal-plan.json
2026-11-09 23:39:52 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
62fd0f88a8
verify window: LELEKA_SM120_FUSED_GDN (GDN conv + gates + step in one launch) and LELEKA_SM120_GDN_AB_UNROLL (upstream SMALL_UNR bit 1), both off by default
...
New sealed sm_120 asset sm120_gdn_fused.ptx (nvcc 13.2.86): leleka_verify_gdn_fused_step
(the Original's step loop over shared memory, conv prologue, gates in two warps or joined from the
SIDE_MIXER branch, split-window replay) and leleka_gdn_ab_unrolled_t1..t8. Written with the Original's
plain expressions on purpose: ptxas contracts a plain mul+sub into one FFMA, so __f*_rn intrinsics
would not be bitwise equal after the driver JIT. PTX shape compared with original_verify.ptx in unit
tests; model-free probe tools/gdn-fused written, not run (no GPU). Design: docs/experiments/verify-gdn-fused-kernels.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 23:38:50 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
aaf14df80b
Speed program: ledger U5, microbench queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 23:27:05 +01:00
Pavlo Ratushnyi
6bcc4742b1
Merge branch 'claude/verify-hc-down-microbench' into claude/speed-vs-strata-08143a
2026-11-09 23:26:48 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
aa2f237590
speed: kernel micro-benchmark of upstream gr_down_v3 (masks 0/5/133) against chain_gr_down_t2w8_nb4 (ledger U5)
...
Harness (one TU including upstream fused_gr.cu whole, ours from the sealed PTX through the driver API plus an nvcc cubin),
GPU queue stub, and the method note with input sha256. Not run on the GPU yet.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 23:26:26 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
f252aa162c
Speed program: ledger Q7 owner and plan (shared handle + re-arm API)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 23:22:05 +01:00
Pavlo Ratushnyi
009585f285
Merge branch 'claude/verify-qsa-fused-prelude' into claude/speed-vs-strata-08143a
...
# Conflicts:
# crates/cuda-driver/src/original_verify_window_ops/original_verifier.rs
# crates/cuda-driver/src/original_verify_window_sm120.rs
2026-11-09 23:13:12 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
595e34feb4
Docs: name the resolve function of the fused QSA prelude
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 23:12:29 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
506527bb9e
Verify window: LELEKA_SM120_FUSED_QSA_PRELUDE (K/V rows and tail snapshot + indexer rows of a QSA layer as two launches, opt-in, off by default)
...
Replaces 12 x (2n+1) per-row launches of a window graph by 24: leleka_verify_qsa_kv_rows (n x mtp_original_append, precise math) and
leleka_verify_qsa_index_rows (tail snapshot + n x verify_qsa_append_analytic, fast math). Both PTX built with nvcc 13.2.86 (compile only)
and pinned; model-free probe tools/verify-qsa-fused-prelude/prelude_probe.cpp not yet run. No GPU number.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 23:12:25 +01:00
Pavlo Ratushnyi
6b2a69f1d9
Merge branch 'claude/verify-accept-on-device' into claude/speed-vs-strata-08143a
2026-11-09 23:06:30 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
3887d777d6
Speed program O7: LELEKA_SM120_ACCEPT_ON_DEVICE, the finite verdict of the head logits in the verify graph
...
Off by default. With the switch the verify graph ends with verify_clear_status, verify_scan_logits and a
one-word store of the status into a host-mapped verdict word (vanilla's logits_nonfinite_rows order); the
post-drain check reads that word instead of launching the scan, synchronising the stream, copying the status
back and synchronising the context. Same error at the same place, before complete_window and any commit.
Sealed PTX unchanged. Unit tests for the switch, the graph tail commands, the verdict decode and the post-drain
dispatch. Note updated with the corrected O7 ledger wording.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 23:05:51 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
05e9acdaa5
Verify GPU plan: flag B route (at once or behind the staging copies) as a named pure function with a truth-table test
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 23:00:52 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
91a130da6a
Speed program: ledger U5, retract the cross-kernel grid-y comparison (different row mapping)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 22:52:45 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
00d90124a9
Speed program: ledger U5, chain down kernel by window rows against vanilla
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 22:52:35 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
6d61656177
Speed program: ledger section C2u (upstream cc 12.0 defaults: PDL, SMALL_UNR, GR_V3_PF) and the O7 correction
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 22:52:00 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
23f0ecb97d
Speed program O7: trace of verify end to first draft kernel (ours and vanilla)
...
Vanilla's greedy accept is host-side (generate.cpp:15255); the difference to ours is the
post-drain finite-verdict scan (three syncs against one) and the host chain before the draft
launch. A device-side accept needs draft-chain edits; options and recommendation in the note.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 22:51:15 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
5b8c0eba0e
Speed program: readable job names (queued stubs and dirs renamed, old->new table in the ledger), content labels on the touched ledger rows
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 21:54:38 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
dd73d3c892
Speed program: wrap a doc line (width 120)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 21:20:31 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
a199b3ad11
Speed program: S6/O11 plan (fused commit graph exists, to be measured and enabled), LELEKA_DRAFT_* allowed in profile engine_env, CF/CU CUPTI variants
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 21:16:33 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
a838d0abe7
Speed program: SIDE_QSA and SIDE_SHARED on by default in the 5090 profiles; ledger V3a/V3b/V4a/V4/S3 fixed (section delta + identity)
...
Owner method: a step closes on a measured section delta plus identity; the set A/B (spd-sqa, M against M+QSA+shared) checks the set for regression.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 21:14:37 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
35040ea9a6
Speed program: ledger V4a A/B (ab-sqe n=10, not significant, stays off), variant U for the set A/B
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 21:10:51 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
4c8919610a
Speed program: ledger V3b/V4a/V4 section deltas from the CE/CN/CT windows (spd-sqw)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 20:13:02 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
4f310457ce
Speed program: SIDE_MIXER on by default in the three 5090 profiles (identity PASS, decode +1.39 % paired); ledger V3a/V3b/V4a identity
...
Teacher-forced gate spd-sqid1: P2 (SIDE_MIXER), P3 (SIDE_QSA), P4 (SIDE_SHARED) against P1: 2057 top-16 logprob rows bit-identical, 0 argmax flips, draft trace 518/518 identical. The A/A arm did not open (InputAllocation) in any process, so no A/A floor.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 18:37:48 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
015b98ec43
Speed program: ledger V3a, A/B SIDE_MIXER (ab-sm, n=10): decode +1.39 %, identity pending
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 17:32:20 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
3faad53b60
Speed program: step ledger reordered along the request pipeline (request, prefill, decode round)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 15:07:08 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
d5fd270f81
Speed program: step ledger (every gap to vanilla per step of round and request), counts tool
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 15:05:58 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
92cffd3b97
Speed program: A/B variants for the side-stream parts (N, E, T and CUPTI CN/CE/CT), layer-phase and doorbell-latency analysis scripts
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 15:02:21 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
255159a89b
Speed program: shared expert on a side stream (LELEKA_SM120_SIDE_SHARED, experimental, off); SideBranches DTO for the three side-stream parts
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 14:56:05 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
0c30105d42
Speed program: SIDE_MIXER QSA part (LELEKA_SM120_SIDE_QSA, experimental, off): indexer and query chains of each QSA layer on the two side streams
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 14:49:06 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
a310533186
Speed program: CUPTI kernel-level comparison LEL against VANL (67k window): the gap is the missing parallel branches in the verify graph
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 14:36:19 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
4a633f70df
Speed program: lever 3 variant H clean paired result (e2e +1.06 %, not significant)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-09 01:15:06 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
d2108576a8
Speed program: lever 5 variant R clean paired result (e2e +0.56 %, not significant)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 23:43:25 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
6d955f88dc
Speed program: kernel-level status of the vanilla sm_120 set and the remaining missing items with estimates; CUPTI windows queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 21:47:12 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
3ec79f9d98
Speed program: CUPTI kernel-window variants (ours CL, vanilla SPD_CUPTI) for the per-kernel comparison at 60-100k context
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 21:46:30 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
e7dde84ea9
Speed program: time-weighted hit-rate gap and gap by context from the real Codex sessions (ceiling of the hit-rate levers 1.8-2.6 % of task time)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 21:40:39 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
cac5802fe6
Speed program: spd_ab_job.sh takes SPD_BIN (a different binary for both arms)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 21:22:50 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
9d130fd380
Speed program decode misses: experimental LELEKA_ADAPT_TIE_SPREAD (equal-gain swaps share the per-round cap across layers), tests, variant X
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 21:20:18 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
974b310a65
Speed program: decode miss leg, draft and quiet windows from the profile lines (CPU leg serial and DRAM-bound, equal to vanilla per expert; draft cost follows window width)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 21:04:28 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
7bee3eb157
Speed program: what keeping the recorded verifier graphs between requests needs (cost 83 ms/request, gain under 1 % e2e)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 20:53:48 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
53b1ed39bf
Speed program: tier-policy screening variants W1-W4 and a complete unset list in spd_ab_job.sh
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 20:50:11 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
6d782b0e15
Speed program levers 3 and 5: job script leaked the variant variables (first R and H pairs invalid, reruns queued); small-tail prefill profile: 72-80 % is moe.ring
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 20:14:29 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
9c984ba74b
Speed program lever 3: variant G opened the same 12192 slots (null experiment); variant H (reserves lowered) queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 14:49:37 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
b8cc9ce1e9
Speed program lever 5: fixed-cost fit corrected (581 ms + 0.134 ms/token)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 14:37:44 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
743f742b32
Speed program levers 4 and 5: the 106k draft subset is already bound in the product; fixed per-request prefill cost from the profile lines; variants Q and R queued
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 14:37:32 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
04287257f2
Speed program: split the profile kernel test under the 30-line limit; limits baseline lowered
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 14:34:16 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
de51a07f91
Speed program: fix cell count in the split note
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 14:31:27 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
ede9542fd9
Speed program: per-request split of the real-session gap LEL vs VANL (no gateway cost: 85% decode, 16% prefill) and session_split.py
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 14:31:27 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
b686f6ab75
STRA-338: rename the 854 mechanically named modules (impl_*, *_fn, *_<N>) after what they hold; mechanical_names census 854 -> 0
...
git mv of the files and of the module directories next to them, mod declarations, #[path] attributes and
the paths that name the modules, rewritten by scripts/dev/rename_mechanical.py from a reviewed name table.
Two files lost one to two lines so the 400-line limit holds again (qsa_prompt_index, original_verify_expert_probe).
limits-baseline.json: test fn_lines 0 -> 1 is --allow-increase for crates/deploy builtin_profiles.rs:149 (37 lines,
the speed-vs-strata session's file, not touched here); the prod params census falls 108 -> 1 (w_launch, extern C ABI).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 13:43:56 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
8def0e96e2
STRA-338: scripts/dev/rename_mechanical.py plans and applies the rename of mechanically named modules
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 13:26:16 +01:00
Pavlo Ratushnyi and Claude Sonnet 5.5
418fac7b1d
Merge claude/par-q02 (STRA-338 params: original_verify_* and expert cache/stager)
...
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-11-08 12:59:32 +01:00