Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
26 KiB
5090 decode gap: build-flag and settings parity audit, ours against vanilla Strata 0.2.6 (STRA-245 parity audit)
Date 2026-10-29. Branch claude/parity-audit (from claude/train-a-stra-245, 406b40a8). CPU-only: no GPU job, no holder, no engine started, nothing built on the
server. Everything here is either READ FROM SOURCE, READ FROM THE BINARY / SERVER STATE, or MEASURED by someone else on this machine and quoted with its path.
Nothing below is a new performance measurement and none of the "impact" figures is evidence for a speed claim (AGENTS.md): they rank candidates for the A/B of section 6.
Scope: owner's causes (b) compiler/optimizer and (c) settings. Cause (a) (algorithm: expert placement, profile, prompt seed, adaptive tier) belongs to DEV decode-tail and is only cross-referenced. The CUDA kernel switches belong to DEV decode-sm120-switches and DEV decode-sass.
Evidence key: S read from source (engine/strata or crates), B read from the shipped binary or server state, M measured by another agent (path given), E estimate
(derivation given, not measured). Gap to explain: 111 tok/s ours (o-def) against 122 (vanilla default, timed) to 143-154 (vanilla untimed or tail skip off): 2.4-2.5 ms/token
of 9.0 (docs/experiments/decode-gap-5090.md on claude/stra-258, section 2). Per-turn decode tok/s of the three S1 runs, single runs without A/A (/data/leleka-e2e/runs/s1-decode/*/long-session.json):
ours o-def 106 / 115 / 107 / 124 / 105; vanilla v-def-t 115 / 127 / 128 / 129 / 110; vanilla v-nsk-prof 112 / - / 146 / 146 / 168.
1. Result in five lines
- Compiler/optimizer (b) is NOT where the gap is. Rust build, CPU kernels and CUDA code generation are equal to vanilla in every place I could check; the differences found are small
(rows 7, 9, 10, 11) and two of them are deliberate (no
target-cpu, precise-math PTX). - The shipped CUDA code is JIT-compiled PTX for
sm_120(notsm_120a; at least 97 of the PTX files say.target sm_120), and the JIT'd SASS is the SASS of an offlineptxas 13.2(987 kernels with both: 646 equal instruction counts, 957 within 1 % or 16 instructions, median ratio 1.00). Against vanilla, 172 same-named kernels have a median instruction ratio of 1.00 and 98 of them have equal spills and shared memory (18 differ by a few registers). Vanilla ships SASS forsm_75/86/89/120pluscompute_120PTX built with CUDA 13.0. No steady-state cost from the JIT (load time only). - The shipped binary takes the AVX-512 path on the 9950X3D: the code is in it (2,783
zmmreferences inrust_iq::dot_multi512) and the dispatch is a runtime CPUID/XCR0 test that this CPU passes (all of F, BW, VL, DQ, VNNI, VBMI present;STRATA_FORCE_AVX2is unset in every arm). Not observed at run time (no engine could be started; the engine prints no family line, vanilla prints none either). - Settings (c): the largest differences are the 2.1-2.3 GiB larger fixed VRAM footprint (row 3), the per-request fixed costs of the decode phase (row 4), the fixed PCIe share 0.45 against vanilla's self-tuning 0.35 (row 5) and the instrumentation env of the harness (row 8). None is lossy. The two big items of the gap (placement, sm120 kernel switches) are rows 1 and 2, owned elsewhere.
- Nothing in this page justifies changing a shipped default yet. One opt-in cargo profile and one A/B job script are committed; the A/B job is queued as a holder job after the decode-tail and sm120 jobs (section 6). The PCIe-share and decode-reserve knobs stay experimental flags, OFF by default, until a
q_tail_gateresult exists.
2. The ranked table
Rank is by estimated effect on end-to-end decode ms/token; Lossless? uses the classes of docs/experiments/2026-10-28-s6-1-lossy-audit.md (lossless / lossy / placement = "unknown-until-q_pair").
"Impact" is the possible gain for ours (ms/token of the 2.5 ms/token gap, and percent of 9.0 ms/token).
| # | item | vanilla 0.2.6 | ours (shipped / o-def) | impact estimate | ev. | lossless? | fix | owner |
|---|---|---|---|---|---|---|---|---|
| 1 | expert placement: profile file, prompt SEED, adaptive tier | upstream ranked data/expert-profile.bin (sha 8f59b4aa...), no prompt seed, 96 swaps / 4 rounds, 3-8 swaps per round |
harness default profile is a PLACEHOLDER (47 % overlap with the ranked top-11,280), seed ON up to 4,096 swaps, 18 swaps per round, 81 % VRAM share against 96-98 % | 0.7-1.0 ms/token (S1.3 section 4 item 1: 1.5-2.1 ms per round of the first 20 windows of every request); first r-prof run: VRAM share 95.1 % (short session, not 256k) | M (S1.3), M (runs/decode-tail/r-prof/inference.log last lines) |
placement | dt-profile-ab, then seed-off arm N1 | DEV decode-tail |
| 2 | five sm120 kernel switches STRATA_SIDE_MIXER=2 ATTN_DAILY GR_UP75 GR_DOWN_TG GU_SWIGLU |
ON by default on a cc 12.0 card (include/strata/core/sm120_series.hpp, STRATA_SM120_PERF unset) |
old sealed PTX; ATTN_DAILY and GU_SWIGLU are committed on claude/decode-sm120-switches (0ca709ca, 0765a209), SIDE_MIXER, GR_UP75, GR_DOWN_TG not yet |
upstream's own number for the set: verify round of 4 tokens 13.70 -> 12.23 ms (-1.47, RTX PRO 5000, all experts in VRAM); at 2.13 tokens/round on the 5090 that is 0.5-0.7 ms/token (20-28 % of the gap) | S (header), E | bitwise per upstream; ours needs its own identity gate | port the remaining three, identity gate, A/B | DEV decode-sm120-switches |
| 3 | fixed VRAM footprint, hence expert slots | 12,575 slots (23.87 GiB): dense 1,466 + 2,019 MiB, MTP 835 + head 213 MiB, token embedding in mapped host memory, reserve 700 + 218 MiB | 11,280 slots (21.50 GiB): dense weights 4,578 MiB (accounted 3,890, 688 MiB unaccounted), prompt executor + MTP drafter 2,092, embedding table 324, native head 506, MoE arena 944, reserve 700 + 300 | -1,295 slots (-10 %). 0.2-0.6 ms/token (E: S1.3 slope, about 1 ms per round per point of VRAM share at the start, +1-1.5 points for +11.5 % slots with diminishing returns); never measured (the o-s10000 slope arm was dropped) |
M (sizes, logs), E (effect) | placement (cache size) | find the 2.1 GiB: (a) what DenseWeightCache::new_original_prompt_capacity allocates beyond vanilla's 3.5 GiB, (b) why the 688 MiB driver-over-accounted gap, (c) select_rt_mtp / OriginalMtpRequest::ring_int8 1 GiB over vanilla's drafter; then o-s10000 slope arm |
unassigned (S1.4 N3) |
| 4 | per-request fixed costs inside the decode phase | verify windows captured once per process (5 captures in the first request, none later); decode_ms is the verify loop |
decode.assemble 69 ms + decode.disassemble 11 ms + decode.seed_ple 21 ms per request, decode.phase 2,575-3,013 ms against decode.serve 2,437-2,886 ms (4.4-5.7 %); first request also record.modules 133 ms. Before decode: prefill.seed 168-260 ms + prefill.refill 307-419 ms per request |
up to 0.3 ms/token-equivalent (3.4 % of decode.phase for 300 tokens) IF the owner's tok/s counts the phase; 0 if it counts the verify loop. For the real agent workload (1-3 s decodes per turn) it is a per-turn cost either way |
M (runs/s1-decode/o-def/inference.log, DBG profile request lines) |
lossless | verifier persisted across requests (docs/decode-parity.md, "Verifier persistence: not done"). Small fixes examined and NOT made: the instantiate-update of the parked executables was tried (6fa92c13) and reverted (c45bcaaf: the stack went Broken in the cancellation smoke of job 804; it saved ~21 ms); seed_ple_history copies only 368 KB (9 * 10240 f32), so its 21 ms is a synchronous copy that waits for work still in flight on the stream (the queued lent-slot refill is one candidate), which a trace has to confirm before any change |
unassigned (needs a design) |
| 5 | PCIe share of missed experts | probes the link (47.5 GB/s) then PcieAuto refines from the CPU pool's speed: 43 us per missed expert -> 0.35 (v-def-t and v-nsk-prof logs, generate.cpp:3600-3660) |
fixed 0.45 (original_serve_residency.rs:171, job-909 optimum), LELEKA_PCIE_AUTO off ("no better than the best fixed share", docs/decode-parity.md) |
0-0.25 ms/token (E: docs/decode-parity.md measured +4.7 % for 0.45 against 0.55 at the auto cache, +5.8 % for the Original at 0.35 against 0.55; ours misses 4.0 entries per layer-window against 0.8 so the optimum may differ). Sign unknown |
S, M (vanilla logs) | placement (which device rounds the expert) | arm pa-pcie35, pa-pcie40 (section 6); no code change before |
orchestrator queue |
| 6 | cuBLAS GEMMs in the per-round kernel table of ours | none (no gemm/cutlass/cublas kernel in /data/leleka-e2e/decode/t1/vanilla.tsv) |
10 cuBLAS kernel families from libcublas.so.12 12.9.1.4, cutlass_80_* (sm80 kernels on an sm_120 card) and splitKreduce: 0.25 ms per round, 0.5-16 launches per round per family, next to leleka_prefill_dequant_q6_k (0.23 ms per round, 70 us each) in t1/oldports.tsv. Where they are launched is NOT established: every cuBLAS caller found (ple_batch_ffi.rs Blas, native_batch_workspace.rs:41, the GdnGemm adapter) and the dequantizer belong to the prompt-path code (prefill_stage*), and the ours .lct behind that table is no longer on the server (only t1/vanilla/win-turn5.lct is), so I could not tell whether they run inside a verify round or in the prompt part of the 20 s window |
at most 0.12 ms/token if they are in the verify rounds, 0 if they are prompt-path kernels; with the dequantizer 0.22 ms/token (E) | M (table, DEV decode-sass), S | unknown: another GEMM kernel changes the accumulation order, so a bitwise gate is needed | first decide membership: decode_rounds.py --nodes on the decode-sass-trace2 ours trace (job in the holder queue) or a CUPTI arm; only then a fix (vanilla-style custom projections, or cuBLAS 13.x behind an identity gate) |
DEV decode-sass |
| 7 | PTX precise math where vanilla compiles --use_fast_math |
native_*.cu (14 files), strata_mmq, strata_kq with --use_fast_math; the rest default flags (CMakeLists.txt:594, 1989, 2038, 2065) |
all sealed PTX: nvcc --ptx -O3 -arch=sm_120 --fmad=true --ftz=false (scripts/build-original-verify-ptx.sh); the seal plan lists the affected assets (docs/cuda-seal-plan-additions.json flags_policy_audit, -window.json numerics_risk_fast_math) |
instruction count of the same-named activation quantizers: quantize_q8_1 248 against 104, quantize_mmq_q8_1 1.5-2.2x, quantize_mmq_mxfp4 3-3.4x (decode/join3.tsv). These kernels are 0.9-1.1 us each: at most 0.1-0.15 ms/token, probably a third of that |
M (instr counts), S | re-sealing with fast-math moves ours TOWARD the Original's bits, so it is a parity fix; needs the per-kernel golden compare | re-seal the listed assets with --use_fast_math with the pinned toolkit 13.0.88, GPU golden compare, A/B |
DEV decode-sass |
| 8 | instrumentation env of the harness | STRATA_DECODE_TIMING/VERIFY_PROFILE only in the timed arms; the untimed default is clean |
scripts/e2e/run-e2e.sh exports LELEKA_SERVE_PROFILE=1, RUST_BACKTRACE=1; the arms add LELEKA_BRINGUP_TRACE=1 (one 700-byte DBG window line per round) and LELEKA_PREFIX_TRACE=1; the LELEKA_GRAPH_EXEC_REUSE=off the script also exports is read by no crate (dead) |
at most 0.05 ms/token (E: log-only, lib.rs:4-17, original_serve_profile.rs: one Instant pair per span) |
S | lossless | arm pa-notrace |
orchestrator queue |
| 9 | CPU IQ/Q2 expert kernels: Rust (rustc/LLVM) against C++ (GCC 11.4, -O3) |
iq_avx512.cpp etc., runtime cpu_avx512_ok() |
rust_iq.rs, rust_q2.rs etc., runtime avx512_ok(); half, prefetch, hsum, signs32 are inlined (no symbols); dot_multi512 is one 74 KB function with all 5 formats x 8 token counts; AVX2 dot_single / dot_multi256 call a non-inlined decoded and a runtime match t per 32 values and bounce the grid words through a stack array (store-forward stall), bounds checks in the block loop |
per CPU entry 37 us (port) against 35 us (Original) = +6 % (docs/decode-parity.md finding 3, job 980, Rust kernels since the 2026-10-14 import). At most 0.1 ms/token (E: CPU leg is DRAM-bound, docs/roofline.md) |
M (old head), S, B | lossless (bitwise tests exist: native_expert_parity) |
const-specialise dot_single / dot_multi256 on the format like dot_multi512_tn; compare with native_expert_parity --bench on the server when the GPU is free |
unassigned, low |
| 10 | Rust profile: cargo release defaults | n/a (C++, CMake Release -O3 -DNDEBUG, GCC 11.4, portable build) |
no [profile] anywhere in the workspace (Cargo.toml, member crates, no .cargo/config.toml); fingerprint of the shipped build: "rustflags":[] (~/work/leleka-rest-target/release/.fingerprint/leleka-native-cpu-expert-*); so opt-level 3, no LTO, 16 codegen units, panic=unwind; rustc 1.99.0 |
host-side orchestration only (draft host overhead is about 0.02 ms per step, docs/decode-parity.md finding 4): at most 0.05 ms/token |
B, S | lossless (Rust has no fast-math; bit identity expected, unmeasured) | committed opt-in [profile.release-lto] (fat LTO, 1 codegen unit); arm pa-lto needs a build on a machine with cargo (the server has none) |
orchestrator queue |
| 11 | VRAM reserve at decode | --vram-reserve-mib 700 + 218 for the draft head; leaves 389 MiB, 315 MiB after the window captures (and prints a warning below 512 MiB, #2065) |
700 + DECODE_RESERVE_MIB 300; leaves 563-569 MiB at decode (DBG vram decode after assemble) |
about +100 slots (+0.9 %): 0.02-0.05 ms/token | M (logs) | placement (cache size) | arm pa-dres100; do not go below vanilla's 315 MiB |
orchestrator queue |
| 12 | IQ grid gather in the CPU kernels | STRATA_IQ_GATHER set non-empty: atoi; unset: cpu_gather_fast() = GenuineIntel with AVX-VNNI only, so OFF on the 9950X3D |
rust_simd.rs:25: var_os("STRATA_IQ_GATHER").is_some(), so unset = OFF (equal) but STRATA_IQ_GATHER=0 turns it ON (divergence, no effect unless set) |
unknown sign (upstream measured gathers 3-5 % slower on Zen 4, microcoded; Zen 5 untested) | S | lossless (same words) | arm pa-gather; fix the =0 parse only if the arm is positive |
orchestrator queue |
| 13 | host CPU governor | not set by Strata | powersave governor with amd-pstate-epp and EPP balance_performance on all cores; GPU persistence mode Disabled |
not differential (both engines run on this machine); 0-3 % for BOTH if the CPU leg is compute-bound at its 37 us per entry | B | n/a (system setting) | cpupower frequency-set -g performance / EPP performance is a system change: not done, owner decides |
owner |
| 14 | Rust CPU kernel hot-loop bounds checks | none (C++) | row[i*fb..][..fb], ys[k], y[i] checked per block and token (documented as intentional in rust_iq.rs header) |
inside row 9 | S | lossless | get_unchecked behind the existing asserts only if row 9's bench shows it |
unassigned, low |
Rows 1 and 2 already explain about 1.2-1.7 ms/token of the 2.5 ms/token gap between them (estimates, not additive until measured together). Rows 3-5 can plausibly add 0.5-1 ms/token; the rest is below the noise of a single arm.
3. What I checked and found EQUAL (no action)
| area | vanilla | ours | ev. |
|---|---|---|---|
| CPU ISA build | BUILD.json "portable": true: ggml-cpu AVX2/FMA/F16C/BMI2, per-file -mavx512* for the IQ/NVFP4/trellis kernels, runtime cpu_avx512_ok() (CMakeLists.txt:1779-1833) |
the GGML arithmetic branches are selected by cfg!(target_feature = ...) constants in rust_ggml_native.rs:9-14 that mirror that portable build; the AVX-512 IQ/Q2 leaves use #[target_feature] and a runtime gate. No target-cpu on purpose: -C target-cpu=znver5 would flip F, V512, BF and select the "native" GGML branches, i.e. change bits |
S, B |
| AVX-512 present in the shipped binary | nm/objdump of bin-e2e4/leleka-inference: rust_iq::dot_multi512 74,433 bytes, 2,783 zmm operands, 180 vpmaddubsw, 180 vfmadd, 32 vpgatherdd (gated off by default), rust_q2::dot512 present |
B | |
| runtime gate | cpu_avx512_ok(): CPUID 7 EBX F/BW/VL, ECX VNNI/VBMI, XCR0 0xe6, STRATA_FORCE_AVX2, STRATA_FORCE_ISA |
avx512_ok(): same bits (rust_simd.rs:37-46), dq_ok(); this CPU reports avx512f/dq/bw/vl/vnni/vbmi/vbmi2/bitalg/vpopcntdq/bf16 |
S, B (/proc/cpuinfo) |
| prefetch distance, multi-token minimum, tasks per phase, spin | STRATA_IQ_PREFETCH 2048, STRATA_IQ_MT_MIN 2, 48 tasks per phase, STRATA_POOL_SPIN_US 20 ms |
same defaults (rust_simd.rs:25, rust_pool.rs:89-93) |
S |
| CPU workers and pinning | 15 workers on logical 1-15 (one per physical core, both CCDs), host thread on 0 and draining, v-def-t/engine.log |
LELEKA_ORIGINAL_SERVE_CPU_WORKERS default 15; cores(true) skips the first core, each worker pin(core); the deploy preset computes 15 for this host (resources.rs) |
S, M |
| huge pages | MAP_HUGETLB fails (no pool) and THP is NOT requested because only 14-17 GiB of free 2 MiB blocks for a 46 GiB arena: 4 KB pages (v-def-t/engine.log) |
4 KB pages (LELEKA_BANK_THP off; "THP took no effect", docs/decode-parity.md) |
M |
| register / spill / smem of shared kernels | 98 same-named kernels: 0 differ in spills, 0 in static smem, 18 differ by a few registers (decode/cmp_res.tsv) |
M (DEV decode-sass) | |
| SASS of the JIT against the offline compile | n/a | 154 JIT'd cubins in ~/.nv/ComputeCache (164 MiB, 157 files) against ptxas 13.2 offline: 646 of 987 kernels equal, 957 within 1 % or 16 instructions (decode/join3.tsv columns jit and ours) |
M |
| GPU clocks at 100 % utilisation | 2,857 MHz, 443 W | 2,863 MHz, 433 W (decode/t1/*/smi.csv) |
M |
| context scheduling | cudart primary context, cudaDeviceScheduleAuto (spin when contexts < logical CPUs) |
cuCtxCreate_v2(flags 0) = CU_CTX_SCHED_AUTO (ffi.rs:1930): same |
S |
| stream priorities | the MTP stream gets the highest priority only with --pipeline-windows 2 (mtp.cpp:446-448) |
none | S (equal in the default single-GPU case) |
| KV, context, resident window | int8, 262,144, 32,768 cells, 3.09 GiB pinned | same (leleka-serve kv int8 context=262144 resident=32768 ... pinned-host=3.094 GiB) |
M |
| route tail skip | ON (lossy), not the cause of the gap (S1.3 section 3) | OFF (LELEKA_ROUTE_TAIL_SKIP 0) |
M |
4. Where ours is deliberately different and ahead (no gap)
--spec-min-p 0 and the adaptive window (2.13 tokens per round against 1.79-1.88), LELEKA_CHAIN=all, the prefix cache with request-end checkpoints. These are ours-only and lossless-class or
unknown-until-q_pair by the S6.1 audit; they are not gaps and are not touched here.
5. What is NOT verified here (honest list)
- The AVX-512 path was not observed executing.
perfis unavailable to the user (perf_event_paranoid4) and no engine could be started. The static evidence is the code in the binary plus the CPUID gate. - The cause of the 688 MiB difference between accounted and driver-seen device bytes in the dense-weights stage, and of vanilla's smaller prompt/MTP footprint, is not identified (row 3).
- The cuBLAS /
dequant_q6_kkernels of row 6 may belong to the prompt path; the first version of this page called them verify-window kernels, which was an inference from the per-round table, not a fact. - The sign of rows 5 and 12 is unknown; every "impact" is an estimate. The r-prof VRAM share (95.1 %) is from a short session.
- JIT behaviour on a cold machine (
~/.nv/ComputeCacheis 164 MiB against the documented 256 MiB defaultCUDA_CACHE_MAXSIZE): adding the remaining sm120 PTX modules can push it over the limit and re-JIT at every start. Start-up time only; setCUDA_CACHE_MAXSIZEin the service unit and the harness when the new modules land. Not measured. - Steady-state
VmPin/VmLckof the engine (the resident expert bank is registered withcuMemHostRegisterlazily,api.rs:276, and the stage table shows pinned +0): the engine was not in decode when I looked. - The KAR memfd (51.5 GiB) is swappable in the harness (
RLIMIT_MEMLOCK8 MiB; the product unit setsLimitMEMLOCK=infinity). Available memory fell to 8-13 GiB during o-def; a swap-in during decode would appear as a slow CPU leg. Swap was 0 B used when I looked. Arms should run with the lock or with at least 20 GiB available.
6. What was done and what is queued
Committed on claude/parity-audit:
22bb8366Cargo.toml: opt-in[profile.release-lto](fat LTO, one codegen unit). Default builds unchanged.cargo metadata --offlinepasses. Not built: the server has no cargo and the laptop cannot build the CUDA binary, so thepa-ltoarm is skipped.49be10eascripts/e2e/decode/parity-audit-ab.sh: the paired A/B holder job (replacese977669a).
The job (queued 2026-10-29 by the audit agent under the orchestrator's decision; no second holder):
- Server tree, all under
/data/leleka-e2e/parity-audit/:jobs/parity-audit-ab.sh(a copy of the committed script),bin-e2e4/(hardlinks of the DEV decode-tail copy of the pinned binaries, sha256730a956a...),scripts/e2e/andtools/long-session.py(copies of the DEV decode-tail guarded versions: ranked-profile guard inrun-e2e.sh, empty-corpus and--min-final-tokensguard inlong-session.py;Wpointed at/data/leleka-e2e/parity-audit/w),w/(run state). Outputs:/data/leleka-e2e/runs/parity-audit/<arm>-r<n>/. - Queue stub
~/work/gpu-runs/holder2/jobs/parity-audit-ab.sh(exec bash /data/leleka-e2e/parity-audit/jobs/parity-audit-ab.sh, the same pattern asdt-ab3.sh; the holder's queue directory is the only thing outside/data/leleka-e2e), and ONE line injobs/PRIORITY, directly aftersm120-e2e-ab, i.e. last of the priority list (order now:dt-ab3,dt-profile-ab,sm120-replay-id,sm120-e2e-ab,parity-audit-ab). Backup of the file before the edit:jobs/PRIORITY.bak-pa. - Workload: the frozen corpus
/data/leleka-e2e/decode/corpus/src/crates(MANIFEST.txt, sha2561152f45a...), 5 turns,--target-tokens 245000 --max-output 300 --min-final-tokens 200000. The old~/work/leleka-headcorpus is gone (a run on it is a ~300-token session; the first version of this job used it and was never queued). Every arm gets aVALIDITY.txt:VALIDonly when all 5 turns completed and the final-turn input tokens are >= 200,000, otherwiseINVALIDand the summary ignores it. Comparisons are ours against ours on this corpus only; numbers from before the corpus freeze are not comparable to them. - Arms and order (default
ARMS):pa-base pa-pcie35x3 (three pairs), thenpa-notrace pa-base pa-dres100 pa-base pa-gather pa-base: 12 engine starts, about 11-12 minutes each including the ~9-minute load, one arm at a time undergpu.lock.pa-pcie40is available but not in the default list;pa-ltois skipped. - Experimental status:
pa-pcie35,pa-pcie40,pa-dres100change placement (which device computes a missed expert, how many experts are resident). They are experimental flags, OFF by default in the engine, the deploy profiles and the harness, and stay off until aq_tail_gateresult exists for them (S6.1 finding F4: no 256kq_pairlog exists yet).pa-notraceandpa-gatherare lossless-class. - Result: the job prints per-turn decode tok/s of every VALID run and the per-turn mean difference of every arm against the
pa-baseruns. Acceptance for a default change stays AGENTS.md's: paired A/B on the same workload with the spread ofpa-baseas the noise, the quality result, and the recorded environment (env-arm.txtin every arm directory).
Small lossless fixes (orchestrator item 5): none made. Row 4: the instantiate-update fix was tried before and withdrawn, the seed_ple cost needs a trace, the rest is verifier persistence (a design, not a small change).
Row 6: the cuBLAS kernels' membership in the verify rounds is unproven, and the only callers are prompt-path code. Rows 5 and 11 are placement knobs and are A/B only.
7. Commands run (all read-only; server only under ssh rnr5090, nothing created there)
free -g; uptime # 121 GiB, 53 used, 67 available; load 3-4 during the check
lscpu; cat /proc/cpuinfo flags; cat /sys/kernel/mm/transparent_hugepage/*; cat cpufreq/{scaling_governor,energy_performance_preference}
nvidia-smi --query-gpu=...persistence_mode,clocks... # driver 595.99.02, persistence Disabled
cat ~/work/vanilla-strata/engine/{BUILD.json,engine-component.json} # archs 75 86 89 120 + compute_120, cuda 13.0, portable true
strings strata | grep GCC # GCC 11.4.0 (Ubuntu 22.04)
nm -C --size-sort bin-e2e4/leleka-inference | grep rust_iq # symbols; half/prefetch/hsum are inlined
objdump -d --start-address=0x3baebe0 --stop-address=0x3bc0eb0 ... # dot_multi512: zmm 2783, vpmaddubsw 180, vpgatherdd 32
cat ~/work/leleka-rest/Cargo.toml; .fingerprint/leleka-native-cpu-expert-*/lib-*.json # no [profile], "rustflags":[]
grep -c / awk over decode/{join3,cmp_res}.tsv, t1/{vanilla,oldports}.tsv, t1/*/smi.csv # numbers of rows 6, 7 and section 3
grep over /data/leleka-e2e/runs/s1-decode/{o-def,v-def-t,v-nsk-prof}/{inference,engine}.log # sizes, PCIe share, per-request profile
cargo metadata --no-deps --offline --format-version 1 # laptop, in the worktree: profile parses
Paths created by this task: laptop C:\Users\pavel\work\leleka\.git\wt\parity-audit (worktree, branch claude/parity-audit) and the scratch copy of four server TSV files under the session scratchpad. Server: /data/leleka-e2e/parity-audit/ (section 6), /data/leleka-e2e/runs/parity-audit/ (created by the job), the queue stub and PRIORITY.bak-pa in ~/work/gpu-runs/holder2/jobs/, and one appended line in /data/leleka-e2e/decode/notes.md.