a88a77b254
prefix cache: LELEKA_PREFIX_PARK_FAST (cheaper export, same bytes) and LELEKA_PREFIX_PARK_ASYNC (end-of-decode checkpoint after the response), both opt-in
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 23:05:04 +01:00
15fea581a7
ledger O7: timeline from verify end to the first draft kernel (CUPTI LEL vs VANL, PROFILE host spans)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 23:03:21 +01:00
05e9acdaa5
Verify GPU plan: flag B route (at once or behind the staging copies) as a named pure function with a truth-table test
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 23:00:52 +01:00
4130f9c366
decode graph reuse (Q7): design note; cause is ownership, needs a re-arm API in the verify bank
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 22:51:07 +01:00
5b8c0eba0e
Speed program: readable job names (queued stubs and dirs renamed, old->new table in the ledger), content labels on the touched ledger rows
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 21:54:38 +01:00
7f2612cd42
ledger: rows of the host/prefill part labelled by meaning, queued jobs renamed (job-name map), vanilla probe removed
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 21:54:32 +01:00
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
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 21:16:33 +01:00
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)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 21:14:37 +01:00
35040ea9a6
Speed program: ledger V4a A/B (ab-sqe n=10, not significant, stays off), variant U for the set A/B
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 21:10:51 +01:00
d87d1384fd
profile: sub-spans of the prefix-cache KV and index export (sync, allocation and zero fill, copy)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 15:25:25 +01:00
9ab391e8dc
ledger: rows A1-A3, Q1, Q4-Q5, O9 updated and B3-B5 added for the host/prefill part (one register)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 15:23:24 +01:00
c2f7d033dc
prefill: empty-request probe (pf_probe.py, pf_van_probe.sh), pf_ab_job.sh PF_PKG/PF_CLIENT and the chain-pipeline variants, step-ledger rows of the host/prefill part
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 15:22:31 +01:00
1ab37e4082
decode: LELEKA_DRAFT_CHAIN_PIPELINE (opt-in): the MTP chain steps of a greedy draft with min_p 0 are enqueued back to back and read after one stream drain
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 15:11:58 +01:00
3faad53b60
Speed program: step ledger reordered along the request pipeline (request, prefill, decode round)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 15:07:08 +01:00
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
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 15:02:21 +01:00
255159a89b
Speed program: shared expert on a side stream (LELEKA_SM120_SIDE_SHARED, experimental, off); SideBranches DTO for the three side-stream parts
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 14:56:05 +01:00
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
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 14:49:06 +01:00
a310533186
Speed program: CUPTI kernel-level comparison LEL against VANL (67k window): the gap is the missing parallel branches in the verify graph
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 14:36:19 +01:00
5e0b2e5e38
prefill: pf_holder_window.sh and pf_holder_sparse.sh restart the lab holder with the sparse memfd and record the memory before/after; pf_van_window.sh restarts it sparse
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 11:14:41 +01:00
fea18c6413
Merge branch 'claude/single-copy-ram' into claude/prefill-latency
Pavlo Ratushnyi2026-11-09 11:13:46 +01:00
9c77d603d7
single-copy RAM: refuse a full sealed memfd for a ple_only profile, lab holder seals sparse, design page
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 11:13:17 +01:00
0a294bc73c
prefill: pf_memstat.sh (host and engine-process memory counters per session), pf_van_window.sh (vanilla VANL window with the same counters); pf_codex_job.sh uses the sampler
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 10:55:33 +01:00
8e66a516de
prefill: pf_codex_job.sh keeps the whole-session profile lines (prof.log) and samples host memory counters every 0.25 s (memstat.csv)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 10:52:16 +01:00
91481f04f8
prefill: pf_codex_job.sh, a full Codex session block of the prefill-latency package (own state and prefix; the engine environment per variant)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 01:50:48 +01:00
a6d1a19786
prefill: the copy ring accepts a schedule with more slot events than the arena ring (the 512-row loan rung carves the 8-slot ring; its chunks failed with InvalidProjectionShape)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-09 00:08:39 +01:00
6d955f88dc
Speed program: kernel-level status of the vanilla sm_120 set and the remaining missing items with estimates; CUPTI windows queued
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 21:47:12 +01:00
3ec79f9d98
Speed program: CUPTI kernel-window variants (ours CL, vanilla SPD_CUPTI) for the per-kernel comparison at 60-100k context
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 21:46:30 +01:00
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)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 21:40:39 +01:00
9d130fd380
Speed program decode misses: experimental LELEKA_ADAPT_TIE_SPREAD (equal-gain swaps share the per-round cap across layers), tests, variant X
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 21:20:18 +01:00
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)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 21:04:28 +01:00
b2797d239f
prefill: A/B driver for the fixed per-request prefill latency (own package, state and prefix; variants A/L/AR/LR/P/LP)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 21:02:44 +01:00
6073ce00d4
prefill: the prompt executor accepts an arena smaller than its capacity (the loan ladder's smaller rungs failed every chunk with InvalidDimension)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 20:58:04 +01:00
7bee3eb157
Speed program: what keeping the recorded verifier graphs between requests needs (cost 83 ms/request, gain under 1 % e2e)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 20:53:48 +01:00
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
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 20:14:29 +01:00
9c984ba74b
Speed program lever 3: variant G opened the same 12192 slots (null experiment); variant H (reserves lowered) queued
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 14:49:37 +01:00
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
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 14:37:32 +01:00
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
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 12:34:02 +01:00
b686f6ab75
STRA-338: rename the 854 mechanically named modules (impl_*, *_fn, *_<N>) after what they hold; mechanical_names census 854 -> 0
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 13:43:56 +01:00
8def0e96e2
STRA-338: scripts/dev/rename_mechanical.py plans and applies the rename of mechanically named modules
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 13:26:16 +01:00
b64f2b60d0
STRA-338 params q03: prefill chunk entry points take PrefillChunkInputs/PrefillChunkPlan, window attention and FFN injection take ChunkRun, ChunkOpening, MicroEnv, LoadedTargetOwners for on-loaded tests
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 12:47:36 +01:00
760a5dd9a9
STRA-338 params q03: GateUpColumns for swiglu_into_hidden, GroupBuffers for direct project_gate_up, NativeHeadLaunch for finish_verification
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 12:47:35 +01:00
5a0b447b16
STRA-338 params q02: plan_bf16_gemv, plan_mmvq, plan_window_mmvq take StridedRows and extents DTOs
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 12:45:10 +01:00
d20953710d
STRA-338 params q01: OriginalMtpDrafter draft/launch family takes DraftTarget, windows, DraftSampling and a DraftRoundRequest
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 12:40:11 +01:00
60a468cf8c
STRA-338 params q04: split_group family and source_spans take RoutedGroup, PcieSplitPolicy, SwapSources
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 12:39:06 +01:00
1e258fe469
Speed program: lever 7 gate on n=7 (not passed on rounds), lever 6 result (no gain), lever 3 A/B variant G queued
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 12:31:48 +01:00
d6ed4931f1
Speed program lever 7: owner-gate correction, spd-g cells re-accepted with the fixed accept.py (CRM 2 of 3 at 56/56; r3 fails its own e2e test)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 08:38:17 +01:00
b7ff47f044
Speed program lever 2: closed with no change (CPU leg equals vanilla per expert; the excess is the miss count, lever 3); lever 6 and lever 7 logit gate queued
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 08:32:59 +01:00
9f395d9043
Speed program lever 7: final replay result (+12.6% decode) and the owner gate on real Codex sessions (CRM 0/3 at 56/56: stays experimental, off)
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 08:32:02 +01:00
db765f833e
Speed program lever 7: interim paired result (+13.2% decode, experimental) and the owner-gate Codex runs queued
Pavlo RatushnyiandClaude Sonnet 5.52026-11-08 04:11:27 +01:00