diff --git a/docs/experiments/parity-audit-5090.md b/docs/experiments/parity-audit-5090.md new file mode 100644 index 00000000..151ac552 --- /dev/null +++ b/docs/experiments/parity-audit-5090.md @@ -0,0 +1,126 @@ +# 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 + +1. 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). +2. The shipped CUDA code is JIT-compiled PTX for `sm_120` (not `sm_120a`; at least 97 of the PTX files say `.target sm_120`), and the JIT'd SASS is the SASS of an offline `ptxas 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 for `sm_75/86/89/120` plus `compute_120` PTX built with CUDA 13.0. No steady-state cost from the JIT (load time only). +3. The shipped binary takes the AVX-512 path on the 9950X3D: the code is in it (2,783 `zmm` references in `rust_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_AVX2` is unset in every arm). Not observed at run time (no engine could be started; the engine prints no family line, vanilla prints none either). +4. 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. +5. 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 itself needs the GPU and is queued by the orchestrator. + +## 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"); overlap the lent-slot refill with the first decode window | 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 inside the verify window | 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 (`t1/oldports.tsv`); callers `gdn_native_batch.rs:296`, `ple_batch_ffi.rs:158,244,321,373` | at most 0.12 ms/token (0.25 ms/round of kernel time; fully removing it gains less) | M (CUPTI window, DEV decode-sass), S | unknown: another GEMM kernel changes the accumulation order, so a bitwise gate is needed | replace by the vanilla-style custom projections (`native_mmvq_il`, `gdn_*` kernels), or test cuBLAS 13.x (`libcublas.so.13` is in `~/cuda-toolkits/13.2.2/lib64`) 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. `perf` is unavailable to the user (`perf_event_paranoid` 4) 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 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/ComputeCache` is 164 MiB against the documented 256 MiB default `CUDA_CACHE_MAXSIZE`): adding the remaining sm120 PTX modules can push it over the limit and re-JIT at every + start. Start-up time only; set `CUDA_CACHE_MAXSIZE` in the service unit and the harness when the new modules land. Not measured. +* Steady-state `VmPin`/`VmLck` of the engine (the resident expert bank is registered with `cuMemHostRegister` lazily, `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_MEMLOCK` 8 MiB; the product unit sets `LimitMEMLOCK=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 to queue + +Committed on `claude/parity-audit`: + +* `22bb8366` `Cargo.toml`: opt-in `[profile.release-lto]` (fat LTO, one codegen unit). Default builds unchanged. `cargo metadata --offline` passes. Not built (the server has no cargo; the laptop cannot build the CUDA binary). +* `e977669a` `scripts/e2e/decode/parity-audit-ab.sh`: the paired A/B holder job. Arms: `pa-base`, `pa-pcie35`, `pa-pcie40`, `pa-notrace`, `pa-dres100`, `pa-gather`, `pa-lto`. Same base as `o-def` + (pinned `bin-e2e4`, the 5-turn 245k session, `--max-output 300`), with the RANKED upstream profile (`/data/leleka-e2e/decode/assets/expert-profile-upstream.bin`), one variable per arm. + +Exact command (a holder job: it needs the sealed memfd fd like `dt-profile-ab.sh`; start only after the DEV decode-tail arms, one arm at a time, it takes `gpu.lock` itself): + +``` +cp /scripts/e2e/decode/parity-audit-ab.sh ~/work/gpu-runs/holder2/jobs/parity-audit-ab.sh # holder queue, like dt-profile-ab.sh +ARMS="pa-base pa-pcie35 pa-base pa-pcie35 pa-base pa-pcie35" bash ~/work/gpu-runs/holder2/jobs/parity-audit-ab.sh +# then, same pattern: pa-base vs pa-notrace, pa-base vs pa-dres100, pa-base vs pa-gather; pa-lto needs LTO_BIN= +``` + +Cost: 6 arms for the first pair, about 11-12 minutes each including the 9-minute load (the load is the engine's, not the arm's), one arm at a time. Order by value: `pa-pcie35` / `pa-pcie40` first (config only, row 5), then `pa-notrace`. + +Acceptance (AGENTS.md): per-turn mean of 3 interleaved repeats against `pa-base`, spread of `pa-base` itself as the A/A noise, the quality gate for the placement-class arms (`scripts/quality/q_pair.py` on teacher-forced logs at 256k: none exists yet, +S6.1 finding F4), and the full record of hardware, driver, model digest, env and cache state from `env-arm.txt`. Until then no default changes. + +Not implemented on purpose: row 1 and 2 (other agents), row 3 (needs the allocation audit first), row 4 (design), row 5 and 11 (placement: A/B first), row 7 (needs the 13.0.88 toolkit and a GPU golden compare), row 6, 9, 12, 13. + +## 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: none.