CodeQL / Overly permissive file permissions
Overly permissive mask in open sets file to world writable.
aien-dev/omega-dnn
Brought by drakestapleton
Overly permissive mask in open sets file to world writable.
git checkout -b patch-3def8f3f49c8cedd ca6b59ef3d63e61d0ad5983e54fc5e7f4e736b86 curl -fsSL https://interplane.io/drakestapleton/omega-dnn/patches/3def8f3f49c8cedd.patch | git am
github-import 1
aien-dev/omega-dnn
1
397dd32a735f3d10e124d6077ba19fef48aebb69
{"kind":"github-import","owner":"aien-dev","repo":"omega-dnn","number":1,"url":"https://github.com/aien-dev/omega-dnn/pull/1","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:59Z","metadata":"unavailable","state_derived":true}
diff --git a/README.md b/README.md index 060f2b6..d927fe9 100644 --- a/README.md +++ b/README.md @@ -14,20 +14,37 @@ and the seeded OM-1 compiler `evidence/SEED-0/omc/omc.elf`, sha256 `734f0a39…6 | item | label | |---|---| -| RMSNorm, LayerNorm, Softmax, RoPE (split and interleaved), SiLU, GELU (erf, tanh), SwiGLU, Add, Mul, bias, ReLU | IMPLEMENTED in .om, EXERCISED on AArch64 (tests/) | -| MatMul (+bias, transposed B), flash-tiled attention prefill (GQA, causal), paged-KV decode | IMPLEMENTED in .om, EXERCISED on AArch64 | -| Conv2d (direct and im2col + GEMM, stride, pad, dilation, groups), MaxPool, AveragePool, GlobalAveragePool | IMPLEMENTED in .om, EXERCISED on AArch64 | -| Fusion graph (producer + elementwise chain, one store) | IMPLEMENTED, EXERCISED (pass counts and values in tests/) | -| GB10 GPU rows | interim C SASS codegen in omega-mv, measured against cuDNN: see the Stack7 OmegaDnn report | +| RMSNorm, LayerNorm, Softmax, RoPE (split and interleaved), SiLU, GELU (erf, tanh), SwiGLU, Add, Mul, bias, ReLU | IMPLEMENTED in .om, EXERCISED on AArch64 (host): [tests/test_ops.py](tests/test_ops.py), receipt [evidence/HOST-01dc3de2](evidence/HOST-01dc3de2) | +| MatMul (+bias, transposed B), flash-tiled attention prefill (GQA, causal), paged-KV decode | IMPLEMENTED in .om, EXERCISED on AArch64 (host), same receipt | +| Conv2d (direct and im2col + GEMM, stride, pad, dilation, groups), MaxPool, AveragePool, GlobalAveragePool | IMPLEMENTED in .om, EXERCISED on AArch64 (host), same receipt | +| Fusion graph (producer + elementwise chain, one store) | IMPLEMENTED, EXERCISED on AArch64 (host): pass counts and values in [tests/test_ops.py](tests/test_ops.py) | +| Mutants of om/dnn.om | 14 of 14 killed by the host suite: [tests/mutants.py](tests/mutants.py), same receipt | +| GB10 GPU tier: RMSNorm, RoPE (split), SwiGLU, SiLU, Softmax (c ≤ 64, through the attention kernel), GQA decode attention, causal prefill attention, paged-KV decode (single and batch), MatMul (f32, +bias, transposed B) | EXERCISED on the GB10 chip through CUDApp's native kernels, gated against this repo's .om host result: [tests/test_gpu.py](tests/test_gpu.py), receipts [evidence/GPU-9841bb3a](evidence/GPU-9841bb3a) (elementwise, attention; CUDApp main `9841bb3a`) and [evidence/GPU-b28372d1](evidence/GPU-b28372d1) (MatMul; CUDApp PR #139 `b28372d1`, not merged). Not QUALIFIED: one seed, 32 cases per op. Failed earlier runs: [evidence/GPU-9841bb3a/LOSSES.md](evidence/GPU-9841bb3a/LOSSES.md) | +| No GPU path | see "Not on the GPU" below | +| Earlier GB10 measurement (2026-10-26) | omega-mv's interim C SASS codegen measured against torch/cuDNN: [evidence/STACK7-GPU-20261026/GPU.md](evidence/STACK7-GPU-20261026/GPU.md). Those kernels are not the CUDApp kernels above | | SPIR-V | PROPOSED, blocked: omega-mv IR mode has no floats or memory | | GEMM from aien-dev/omega-blas | PROPOSED (the MatMul here is an interim f64-accumulating GEMM in .om) | +### Not on the GPU + +NOT_RUN: CUDApp has no kernel for these (header search of CUDApp `src/*.h` at `9841bb3a`): +LayerNorm, GELU (erf and tanh), ReLU, Add, Mul, bias, RoPE interleaved, Conv2d (direct and +im2col), MaxPool, AveragePool, GlobalAveragePool, the fusion graph, and standalone Softmax. + +Unsupported shapes, refused by the CUDApp kernels and not tested: +- RMSNorm: dim % 128 ≠ 0, or dim > 16384. +- Attention: head_dim ∉ {64, 128}; more than 64 query heads; a GQA ratio that is not a power of two; context above 4096. +- RoPE: rotary width below head_dim. +- Softmax: more than 64 logits. + ## Build and test ```sh sh tools/build.sh # fetches the pins into .deps/, checks both compiler hashes, binds -python -m pytest -q tests # needs torch (CPU); compares against torch float64 +python tests/test_ops.py 200 # needs torch (CPU); randomized, compares against torch float64 python tests/mutants.py # each mutant of om/dnn.om must fail the suite +python tests/test_gpu.py --lib <CUDApp>/build-pic/libcudapp_dnn.so --group ew|attn|gemm \ + --cudapp-sha <sha> --out <receipt.json> [--hold] # GB10; without --hold only the host side runs ``` `build/` gets `libomega_native.so`, the generated `omega_native.{py,h,c,rs,zig,go}` and @@ -39,13 +56,14 @@ the Omega unit. Tensors enter through DLPack (`torch.from_dlpack`). f32 in and out, f64 inside, one rounding per stored element. exp is Cody–Waite with a degree-13 Taylor polynomial, erf a positive series (|x| ≥ 6 gives ±1). Tolerances are derived in -[docs/TOLERANCE.md](docs/TOLERANCE.md) and checked element by element in `tests/`. +[docs/TOLERANCE.md](docs/TOLERANCE.md), the GPU-tier bounds in its "GPU tier" section, and checked +element by element in `tests/`. ## Limits of the seeded compiler (and the proposals) The OM-2 compiler gives each function 16 registers with no spilling, has no vector or FMA words, -and bounds every loop at 1,000,000 passes. The kernels are scalar and bounds-checked, so they trail -oneDNN on speed; the measured gap is in the report. The Omega extensions that close it: f32x4 +and bounds every loop at 1,000,000 passes. The kernels are scalar and bounds-checked. The speed +gap to oneDNN is NOT_RUN: no comparison against oneDNN has been measured. The Omega extensions that close it: f32x4 vector words and FMA, a register allocator with spilling, and IR-mode floats plus a buffer ABI for the SPIR-V backend. diff --git a/docs/TOLERANCE.md b/docs/TOLERANCE.md new file mode 100644 index 0000000..360ec5e --- /dev/null +++ b/docs/TOLERANCE.md @@ -0,0 +1,150 @@ +# Tolerance contract + +The reference is torch float64 on the same f32 inputs. Every output element y of every op must +satisfy + + |y − ref| ≤ u32·|ref| + 2·γ(n + 64)·M + 2^-149, u32 = 2^-24, u64 = 2^-53, γ(k) = k·u64 / (1 − k·u64) + +- **u32·|ref|**: the unit computes in f64 and rounds once to f32 when it stores (round to nearest: + at most half an f32 ulp, relative 2^-24). +- **2·γ(n + 64)·M**: f64 rounding inside the unit plus inside the reference. n is the length of the + op's longest reduction (row length for the norms and softmax, K for MatMul, D + keys for attention, + C/g·kh·kw for Conv, the window for pooling) and M is the op's absolute-value magnitude computed in + f64 by the test (for example |A|·|B| + |bias| for MatMul; Σp·|v|·(1 + 2·max scaled |q|·|k|) for + attention; (1 + |x − max|)·p for softmax). The extra 64 covers the fixed-length transcendental + evaluations (exp, erf, tanh, sqrt and divisions) per element. +- **2^-149**: the smallest f32 subnormal, for outputs that underflow. + +Numbers, all from Wolfram (`WolframLanguageEvaluator`, 2026-10-27): + +| query | result | +|---|---| +| `N[2^-24, 17]`, `N[2^-53, 17]` | 5.9604644775390625e-8, 1.1102230246251565e-16 | +| `N[gam[2^20 + 64], 6]` (largest reduction allowed by the loop bound) | 1.16422e-10 | +| `N[gam[2^20 + 64]/2^-24, 6]` | 0.00195324 — the f64 term stays below 0.2% of u32 per unit of M | +| `N[gam[64], 6]` | 7.10543e-15 | +| `N[(Log[2]/2)^14/14! * Exp[Log[2]/2], 6]` (exp: Taylor remainder after degree 13 on \|r\| ≤ ln2/2) | 5.85118e-18 | +| `N[Erfc[6], 6]` (erf clamps to ±1 for \|x\| ≥ 6) | 2.15197e-17 | +| `N[72/(2*70 + 3), 6]`, `N[r/(1 - r)*10^-17, 6]` (erf series: term ratio at q = 6 once k ≥ 70; tail after the 1e-17 stop) | 0.503497, 1.01408e-17 | +| `N[Product[72/(2 j + 3), {j, 36, 70}], 6]` (erf series at q = 6 has not stopped before k = 70) | 9.25083e-7 | +| `N[2^-149, 6]` | 1.40130e-45 | + +The approximation errors of exp and erf (≤ 2.2e-17 relative) are below γ(64), so they sit inside +the f64 term. ReLU and MaxPool are exact (measured worst err/tol 0). + +**Tightness.** The u32 term is the binding one: the measured worst err/tol ratio is 0.96–1.00 for +every rounding op (tests/test_ops.py output). With every bound halved +(`OMEGA_DNN_TOL_SCALE=0.5`, negative control) the suite reports violations. + +**Scope.** A defect smaller than about one f32 rounding of the output is invisible by construction: +for example perturbing the low half of the Cody–Waite ln2 constant. tests/mutants.py lists the +mutants that the suite must kill. + +## GPU tier (tests/test_gpu.py) + +The GPU tier runs CUDApp's native GB10 kernels on the same f32 inputs and holds each chip output +element y to the omega-dnn host unit h (the gate) and to torch float64 r (a diagnostic): + + gate: |y − h| ≤ T_chip + T_host, T_host = u32·|r| + 2·γ(n + 64)·M + 2^-149 (contract above) + diagnostic: |y − r| ≤ T_chip + 2·γ(n + 64)·M + 2^-149 + +T_chip bounds the kernel against exact arithmetic. Each one below is derived from the kernel source +at the pinned CUDApp sha, does not depend on summation order, and was fixed before any chip run. +Each also carries an absolute 2^-124 for products that the chip may flush below 2^-126. Notation: +u = 2^-24, g(n) = n·u/(1 − n·u) (the f32 γ). + +Hardware constants come from PTX ISA 9.4. `ex2.approx.f32` is within 2 ulp of the correctly +rounded result, which gives at most 5u relative. `rcp.approx.f32` is within 1 ulp, which gives 2u. +`rsqrt.approx.f32` is within relative 2^-22.9, and Wolfram confirms 138·2^-30 ≥ 2^-22.9, so that +value is used. + +- **rmsnorm** (`omega_gpu_rmsnorm_f32`, dim % 128 = 0, dim ≤ 16384). The sum of squares is a + sequential sum over dim/128 elements per thread, followed by a shuffle and CTA tree, so its + relative error is g(dim/128 + 11). An input relative error g moves x^-1/2 by at most g/(2(1 − g)). + The MUFU rsqrt with one Newton step contributes 3.0000007u, and the two output products add + (1 + u)^2: + R = (1 + gs/(2(1 − gs)))·(1 + 3.0000007u)·(1 + u)^2 − 1, with gs = g(dim/128 + 11), and T = R·|r|. + The host term uses n = dim and M = |r|. The test passes eps = 2^-20 to both sides. +- **rope** (`omega_gpu_rope_f32`, rotate-half, rot = D). Each output is x1·c − x2·s or x2·c + x1·s, + so T = g(2)·(|x1||c| + |x2||s|), which holds with or without FMA. The host term uses n = 2. +- **swiglu, silu** (`omega_gpu_swiglu_f32`, |g| ≤ 80; silu is the same kernel with up = 1). + exp(−g) is computed as ex2(−g·log2e). With ε = exp(|g|·g(2))·(1 + 5u) − 1, the bound is + R = (1 + u)^2·(1 + 2u)·(1 + ε/(1 − ε))/(1 − u) − 1 and T = R·|r|. +- **attention**: decode (`omega_gpu_gqa_attention_f32`), causal prefill rows + (`omega_gpu_gqa_attention_rows_f32`), paged batch decode + (`omega_gpu_paged_attention_batch_bf16`), and softmax computed through the decode kernel. + - Notation: Λ is the row maximum of scaled |q|·|k|, nch = ⌈ctx/D⌉, and S is the split count. + S = 1 for the direct paths. For the paged path S is the batch maximum of the kernel's + own_log2split. + - Logit error: a logit carries absolute error at most Λ·g(D + 3), and the max subtraction + doubles it, so each weight has relative error ε_p = exp(2Λ·g(D + 3))·(1 + 5u) − 1. + - Rescales: each chunk rescale adds ε_α = exp(2Λu)(1 + 5u) − 1. + - Split combine (S > 1): the host combine with host_exp2 (Cephes in f32, 24.27u, Wolfram below) + adds ε_w = exp(2Λu)(1 + 25u) − 1. + - Combined: η = (1 + ε_p)(1 + ε_α)^(nch − 1)(1 + ε_w) − 1, α = (1 + η)(1 + g(ctx + 2nch + 2S + 8)) − 1, + and φ = (1 + 2u)(1 + u) − 1. + - Result: R = (φ + α(2 + φ))/(1 − α) and T = R·A, where A = p·|v|. + - The host term uses n = D + keys and M = A(1 + 2Λ) + |r|, the same as test_ops. + - Paged inputs: K and V are bf16-representable f32, so the bf16 pool holds exactly the values + the host sees. + - Softmax mapping: there is no standalone softmax kernel, so softmax(x) for c ≤ 64 logits runs + through the decode kernel with D = 64, q = 8x, and K = V = I[:c]. The kernel's scale 1/8 is + exact, so out[:c] = softmax(x) and A = |r|. One case in two multiplies x by 300, far past exp + overflow. +- **matmul** (`omega_gpu_gemm_ex`, f32 inputs, compute DEFAULT, which routes to bf16x3). + - Split: each f32 splits exactly into three bf16 planes (the source comment at + src/omega_gpu_gemm_ex.c:85), and all 9 plane products are exact. + - Accumulation: one HMMA.16816 accumulation step costs at most + c = (17·2^-25 + 2^-23)(1 + 2^-20) relative under the chip-exact model {16,2,RZ,nominal}. + - Steps: there are steps(K) = 9(⌈K/16⌉ + p) + p accumulation steps, with p = ⌈K/1808⌉ + ⌈K/16384⌉. + - acc = ((1 + c)^steps − 1)·|A||B| + 2^-124·(rowsum|A| + colsum|B|) + K·2^-140. The last two terms + cover the split parts below 2^-133, as in CUDApp#139. + - T = acc + 2^-52(|A||B| + |bias|) + u(|r| + acc) + 2^-149. The bias enters through + C = 1·acc + 1·C. + - The host term uses n = K and M = |A||B| + |bias|. + +**Negative control on chip.** Every op runs CUDApp's own test mutants on cases from the same +sweep, and each mutant must fail the gate. A mutant joins a case only where it changes the +function; an equivalent mutant cannot fail any gate. + +- elementwise: 3 drops the last rmsnorm shuffle step, 4 computes rope as q0c + q1s, and 5 computes + swiglu with exp(+g). +- attention: + - 1 (NO_MAX) skips the max subtraction. It joins only softmax rows whose max logit x has + x·log2 e outside [−126, 128] (half the cases are ×300). Softmax is shift-invariant, so inside + the f32 exp range NO_MAX computes the same function. + - 2 (KV_HEAD) uses the wrong kv head. Needs nkv ≥ 2. + - 3 (SLOT) shifts K by one slot against V. Paged calls only, every sequence with ≥ 2 tokens. + - 5 (Q_ROW) and 6 (OUT_ROW) swap rows h and h ^ 1. Need nq ≥ 2. + - 4 (NO_RESCALE) leaves the accumulator unscaled when the running max moves. The host model + `nores_output` runs CUDApp's chunk loop (D tokens per chunk, src/omega_gpu_attention_api.c:571-572) + without the rescale. The mutant joins a case only if that model puts it at gate ratio ≥ 4. + Paged calls run it with one CTA per head (`omega_gpu_attention_test_set_split(0)`), because + cut J gives every split CTA one chunk and the rescale never runs (CUDApp + tests/gpu_attention_test.c:283-285). +- gemm_ex: 1 drops the last k (used only for K ≤ 256), and 2 reads op_b as N (trans_b cases). + +Each receipt records, per mutant run, the shape, rc, gate violations, the measured ratio and, +for NO_RESCALE, the predicted ratio. A first attention run placed NO_MAX and NO_RESCALE on +equivalent cases, and 10 of 32 mutant runs survived. That run is kept in +evidence/GPU-9841bb3a/LOSSES.md. + +Numbers, all from Wolfram (`WolframLanguageEvaluator`, 2026-10-27; u, g as above): + +| query | result | +|---|---| +| `138/2^30 >= 2^-22.9` | True | +| `Maximize`/`Minimize` of (1+e)(3/2 − (1+e)^2(1+d1)(1+d2)/2)(1+d3)(1+d4) − 1 over \|e\| ≤ 138/2^30, \|di\| ≤ u (rsqrt + Newton) | 3.0000002384u, −3.0000006522u → use 3.0000007u | +| `Reduce[ForAll[g, 0<g<1/2, (1-g)^(-1/2)-1 <= g/(2(1-g)) && 1-(1+g)^(-1/2) <= g/(2(1-g))], Reals]` | True | +| host_exp2: max \|P(f)/2^f − 1\| on [−1/2, 1/2] with the f32 Cephes coefficients; Horner rounding max g(12)·ΣP\|/P | 1.5920354e-8; 1.4305125e-6; total 1.4464328e-6 = 24.267u → use 25u | +| `(17 2^-25 + 2^-23)/2^-22`; `c/2^-22` | 21/8; 2.62500 | +| R_rms(128)/u, R_rms(16384)/u | 11.0000, 74.5012 | +| R_silu(\|g\| = 4)/u, R_silu(\|g\| = 80)/u | 18.0000, 170.003 | +| R_attn(ctx 64, D 64, S 1, Λ 10); R_attn(ctx 4096, D 128, S 16, Λ 10); R_attn(ctx 64, D 64, S 1, Λ 900) | 1.69597e-4; 9.12223e-4; 1.45434e-2 | +| steps(1), steps(300), steps(2048) | 29, 191, 1182 | +| (1 + c)^steps − 1 at K = 300, K = 2048 | 1.19544e-4, 7.40027e-4 | + +**Scope.** The bounds are worst case, so measured chip errors sit well below them. The gate proves +that the chip result is a correct f32 evaluation of the same math within its own rounding +behaviour. It does not prove bitwise agreement, and the mutants show how far it is from vacuous. +Ops and shapes with no CUDApp kernel are listed in README.md ("Not on the GPU") as NOT_RUN or unsupported. diff --git a/evidence/GPU-9841bb3a/LOSSES.md b/evidence/GPU-9841bb3a/LOSSES.md new file mode 100644 index 0000000..3d6040d --- /dev/null +++ b/evidence/GPU-9841bb3a/LOSSES.md @@ -0,0 +1,49 @@ +# Earlier chip runs that failed (kept, not hidden) + +Both ran on the GB10 at CUDApp 9841bb3a under the same lock discipline as the receipts in this +directory. Their logs were overwritten by the reruns (`tee`). The lines below are copied from +the session's tool output. + +## Run 1, group ew, 2026-10-27 08:27:45Z (BOARD GPU-START/GPU-END), FAIL before any case + +`AttributeError: ... libcudapp_dnn.so: undefined symbol: omega_gpu_gemm_ex_test_set_mutant`. +Cause: a harness bug. `set_mutant` built a dict of all three mutant setters eagerly, and the main +CUDApp library has no gemm_ex. Fixed: setters are resolved by name only when used, and every hook a +run needs is resolved before the hold is taken. No case result came from this run. + +## Run 2, group attn, FAIL: every gate passed, 10 of 32 mutant runs survived + +``` +softmax_via_attn cases= 32 gate_worst=0.0129 gate_viol=0 ... +attention_decode cases= 32 gate_worst=0.00447 gate_viol=0 ... +attention_prefill_causal cases= 32 gate_worst=0.01 gate_viol=0 ... +paged_decode_batch cases= 32 gate_worst=0.00432 gate_viol=0 ... +paged_decode_single cases= 32 gate_worst=0.00311 gate_viol=0 ... +MUTANT softmax_via_attn:attn:1 runs=4 killed=1 refused=0 survived=3 +MUTANT paged_decode_single:attn:4 runs=4 killed=1 refused=0 survived=3 +MUTANT attention_decode:attn:4 runs=1 killed=0 refused=0 survived=1 +(every other mutant row: killed=runs) +RESULT FAIL hold=2.6s +``` + +The survivors were equivalent mutants. The harness had placed them on cases where the mutated +kernel computes the same function within the gate, so no gate could tell them apart. + +- **NO_MAX (1)** on softmax rows whose logits stay inside the f32 exp range. Softmax is + shift-invariant, so dropping the running-max subtraction changes nothing until 2^(x log2 e) + overflows or underflows. CUDApp's own test notes the same thing (tests/gpu_attention_test.c:523). + The three survivors had max |x| of 4.4, 1.6 and 3.2; the one kill had 1165.6. +- **NO_RESCALE (4)** on paged calls. Cut J gives each split CTA one chunk, so the in-kernel rescale + never runs (tests/gpu_attention_test.c:283-285). On decode, the one case (1q1kv, hd 64, ctx 155) + had a running max that did not move enough between chunks to leave the gate. + +Fix, in the harness only, with no gate change: a mutant joins a case only when the host predicts +it is visible there. + +- NO_MAX joins a case only when the max logit passes the f32 exp range. +- NO_RESCALE joins only when the host model `nores_output` of the mutant predicts gate ratio ≥ 4. + The paged NO_RESCALE runs are forced to one CTA per head (split 0), as CUDApp's test does. +- The head-wiring mutants KV_HEAD, Q_ROW and OUT_ROW were added, and SLOT on paged calls whose + every sequence has at least 2 tokens. + +Each receipt records the predicted ratio of every mutant run beside the measured one. diff --git a/evidence/GPU-9841bb3a/attn.json b/evidence/GPU-9841bb3a/attn.json new file mode 100644 index 0000000..82ab2d5 --- /dev/null +++ b/evidence/GPU-9841bb3a/attn.json @@ -0,0 +1,3810 @@ +{ + "lane": "DnnGpu", + "group": "attn", + "seed": 7, + "cases_per_op": 32, + "cudapp_sha": "9841bb3a5dfbde1c7bf7741fd2fceb916962c8cb", + "lib": "/home/drakestapleton/work/DnnGpu/cudapp/build-pic/libcudapp_dnn.so", + "lib_sha256": "738d1e46414007f38c201827fe1d986a37a9b66d93a4724d0ed2ad0be4e351dd", + "harness_sha256": "cd73e3b993a7441713ccc148b93db9ee228345ed8b4224fac1e03ef2d43008c1", + "torch": "2.14.1+cpu", + "host": "spark-b87b", + "kernel": "7.0.0-1019-nvidia", + "driver": "NVRM version: NVIDIA UNIX Open Kernel Module for aarch64 580.173.02 Release Build (dvs-builder@U22-A24-5-4) Tue Jun 23 08:34:19 UTC 2026", + "ops": { + "softmax_via_attn": { + "cases": 32, + "gate_viol": 0, + "exact_viol": 0, + "rc_fail": 0, + "gate_worst": 0.01293298901714976, + "exact_worst": 0.011666883753439548, + "chip_calls": 32, + "elapsed_ns": 114244574, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121 + }, + "attention_decode": { + "cases": 32, + "gate_viol": 0, + "exact_viol": 0, + "rc_fail": 0, + "gate_worst": 0.004470349531899881, + "exact_worst": 0.004450601338238042, + "chip_calls": 32, + "elapsed_ns": 96429415, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121 + }, + "attention_prefill_causal": { + "cases": 32, + "gate_viol": 0, + "exact_viol": 0, + "rc_fail": 0, + "gate_worst": 0.010003134944746717, + "exact_worst": 0.008494669831522144, + "chip_calls": 35, + "elapsed_ns": 79819092, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121 + }, + "paged_decode_batch": { + "cases": 32, + "gate_viol": 0, + "exact_viol": 0, + "rc_fail": 0, + "gate_worst": 0.004316844576892765, + "exact_worst": 0.004731882447924489, + "chip_calls": 32, + "elapsed_ns": 130374610, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121 + }, + "paged_decode_single": { + "cases": 32, + "gate_viol": 0, + "exact_viol": 0, + "rc_fail": 0, + "gate_worst": 0.00310548203387731, + "exact_worst": 0.002658496060045457, + "chip_calls": 32, + "elapsed_ns": 114217647, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121 + } + }, + "mutants": { + "softmax_via_attn:attn:1": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 48, + 1165.6 + ], + "rc": 0, + "gate_viol": 64, + "gate_ratio": Infinity, + "predicted_ratio": Infinity, + "split0": false + }, + { + "shape": [ + 13, + 2051.8 + ], + "rc": 0, + "gate_viol": 64, + "gate_ratio": Infinity, + "predicted_ratio": Infinity, + "split0": false + }, + { + "shape": [ + 25, + 3577.0 + ], + "rc": 0, + "gate_viol": 64, + "gate_ratio": Infinity, + "predicted_ratio": Infinity, + "split0": false + }, + { + "shape": [ + 22, + 5684.8 + ], + "rc": 0, + "gate_viol": 64, + "gate_ratio": Infinity, + "predicted_ratio": Infinity, + "split0": false + } + ] + }, + "attention_decode:attn:2": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 64, + 8, + 128, + 2 + ], + "rc": 0, + "gate_viol": 8191, + "gate_ratio": 1101886.3178953298, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 16, + 4, + 128, + 4096 + ], + "rc": 0, + "gate_viol": 2012, + "gate_ratio": 209.5389040124541, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 8, + 8, + 128, + 129 + ], + "rc": 0, + "gate_viol": 1024, + "gate_ratio": 6758.252041084487, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 8, + 4, + 128, + 1263 + ], + "rc": 0, + "gate_viol": 1018, + "gate_ratio": 645.5254847591158, + "predicted_ratio": null, + "split0": false + } + ] + }, + "attention_decode:attn:5": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 64, + 8, + 128, + 2 + ], + "rc": 0, + "gate_viol": 8183, + "gate_ratio": 111039.15111158656, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 16, + 4, + 128, + 4096 + ], + "rc": 0, + "gate_viol": 2001, + "gate_ratio": 129.71344289998564, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 8, + 8, + 128, + 129 + ], + "rc": 0, + "gate_viol": 1023, + "gate_ratio": 1469.2950831434719, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 8, + 4, + 128, + 1263 + ], + "rc": 0, + "gate_viol": 1021, + "gate_ratio": 696.3369333201323, + "predicted_ratio": null, + "split0": false + } + ] + }, + "attention_decode:attn:6": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 64, + 8, + 128, + 2 + ], + "rc": 0, + "gate_viol": 8183, + "gate_ratio": 111039.15111158656, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 16, + 4, + 128, + 4096 + ], + "rc": 0, + "gate_viol": 2001, + "gate_ratio": 129.71344289998564, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 8, + 8, + 128, + 129 + ], + "rc": 0, + "gate_viol": 1024, + "gate_ratio": 7112.8390085816545, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 8, + 4, + 128, + 1263 + ], + "rc": 0, + "gate_viol": 1021, + "gate_ratio": 696.3369333201323, + "predicted_ratio": null, + "split0": false + } + ] + }, + "attention_prefill_causal:attn:5": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 2, + 1, + 128, + 2 + ], + "rc": 0, + "gate_viol": 256, + "gate_ratio": 7301.840124209438, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 4, + 4, + 64, + 2 + ], + "rc": 0, + "gate_viol": 256, + "gate_ratio": 111175.53173840398, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 8, + 2, + 64, + 32 + ], + "rc": 0, + "gate_viol": 15866, + "gate_ratio": 53969.382864572915, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 16, + 8, + 64, + 74 + ], + "rc": 0, + "gate_viol": 74715, + "gate_ratio": 33652.848571390365, + "predicted_ratio": null, + "split0": false + } + ] + }, + "attention_prefill_causal:attn:6": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 2, + 1, + 128, + 2 + ], + "rc": 0, + "gate_viol": 256, + "gate_ratio": 7301.840124209438, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 4, + 4, + 64, + 2 + ], + "rc": 0, + "gate_viol": 512, + "gate_ratio": 403164.7961299497, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 8, + 2, + 64, + 32 + ], + "rc": 0, + "gate_viol": 15866, + "gate_ratio": 53969.382864572915, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 16, + 8, + 64, + 74 + ], + "rc": 0, + "gate_viol": 74715, + "gate_ratio": 33652.848571390365, + "predicted_ratio": null, + "split0": false + } + ] + }, + "paged_decode_batch:attn:2": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 3, + 4, + 4, + 128, + 16, + 3, + 48, + 1 + ], + "rc": 0, + "gate_viol": 1535, + "gate_ratio": 22247.4890485636, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 4, + 8, + 4, + 128, + 8, + 97, + 356, + 2 + ], + "rc": 0, + "gate_viol": 4094, + "gate_ratio": 6768.721561176172, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 3, + 2, + 2, + 128, + 32, + 13, + 395, + 4 + ], + "rc": 0, + "gate_viol": 767, + "gate_ratio": 1941.4204430448492, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 3, + 8, + 8, + 128, + 64, + 2, + 105, + 1 + ], + "rc": 0, + "gate_viol": 3070, + "gate_ratio": 20201.34703090689, + "predicted_ratio": null, + "split0": false + } + ] + }, + "paged_decode_batch:attn:5": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 3, + 4, + 4, + 128, + 16, + 3, + 48, + 1 + ], + "rc": 0, + "gate_viol": 1536, + "gate_ratio": 17596.015610500548, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 4, + 8, + 4, + 128, + 8, + 97, + 356, + 2 + ], + "rc": 0, + "gate_viol": 4092, + "gate_ratio": 2389.666065981905, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 3, + 2, + 2, + 128, + 32, + 13, + 395, + 4 + ], + "rc": 0, + "gate_viol": 767, + "gate_ratio": 1780.4695378309798, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 3, + 8, + 8, + 128, + 64, + 2, + 105, + 1 + ], + "rc": 0, + "gate_viol": 3070, + "gate_ratio": 7604.74198078737, + "predicted_ratio": null, + "split0": false + } + ] + }, + "paged_decode_batch:attn:6": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 3, + 4, + 4, + 128, + 16, + 3, + 48, + 1 + ], + "rc": 0, + "gate_viol": 1536, + "gate_ratio": 20373.56733060207, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 4, + 8, + 4, + 128, + 8, + 97, + 356, + 2 + ], + "rc": 0, + "gate_viol": 4092, + "gate_ratio": 2389.666065981905, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 3, + 2, + 2, + 128, + 32, + 13, + 395, + 4 + ], + "rc": 0, + "gate_viol": 764, + "gate_ratio": 3127.9193174784623, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 3, + 8, + 8, + 128, + 64, + 2, + 105, + 1 + ], + "rc": 0, + "gate_viol": 3072, + "gate_ratio": 25862.138343000082, + "predicted_ratio": null, + "split0": false + } + ] + }, + "paged_decode_batch:attn:3": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 3, + 4, + 4, + 128, + 16, + 3, + 48, + 1 + ], + "rc": 0, + "gate_viol": 1534, + "gate_ratio": 16438.992224063433, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 1, + 1, + 128, + 16, + 58, + 733, + 4 + ], + "rc": 0, + "gate_viol": 127, + "gate_ratio": 553.518379130787, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 4, + 8, + 4, + 128, + 8, + 97, + 356, + 2 + ], + "rc": 0, + "gate_viol": 4087, + "gate_ratio": 2910.470605469265, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 3, + 2, + 2, + 128, + 32, + 13, + 395, + 4 + ], + "rc": 0, + "gate_viol": 767, + "gate_ratio": 3071.348369099359, + "predicted_ratio": null, + "split0": false + } + ] + }, + "paged_decode_single:attn:2": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 1, + 16, + 4, + 64, + 16, + 61, + 949, + 8 + ], + "rc": 0, + "gate_viol": 1024, + "gate_ratio": 1176.2776680645948, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 16, + 4, + 128, + 32, + 32, + 793, + 4 + ], + "rc": 0, + "gate_viol": 2042, + "gate_ratio": 936.4540547782045, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 32, + 8, + 128, + 16, + 2, + 10, + 1 + ], + "rc": 0, + "gate_viol": 4094, + "gate_ratio": 17453.680899038252, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 8, + 4, + 128, + 64, + 18, + 820, + 4 + ], + "rc": 0, + "gate_viol": 1021, + "gate_ratio": 818.0849669888325, + "predicted_ratio": null, + "split0": false + } + ] + }, + "paged_decode_single:attn:5": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 1, + 16, + 4, + 64, + 16, + 61, + 949, + 8 + ], + "rc": 0, + "gate_viol": 1022, + "gate_ratio": 569.197566788397, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 16, + 4, + 128, + 32, + 32, + 793, + 4 + ], + "rc": 0, + "gate_viol": 2030, + "gate_ratio": 614.0383550500648, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 32, + 8, + 128, + 16, + 2, + 10, + 1 + ], + "rc": 0, + "gate_viol": 4096, + "gate_ratio": 8178.549940022406, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 8, + 4, + 128, + 64, + 18, + 820, + 4 + ], + "rc": 0, + "gate_viol": 1018, + "gate_ratio": 572.9269102695741, + "predicted_ratio": null, + "split0": false + } + ] + }, + "paged_decode_single:attn:6": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 1, + 16, + 4, + 64, + 16, + 61, + 949, + 8 + ], + "rc": 0, + "gate_viol": 1022, + "gate_ratio": 569.197566788397, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 16, + 4, + 128, + 32, + 32, + 793, + 4 + ], + "rc": 0, + "gate_viol": 2030, + "gate_ratio": 614.0383550500648, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 32, + 8, + 128, + 16, + 2, + 10, + 1 + ], + "rc": 0, + "gate_viol": 4096, + "gate_ratio": 8178.549940022406, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 8, + 4, + 128, + 64, + 18, + 820, + 4 + ], + "rc": 0, + "gate_viol": 1018, + "gate_ratio": 572.9269102695741, + "predicted_ratio": null, + "split0": false + } + ] + }, + "paged_decode_single:attn:3": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 1, + 16, + 4, + 64, + 16, + 61, + 949, + 8 + ], + "rc": 0, + "gate_viol": 1016, + "gate_ratio": 706.4164614308366, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 16, + 4, + 128, + 32, + 32, + 793, + 4 + ], + "rc": 0, + "gate_viol": 2033, + "gate_ratio": 486.13988842617425, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 32, + 8, + 128, + 16, + 2, + 10, + 1 + ], + "rc": 0, + "gate_viol": 4093, + "gate_ratio": 16148.577882340227, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 8, + 4, + 128, + 64, + 18, + 820, + 4 + ], + "rc": 0, + "gate_viol": 1022, + "gate_ratio": 576.0187386086942, + "predicted_ratio": null, + "split0": false + } + ] + }, + "paged_decode_single:attn:4": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 1, + 16, + 4, + 64, + 16, + 61, + 949, + 8 + ], + "rc": 0, + "gate_viol": 885, + "gate_ratio": 506.5800689464666, + "predicted_ratio": 506.58061605157855, + "split0": true + }, + { + "shape": [ + 1, + 16, + 4, + 128, + 32, + 32, + 793, + 4 + ], + "rc": 0, + "gate_viol": 1208, + "gate_ratio": 436.61498068055886, + "predicted_ratio": 436.6158604055596, + "split0": true + }, + { + "shape": [ + 1, + 8, + 4, + 128, + 64, + 18, + 820, + 4 + ], + "rc": 0, + "gate_viol": 875, + "gate_ratio": 257.0923310180762, + "predicted_ratio": 257.0921790186934, + "split0": true + }, + { + "shape": [ + 1, + 8, + 1, + 64, + 8, + 21, + 120, + 2 + ], + "rc": 0, + "gate_viol": 253, + "gate_ratio": 1951.6749854542588, + "predicted_ratio": 1951.6774339817005, + "split0": true + } + ] + }, + "attention_decode:attn:4": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 16, + 4, + 128, + 4096 + ], + "rc": 0, + "gate_viol": 1844, + "gate_ratio": 178.14463358307614, + "predicted_ratio": 178.14452490828015, + "split0": false + }, + { + "shape": [ + 8, + 4, + 128, + 1263 + ], + "rc": 0, + "gate_viol": 880, + "gate_ratio": 364.0644751801195, + "predicted_ratio": 364.06453910631296, + "split0": false + }, + { + "shape": [ + 4, + 4, + 64, + 2235 + ], + "rc": 0, + "gate_viol": 246, + "gate_ratio": 242.82981106490024, + "predicted_ratio": 242.8301441143287, + "split0": false + }, + { + "shape": [ + 8, + 2, + 64, + 465 + ], + "rc": 0, + "gate_viol": 428, + "gate_ratio": 146.7224289805946, + "predicted_ratio": 146.72204199996742, + "split0": false + } + ] + }, + "attention_prefill_causal:attn:2": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 4, + 4, + 64, + 2 + ], + "rc": 0, + "gate_viol": 512, + "gate_ratio": 685397.0496069326, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 8, + 2, + 64, + 32 + ], + "rc": 0, + "gate_viol": 16383, + "gate_ratio": 1222150.9075637744, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 16, + 8, + 64, + 74 + ], + "rc": 0, + "gate_viol": 75768, + "gate_ratio": 8924484.10123027, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 4, + 2, + 128, + 140 + ], + "rc": 0, + "gate_viol": 71668, + "gate_ratio": 1384668.696591991, + "predicted_ratio": null, + "split0": false + } + ] + }, + "paged_decode_batch:attn:4": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 1, + 1, + 1, + 128, + 16, + 58, + 733, + 4 + ], + "rc": 0, + "gate_viol": 125, + "gate_ratio": 76.43904238505152, + "predicted_ratio": 76.43885232868209, + "split0": true + }, + { + "shape": [ + 4, + 8, + 4, + 128, + 8, + 97, + 356, + 2 + ], + "rc": 0, + "gate_viol": 1132, + "gate_ratio": 448.7559689846392, + "predicted_ratio": 448.7563445831322, + "split0": true + }, + { + "shape": [ + 3, + 2, + 2, + 128, + 32, + 13, + 395, + 4 + ], + "rc": 0, + "gate_viol": 383, + "gate_ratio": 638.0228532721293, + "predicted_ratio": 638.0248510111633, + "split0": true + }, + { + "shape": [ + 3, + 16, + 2, + 64, + 16, + 30, + 417, + 4 + ], + "rc": 0, + "gate_viol": 2103, + "gate_ratio": 11516.088268019952, + "predicted_ratio": 11516.077933670957, + "split0": true + } + ] + }, + "attention_prefill_causal:attn:4": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 16, + 8, + 64, + 74 + ], + "rc": 0, + "gate_viol": 511, + "gate_ratio": 4432.968076109023, + "predicted_ratio": 4432.96874395861, + "split0": false + }, + { + "shape": [ + 4, + 1, + 64, + 90 + ], + "rc": 0, + "gate_viol": 1530, + "gate_ratio": 11081.44776865578, + "predicted_ratio": 11081.442285602954, + "split0": false + }, + { + "shape": [ + 4, + 2, + 128, + 140 + ], + "rc": 0, + "gate_viol": 127, + "gate_ratio": 530.7146204045509, + "predicted_ratio": 530.7152102473678, + "split0": false + }, + { + "shape": [ + 16, + 8, + 64, + 141 + ], + "rc": 0, + "gate_viol": 25769, + "gate_ratio": 26585.329172465576, + "predicted_ratio": 26585.327352004628, + "split0": false + } + ] + } + }, + "cases": [ + { + "op": "softmax_via_attn", + "shape": [ + 48, + 1165.6 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 2.162165999094668e-72 + }, + { + "op": "attention_decode", + "shape": [ + 64, + 8, + 128, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.004470349531899881, + "exact_viol": 0, + "exact_ratio": 0.004450601338238042 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 2, + 1, + 128, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0005462035150241998, + "exact_viol": 0, + "exact_ratio": 0.0005093567181972344 + }, + { + "op": "paged_decode_batch", + "shape": [ + 3, + 4, + 4, + 128, + 16, + 3, + 48, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0022022526533185985, + "exact_viol": 0, + "exact_ratio": 0.0020532862725668685 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 16, + 4, + 64, + 16, + 61, + 949, + 8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0002107713934459317, + "exact_viol": 0, + "exact_ratio": 0.00021057569415545562 + }, + { + "op": "softmax_via_attn", + "shape": [ + 47, + 4.4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0052579382709731625, + "exact_viol": 0, + "exact_ratio": 0.005585129386169351 + }, + { + "op": "attention_decode", + "shape": [ + 16, + 4, + 128, + 4096 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0002661210122864845, + "exact_viol": 0, + "exact_ratio": 0.00026696528297515863 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 4, + 4, + 64, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0024248912977121104, + "exact_viol": 0, + "exact_ratio": 0.002336956419733281 + }, + { + "op": "paged_decode_batch", + "shape": [ + 1, + 1, + 1, + 128, + 16, + 58, + 733, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0002945304364840529, + "exact_viol": 0, + "exact_ratio": 0.00029765864888544035 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 16, + 4, + 128, + 32, + 32, + 793, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00027085743090574565, + "exact_viol": 0, + "exact_ratio": 0.0002744806613497019 + }, + { + "op": "softmax_via_attn", + "shape": [ + 52, + 1.6 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.003778764129031526, + "exact_viol": 0, + "exact_ratio": 0.004053679716860074 + }, + { + "op": "attention_decode", + "shape": [ + 8, + 8, + 128, + 129 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.001516016599337109, + "exact_viol": 0, + "exact_ratio": 0.0014708668331786963 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 1, + 1, + 128, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "paged_decode_batch", + "shape": [ + 4, + 8, + 4, + 128, + 8, + 97, + 356, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0012121591549742931, + "exact_viol": 0, + "exact_ratio": 0.0011733840214639723 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 32, + 8, + 128, + 16, + 2, + 10, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0024710929650243285, + "exact_viol": 0, + "exact_ratio": 0.002454261181949688 + }, + { + "op": "softmax_via_attn", + "shape": [ + 1, + 3.2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "attention_decode", + "shape": [ + 8, + 4, + 128, + 1263 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0004606795008087896, + "exact_viol": 0, + "exact_ratio": 0.0004597928472540686 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 8, + 2, + 64, + 32 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.005206845033551664, + "exact_viol": 0, + "exact_ratio": 0.005634817965154223 + }, + { + "op": "paged_decode_batch", + "shape": [ + 3, + 2, + 2, + 128, + 32, + 13, + 395, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0007983547332849108, + "exact_viol": 0, + "exact_ratio": 0.0008081851873295511 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 8, + 4, + 128, + 64, + 18, + 820, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00026540336091449555, + "exact_viol": 0, + "exact_ratio": 0.0002618626822065619 + }, + { + "op": "softmax_via_attn", + "shape": [ + 13, + 2051.8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "attention_decode", + "shape": [ + 4, + 4, + 64, + 2235 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0004075585507386449, + "exact_viol": 0, + "exact_ratio": 0.0004175448231282648 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 16, + 8, + 64, + 74 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.010003134944746717, + "exact_viol": 0, + "exact_ratio": 0.008494669831522144 + }, + { + "op": "paged_decode_batch", + "shape": [ + 3, + 8, + 8, + 128, + 64, + 2, + 105, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.002000741496635375, + "exact_viol": 0, + "exact_ratio": 0.0015766605771282624 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 8, + 1, + 64, + 8, + 21, + 120, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0018737249532985848, + "exact_viol": 0, + "exact_ratio": 0.001986160817330149 + }, + { + "op": "softmax_via_attn", + "shape": [ + 25, + 3577.0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "attention_decode", + "shape": [ + 4, + 2, + 128, + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0010702886818429404, + "exact_viol": 0, + "exact_ratio": 0.0010397027237867933 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 4, + 1, + 64, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "paged_decode_batch", + "shape": [ + 3, + 16, + 2, + 64, + 16, + 30, + 417, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.003993253251071702, + "exact_viol": 0, + "exact_ratio": 0.003992645498060044 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 8, + 1, + 128, + 16, + 110, + 231, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0005388184992264319, + "exact_viol": 0, + "exact_ratio": 0.0005098177507122788 + }, + { + "op": "softmax_via_attn", + "shape": [ + 34, + 4.7 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.002957461285410631, + "exact_viol": 0, + "exact_ratio": 0.0029778157155949596 + }, + { + "op": "attention_decode", + "shape": [ + 8, + 2, + 64, + 465 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.001945047809965824, + "exact_viol": 0, + "exact_ratio": 0.0018946987832076567 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 4, + 1, + 64, + 90 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.004871859379871959, + "exact_viol": 0, + "exact_ratio": 0.004633169472302211 + }, + { + "op": "paged_decode_batch", + "shape": [ + 1, + 8, + 4, + 64, + 8, + 124, + 490, + 8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00037752315111310635, + "exact_viol": 0, + "exact_ratio": 0.0003709797408036004 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 16, + 4, + 64, + 8, + 56, + 74, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.002217301983339967, + "exact_viol": 0, + "exact_ratio": 0.002280874391692606 + }, + { + "op": "softmax_via_attn", + "shape": [ + 22, + 5684.8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 1.982640266692686e-249 + }, + { + "op": "attention_decode", + "shape": [ + 16, + 8, + 128, + 207 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0008262069699524042, + "exact_viol": 0, + "exact_ratio": 0.0007977812547627241 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 4, + 2, + 128, + 140 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0034830074753993802, + "exact_viol": 0, + "exact_ratio": 0.0033517339123131035 + }, + { + "op": "paged_decode_batch", + "shape": [ + 1, + 2, + 2, + 64, + 8, + 205, + 1151, + 16 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00013427587175296186, + "exact_viol": 0, + "exact_ratio": 0.00014011425364862532 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 8, + 8, + 64, + 16, + 60, + 51, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00310548203387731, + "exact_viol": 0, + "exact_ratio": 0.002658496060045457 + }, + { + "op": "softmax_via_attn", + "shape": [ + 10, + 4.5 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.002361252568541438, + "exact_viol": 0, + "exact_ratio": 0.0019870882137337648 + }, + { + "op": "attention_decode", + "shape": [ + 32, + 8, + 128, + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.003226898595723658, + "exact_viol": 0, + "exact_ratio": 0.0031130213262308406 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 8, + 4, + 128, + 36 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.002748291197111765, + "exact_viol": 0, + "exact_ratio": 0.0026448072556348 + }, + { + "op": "paged_decode_batch", + "shape": [ + 1, + 8, + 8, + 64, + 8, + 153, + 4, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.004316844576892765, + "exact_viol": 0, + "exact_ratio": 0.004731882447924489 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 16, + 2, + 128, + 32, + 11, + 81, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.000965375529477639, + "exact_viol": 0, + "exact_ratio": 0.0010139272961680937 + }, + { + "op": "softmax_via_attn", + "shape": [ + 6, + 13.5 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0030182493159861793, + "exact_viol": 0, + "exact_ratio": 0.0030185153964895376 + }, + { + "op": "attention_decode", + "shape": [ + 2, + 2, + 128, + 73 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0007745599709657728, + "exact_viol": 0, + "exact_ratio": 0.0008637992156696735 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 16, + 8, + 64, + 141 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.006152238983363087, + "exact_viol": 0, + "exact_ratio": 0.00576526995746752 + }, + { + "op": "paged_decode_batch", + "shape": [ + 1, + 8, + 1, + 128, + 32, + 54, + 630, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0003433161137128651, + "exact_viol": 0, + "exact_ratio": 0.00034309250038696914 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 8, + 4, + 64, + 64, + 20, + 1076, + 16 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00016468800220197002, + "exact_viol": 0, + "exact_ratio": 0.00016568116423139182 + }, + { + "op": "softmax_via_attn", + "shape": [ + 22, + 0.8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.01293298901714976, + "exact_viol": 0, + "exact_ratio": 0.011666883753439548 + }, + { + "op": "attention_decode", + "shape": [ + 4, + 1, + 128, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0016015322962422754, + "exact_viol": 0, + "exact_ratio": 0.0015730977098218893 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 8, + 2, + 128, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "paged_decode_batch", + "shape": [ + 3, + 2, + 2, + 64, + 32, + 17, + 451, + 8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0028417973156836004, + "exact_viol": 0, + "exact_ratio": 0.002888632914119177 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 4, + 1, + 128, + 8, + 96, + 219, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0006019492755429393, + "exact_viol": 0, + "exact_ratio": 0.0005852984397037117 + }, + { + "op": "softmax_via_attn", + "shape": [ + 44, + 10.7 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.003263863836770921, + "exact_viol": 0, + "exact_ratio": 0.0033271152205642225 + }, + { + "op": "attention_decode", + "shape": [ + 32, + 4, + 128, + 312 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.002049260598097157, + "exact_viol": 0, + "exact_ratio": 0.0020300165537229615 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 8, + 1, + 128, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "paged_decode_batch", + "shape": [ + 1, + 2, + 1, + 64, + 8, + 199, + 857, + 8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0006287197520310724, + "exact_viol": 0, + "exact_ratio": 0.0006282179887811503 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 2, + 1, + 64, + 16, + 83, + 1056, + 16 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00013432119410709072, + "exact_viol": 0, + "exact_ratio": 0.00014044316635871502 + }, + { + "op": "softmax_via_attn", + "shape": [ + 9, + 5.5 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.002387485733035418, + "exact_viol": 0, + "exact_ratio": 0.0023959719509840448 + }, + { + "op": "attention_decode", + "shape": [ + 2, + 1, + 64, + 63 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0014445355685985433, + "exact_viol": 0, + "exact_ratio": 0.0014124337780665342 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 4, + 2, + 128, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "paged_decode_batch", + "shape": [ + 3, + 16, + 2, + 128, + 16, + 103, + 874, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0013886282002110073, + "exact_viol": 0, + "exact_ratio": 0.001378384937226294 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 4, + 4, + 128, + 64, + 22, + 1330, + 8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.000415893133654099, + "exact_viol": 0, + "exact_ratio": 0.0004178388638579748 + }, + { + "op": "softmax_via_attn", + "shape": [ + 7, + 111.7 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0004071600686797986, + "exact_viol": 0, + "exact_ratio": 0.00041661788781730094 + }, + { + "op": "attention_decode", + "shape": [ + 1, + 1, + 64, + 155 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0009685096747875452, + "exact_viol": 0, + "exact_ratio": 0.0009006555374175581 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 16, + 8, + 64, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.003953376082694289, + "exact_viol": 0, + "exact_ratio": 0.003910697435641675 + }, + { + "op": "paged_decode_batch", + "shape": [ + 3, + 2, + 1, + 64, + 8, + 219, + 1163, + 16 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.002502955418024874, + "exact_viol": 0, + "exact_ratio": 0.0026621856462249387 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 4, + 2, + 128, + 64, + 12, + 520, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0004163973369728285, + "exact_viol": 0, + "exact_ratio": 0.0004120937528744813 + }, + { + "op": "softmax_via_attn", + "shape": [ + 35, + 1345.9 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 5.103377574517681e-19, + "exact_viol": 0, + "exact_ratio": 5.093728572128425e-19 + }, + { + "op": "attention_decode", + "shape": [ + 64, + 8, + 128, + 129 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0013098967158553677, + "exact_viol": 0, + "exact_ratio": 0.0014640664178484186 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 8, + 2, + 64, + 103 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.004719223832820075, + "exact_viol": 0, + "exact_ratio": 0.004596160129421558 + }, + { + "op": "paged_decode_batch", + "shape": [ + 2, + 2, + 2, + 128, + 8, + 202, + 548, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00037351554478347483, + "exact_viol": 0, + "exact_ratio": 0.00038354191922611004 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 1, + 1, + 128, + 16, + 4, + 36, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0010638519770976341, + "exact_viol": 0, + "exact_ratio": 0.0010654518966138815 + }, + { + "op": "softmax_via_attn", + "shape": [ + 53, + 7.3 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.004424033713443437, + "exact_viol": 0, + "exact_ratio": 0.004303937576058308 + }, + { + "op": "attention_decode", + "shape": [ + 64, + 8, + 128, + 129 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0021820139032674313, + "exact_viol": 0, + "exact_ratio": 0.0021833962661599936 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 4, + 2, + 128, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "paged_decode_batch", + "shape": [ + 4, + 1, + 1, + 128, + 32, + 7, + 207, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0015451239532411048, + "exact_viol": 0, + "exact_ratio": 0.001537953761455472 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 32, + 8, + 64, + 16, + 22, + 86, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.002296451122306943, + "exact_viol": 0, + "exact_ratio": 0.002277920625680173 + }, + { + "op": "softmax_via_attn", + "shape": [ + 45, + 18.0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0026633228992208676, + "exact_viol": 0, + "exact_ratio": 0.002712864356253672 + }, + { + "op": "attention_decode", + "shape": [ + 2, + 2, + 64, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0033436487296386024, + "exact_viol": 0, + "exact_ratio": 0.002591509553537004 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 16, + 8, + 64, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "paged_decode_batch", + "shape": [ + 4, + 8, + 2, + 64, + 32, + 51, + 1468, + 16 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0004535240256527193, + "exact_viol": 0, + "exact_ratio": 0.00044560622683183096 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 2, + 2, + 64, + 16, + 76, + 290, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0005696983681385499, + "exact_viol": 0, + "exact_ratio": 0.0005718582541251211 + }, + { + "op": "softmax_via_attn", + "shape": [ + 36, + 1436.1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 6.297269678943447e-41 + }, + { + "op": "attention_decode", + "shape": [ + 4, + 4, + 64, + 214 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0014606510044165532, + "exact_viol": 0, + "exact_ratio": 0.0015465545440843667 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 4, + 1, + 128, + 94 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0021824752629125274, + "exact_viol": 0, + "exact_ratio": 0.0021499665937614004 + }, + { + "op": "paged_decode_batch", + "shape": [ + 2, + 8, + 1, + 64, + 8, + 242, + 1430, + 16 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0003130516991170835, + "exact_viol": 0, + "exact_ratio": 0.00029838501693779066 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 4, + 2, + 64, + 16, + 77, + 307, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0012803989355124772, + "exact_viol": 0, + "exact_ratio": 0.0012470244685485884 + }, + { + "op": "softmax_via_attn", + "shape": [ + 38, + 4311.5 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 2.1769975636229907e-157 + }, + { + "op": "attention_decode", + "shape": [ + 8, + 8, + 128, + 3908 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00023619696461211508, + "exact_viol": 0, + "exact_ratio": 0.000237687883140997 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 4, + 1, + 64, + 180 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0036052746597810222, + "exact_viol": 0, + "exact_ratio": 0.0035373197390549515 + }, + { + "op": "paged_decode_batch", + "shape": [ + 3, + 8, + 1, + 64, + 32, + 13, + 283, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0022778738831785955, + "exact_viol": 0, + "exact_ratio": 0.0022556425065568936 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 4, + 1, + 64, + 64, + 3, + 101, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.001909794065669133, + "exact_viol": 0, + "exact_ratio": 0.0020033808728983733 + }, + { + "op": "softmax_via_attn", + "shape": [ + 11, + 5.3 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0028031799894844304, + "exact_viol": 0, + "exact_ratio": 0.0028595334029942986 + }, + { + "op": "attention_decode", + "shape": [ + 4, + 1, + 64, + 63 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0019994613178631903, + "exact_viol": 0, + "exact_ratio": 0.001974992353548506 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 16, + 2, + 128, + 12 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0022750184825300838, + "exact_viol": 0, + "exact_ratio": 0.002274136124299803 + }, + { + "op": "paged_decode_batch", + "shape": [ + 2, + 8, + 1, + 128, + 8, + 114, + 392, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0015624354325520738, + "exact_viol": 0, + "exact_ratio": 0.0015487622546993074 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 4, + 2, + 128, + 32, + 37, + 393, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0004428112891257451, + "exact_viol": 0, + "exact_ratio": 0.0004453529239596681 + }, + { + "op": "softmax_via_attn", + "shape": [ + 15, + 2304.2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 3.8111431702480773e-31, + "exact_viol": 0, + "exact_ratio": 3.8111017839162256e-31 + }, + { + "op": "attention_decode", + "shape": [ + 4, + 1, + 128, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0006964193413669009, + "exact_viol": 0, + "exact_ratio": 0.0005975260575161613 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 8, + 2, + 128, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "paged_decode_batch", + "shape": [ + 2, + 16, + 2, + 64, + 16, + 53, + 296, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0034212268198444795, + "exact_viol": 0, + "exact_ratio": 0.0036295848757024627 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 32, + 8, + 128, + 16, + 71, + 897, + 8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0004929263823944912, + "exact_viol": 0, + "exact_ratio": 0.0005025358742999083 + }, + { + "op": "softmax_via_attn", + "shape": [ + 52, + 2537.1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 3.18294484648001e-45 + }, + { + "op": "attention_decode", + "shape": [ + 4, + 4, + 128, + 4096 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0002427479630728945, + "exact_viol": 0, + "exact_ratio": 0.00024157922952345028 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 16, + 2, + 128, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "paged_decode_batch", + "shape": [ + 2, + 2, + 1, + 64, + 64, + 4, + 195, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0031725543726529477, + "exact_viol": 0, + "exact_ratio": 0.0032345297355485807 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 8, + 2, + 64, + 64, + 14, + 709, + 8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0002611844888414975, + "exact_viol": 0, + "exact_ratio": 0.00025901051543495524 + }, + { + "op": "softmax_via_attn", + "shape": [ + 12, + 9.4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.003923046830578352, + "exact_viol": 0, + "exact_ratio": 0.003832389550010433 + }, + { + "op": "attention_decode", + "shape": [ + 8, + 2, + 128, + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0008047677236337573, + "exact_viol": 0, + "exact_ratio": 0.000812613357673493 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 4, + 1, + 128, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "paged_decode_batch", + "shape": [ + 2, + 8, + 4, + 64, + 64, + 11, + 356, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.000833394448510982, + "exact_viol": 0, + "exact_ratio": 0.0008585436978157737 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 2, + 1, + 128, + 16, + 88, + 288, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0014248300861970146, + "exact_viol": 0, + "exact_ratio": 0.0014297577419188695 + }, + { + "op": "softmax_via_attn", + "shape": [ + 64, + 3.2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.004300688584813627, + "exact_viol": 0, + "exact_ratio": 0.0044261876372749965 + }, + { + "op": "attention_decode", + "shape": [ + 4, + 2, + 64, + 65 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0015203294370878721, + "exact_viol": 0, + "exact_ratio": 0.0015229678407175191 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 8, + 8, + 128, + 42 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0035568081638506026, + "exact_viol": 0, + "exact_ratio": 0.003502906722768648 + }, + { + "op": "paged_decode_batch", + "shape": [ + 3, + 2, + 2, + 64, + 16, + 94, + 1395, + 16 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0011092083276383025, + "exact_viol": 0, + "exact_ratio": 0.0011885821353582575 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 16, + 2, + 128, + 16, + 97, + 518, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0015294740916338497, + "exact_viol": 0, + "exact_ratio": 0.0015181287399885883 + }, + { + "op": "softmax_via_attn", + "shape": [ + 36, + 3.2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00548378861752554, + "exact_viol": 0, + "exact_ratio": 0.004971740669460692 + }, + { + "op": "attention_decode", + "shape": [ + 16, + 8, + 128, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 4, + 4, + 128, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "paged_decode_batch", + "shape": [ + 4, + 4, + 4, + 128, + 32, + 51, + 1202, + 8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0010272548620103926, + "exact_viol": 0, + "exact_ratio": 0.0010305430486375422 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 8, + 1, + 64, + 64, + 18, + 576, + 8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0007610761914323404, + "exact_viol": 0, + "exact_ratio": 0.0007555289405520867 + }, + { + "op": "softmax_via_attn", + "shape": [ + 36, + 3228.9 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 8.851370107991268e-93 + }, + { + "op": "attention_decode", + "shape": [ + 32, + 4, + 128, + 164 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0015134812463900647, + "exact_viol": 0, + "exact_ratio": 0.001485584794712802 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 16, + 2, + 128, + 49 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.002830473963699001, + "exact_viol": 0, + "exact_ratio": 0.0030084962036845703 + }, + { + "op": "paged_decode_batch", + "shape": [ + 1, + 8, + 4, + 64, + 16, + 116, + 1287, + 16 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0001431258526157457, + "exact_viol": 0, + "exact_ratio": 0.00014539161089009616 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 1, + 1, + 64, + 8, + 178, + 1422, + 16 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00017689082859168268, + "exact_viol": 0, + "exact_ratio": 0.0001811148781229843 + }, + { + "op": "softmax_via_attn", + "shape": [ + 51, + 14.0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00519955152420295, + "exact_viol": 0, + "exact_ratio": 0.00527634350619016 + }, + { + "op": "attention_decode", + "shape": [ + 32, + 4, + 64, + 1114 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0017826820748767453, + "exact_viol": 0, + "exact_ratio": 0.0017811775048616678 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 4, + 4, + 128, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0006967538004276917, + "exact_viol": 0, + "exact_ratio": 0.0005694212237759463 + }, + { + "op": "paged_decode_batch", + "shape": [ + 1, + 1, + 1, + 64, + 64, + 5, + 251, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0006117029839561369, + "exact_viol": 0, + "exact_ratio": 0.0006050282044961072 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 4, + 1, + 128, + 16, + 49, + 266, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.001370459558317539, + "exact_viol": 0, + "exact_ratio": 0.0013593815057384398 + }, + { + "op": "softmax_via_attn", + "shape": [ + 45, + 5.8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.004029361160519669, + "exact_viol": 0, + "exact_ratio": 0.003745528265146053 + }, + { + "op": "attention_decode", + "shape": [ + 32, + 8, + 64, + 2991 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0004883597883605141, + "exact_viol": 0, + "exact_ratio": 0.00048493180599409294 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 2, + 1, + 64, + 48 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.004541422567870322, + "exact_viol": 0, + "exact_ratio": 0.004547872899773903 + }, + { + "op": "paged_decode_batch", + "shape": [ + 4, + 16, + 4, + 128, + 32, + 1, + 30, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0023400699706712887, + "exact_viol": 0, + "exact_ratio": 0.0023106819145094696 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 4, + 4, + 128, + 64, + 21, + 490, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0007179640052429196, + "exact_viol": 0, + "exact_ratio": 0.0007238314628984807 + }, + { + "op": "softmax_via_attn", + "shape": [ + 17, + 5.6 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0048170820803938846, + "exact_viol": 0, + "exact_ratio": 0.005143651974141962 + }, + { + "op": "attention_decode", + "shape": [ + 32, + 8, + 64, + 65 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0037765345204147536, + "exact_viol": 0, + "exact_ratio": 0.0038748732248450515 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 8, + 4, + 64, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "paged_decode_batch", + "shape": [ + 4, + 1, + 1, + 128, + 16, + 75, + 1141, + 8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.001092472602091684, + "exact_viol": 0, + "exact_ratio": 0.001081881710565554 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 8, + 2, + 64, + 8, + 249, + 397, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0005208176839140685, + "exact_viol": 0, + "exact_ratio": 0.0005575256010456444 + }, + { + "op": "softmax_via_attn", + "shape": [ + 37, + 20.4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00370972006229271, + "exact_viol": 0, + "exact_ratio": 0.0037721982595700057 + }, + { + "op": "attention_decode", + "shape": [ + 8, + 2, + 64, + 460 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.001815869365274131, + "exact_viol": 0, + "exact_ratio": 0.001797589193048334 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 4, + 4, + 128, + 151 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.002868384812190584, + "exact_viol": 0, + "exact_ratio": 0.0028810412301827066 + }, + { + "op": "paged_decode_batch", + "shape": [ + 4, + 8, + 2, + 128, + 64, + 25, + 1102, + 8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0012448268731576411, + "exact_viol": 0, + "exact_ratio": 0.0012639668696816809 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 8, + 2, + 64, + 16, + 126, + 949, + 8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0007961373386666644, + "exact_viol": 0, + "exact_ratio": 0.0007848096009210752 + }, + { + "op": "softmax_via_attn", + "shape": [ + 37, + 15.9 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0038983334128627413, + "exact_viol": 0, + "exact_ratio": 0.003846824842330194 + }, + { + "op": "attention_decode", + "shape": [ + 4, + 4, + 64, + 4096 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0006724305681985961, + "exact_viol": 0, + "exact_ratio": 0.0006675597124428379 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 1, + 1, + 64, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "paged_decode_batch", + "shape": [ + 4, + 8, + 4, + 128, + 64, + 23, + 1323, + 8 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.002038077654244384, + "exact_viol": 0, + "exact_ratio": 0.00201564905685216 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 16, + 2, + 128, + 32, + 26, + 102, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.002016938505538336, + "exact_viol": 0, + "exact_ratio": 0.0020174086028354864 + }, + { + "op": "softmax_via_attn", + "shape": [ + 21, + 1895.2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "attention_decode", + "shape": [ + 4, + 2, + 128, + 4096 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.000215629944345401, + "exact_viol": 0, + "exact_ratio": 0.00021481782899318352 + }, + { + "op": "attention_prefill_causal", + "shape": [ + 8, + 8, + 64, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.007441902931307032, + "exact_viol": 0, + "exact_ratio": 0.008083227169070627 + }, + { + "op": "paged_decode_batch", + "shape": [ + 2, + 8, + 2, + 64, + 16, + 29, + 341, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.000836587054760916, + "exact_viol": 0, + "exact_ratio": 0.0008566961458289543 + }, + { + "op": "paged_decode_single", + "shape": [ + 1, + 8, + 1, + 128, + 64, + 6, + 332, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0016352455887581724, + "exact_viol": 0, + "exact_ratio": 0.001586338849971637 + } + ], + "health_before": "{\"busy\":false,\"concurrency\":8,\"engine\":\"omega-qwen36-batch\",\"in_flight\":1,\"model\":\"qwen3.6-35b-a3b-fp8\",\"status\":\"ok\",\"uptime_s\":18182}", + "utc_start": "2026-10-27T09:00:11Z", + "hold_s": 2.4, + "utc_end": "2026-10-27T09:00:13Z", + "health_after": "{\"busy\":false,\"concurrency\":8,\"engine\":\"omega-qwen36-batch\",\"in_flight\":1,\"model\":\"qwen3.6-35b-a3b-fp8\",\"status\":\"ok\",\"uptime_s\":18185}", + "result": "PASS" +} \ No newline at end of file diff --git a/evidence/GPU-9841bb3a/attn.log b/evidence/GPU-9841bb3a/attn.log new file mode 100644 index 0000000..e440ae1 --- /dev/null +++ b/evidence/GPU-9841bb3a/attn.log @@ -0,0 +1,26 @@ +prepared 160 cases on the host in 21.2s +softmax_via_attn cases= 32 gate_worst=0.0129 gate_viol=0 exact_worst=0.0117 exact_viol=0 rc_fail=0 chip=NVIDIA DGX Spark (Grace Blackwell GB10) sm=121 +attention_decode cases= 32 gate_worst=0.00447 gate_viol=0 exact_worst=0.00445 exact_viol=0 rc_fail=0 chip=NVIDIA DGX Spark (Grace Blackwell GB10) sm=121 +attention_prefill_causal cases= 32 gate_worst=0.01 gate_viol=0 exact_worst=0.00849 exact_viol=0 rc_fail=0 chip=NVIDIA DGX Spark (Grace Blackwell GB10) sm=121 +paged_decode_batch cases= 32 gate_worst=0.00432 gate_viol=0 exact_worst=0.00473 exact_viol=0 rc_fail=0 chip=NVIDIA DGX Spark (Grace Blackwell GB10) sm=121 +paged_decode_single cases= 32 gate_worst=0.00311 gate_viol=0 exact_worst=0.00266 exact_viol=0 rc_fail=0 chip=NVIDIA DGX Spark (Grace Blackwell GB10) sm=121 +MUTANT softmax_via_attn:attn:1 runs=4 killed=4 refused=0 survived=0 +MUTANT attention_decode:attn:2 runs=4 killed=4 refused=0 survived=0 +MUTANT attention_decode:attn:5 runs=4 killed=4 refused=0 survived=0 +MUTANT attention_decode:attn:6 runs=4 killed=4 refused=0 survived=0 +MUTANT attention_prefill_causal:attn:5 runs=4 killed=4 refused=0 survived=0 +MUTANT attention_prefill_causal:attn:6 runs=4 killed=4 refused=0 survived=0 +MUTANT paged_decode_batch:attn:2 runs=4 killed=4 refused=0 survived=0 +MUTANT paged_decode_batch:attn:5 runs=4 killed=4 refused=0 survived=0 +MUTANT paged_decode_batch:attn:6 runs=4 killed=4 refused=0 survived=0 +MUTANT paged_decode_batch:attn:3 runs=4 killed=4 refused=0 survived=0 +MUTANT paged_decode_single:attn:2 runs=4 killed=4 refused=0 survived=0 +MUTANT paged_decode_single:attn:5 runs=4 killed=4 refused=0 survived=0 +MUTANT paged_decode_single:attn:6 runs=4 killed=4 refused=0 survived=0 +MUTANT paged_decode_single:attn:3 runs=4 killed=4 refused=0 survived=0 +MUTANT paged_decode_single:attn:4 runs=4 killed=4 refused=0 survived=0 +MUTANT attention_decode:attn:4 runs=4 killed=4 refused=0 survived=0 +MUTANT attention_prefill_causal:attn:2 runs=4 killed=4 refused=0 survived=0 +MUTANT paged_decode_batch:attn:4 runs=4 killed=4 refused=0 survived=0 +MUTANT attention_prefill_causal:attn:4 runs=4 killed=4 refused=0 survived=0 +RESULT PASS hold=2.4s diff --git a/evidence/GPU-9841bb3a/ew.json b/evidence/GPU-9841bb3a/ew.json new file mode 100644 index 0000000..6e4afed --- /dev/null +++ b/evidence/GPU-9841bb3a/ew.json @@ -0,0 +1,1782 @@ +{ + "lane": "DnnGpu", + "group": "ew", + "seed": 7, + "cases_per_op": 32, + "cudapp_sha": "9841bb3a5dfbde1c7bf7741fd2fceb916962c8cb", + "lib": "/home/drakestapleton/work/DnnGpu/cudapp/build-pic/libcudapp_dnn.so", + "lib_sha256": "738d1e46414007f38c201827fe1d986a37a9b66d93a4724d0ed2ad0be4e351dd", + "harness_sha256": "cd73e3b993a7441713ccc148b93db9ee228345ed8b4224fac1e03ef2d43008c1", + "torch": "2.14.1+cpu", + "host": "spark-b87b", + "kernel": "7.0.0-1019-nvidia", + "driver": "NVRM version: NVIDIA UNIX Open Kernel Module for aarch64 580.173.02 Release Build (dvs-builder@U22-A24-5-4) Tue Jun 23 08:34:19 UTC 2026", + "ops": { + "rmsnorm": { + "cases": 32, + "gate_viol": 0, + "exact_viol": 0, + "rc_fail": 0, + "gate_worst": 0.2985863144302075, + "exact_worst": 0.2823596271450306, + "chip_calls": 32, + "elapsed_ns": 21403866, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121 + }, + "rope": { + "cases": 32, + "gate_viol": 0, + "exact_viol": 0, + "rc_fail": 0, + "gate_worst": 0.6666168484851099, + "exact_worst": 0.929991968136172, + "chip_calls": 32, + "elapsed_ns": 7873365, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121 + }, + "swiglu": { + "cases": 32, + "gate_viol": 0, + "exact_viol": 0, + "rc_fail": 0, + "gate_worst": 0.430606979393813, + "exact_worst": 0.44149052825907614, + "chip_calls": 33, + "elapsed_ns": 7645557, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121 + }, + "silu": { + "cases": 32, + "gate_viol": 0, + "exact_viol": 0, + "rc_fail": 0, + "gate_worst": 0.4612795789120533, + "exact_worst": 0.4475911642521514, + "chip_calls": 33, + "elapsed_ns": 10315998, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121 + } + }, + "mutants": { + "rmsnorm:ew:3": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 8, + 8832 + ], + "rc": 0, + "gate_viol": 70656, + "gate_ratio": 156966.47366580757, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 6, + 2560 + ], + "rc": 0, + "gate_viol": 15360, + "gate_ratio": 339378.47333818895, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 128 + ], + "rc": 0, + "gate_viol": 128, + "gate_ratio": 442235.13758990145, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 6, + 128 + ], + "rc": 0, + "gate_viol": 768, + "gate_ratio": 608263.7710488803, + "predicted_ratio": null, + "split0": false + } + ] + }, + "rope:ew:4": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 3, + 90, + 0 + ], + "rc": 0, + "gate_viol": 135, + "gate_ratio": 11180482.383472256, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 2, + 60 + ], + "rc": 0, + "gate_viol": 1, + "gate_ratio": 1800063.4268887823, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 7, + 102, + 0 + ], + "rc": 0, + "gate_viol": 357, + "gate_ratio": 11183708.420433233, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 4, + 2, + 2 + ], + "rc": 0, + "gate_viol": 4, + "gate_ratio": 10418048.051694058, + "predicted_ratio": null, + "split0": false + } + ] + }, + "swiglu:ew:5": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 127, + "gate_ratio": 13748639.459083367, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 1, + "gate_ratio": 3867378.9573065257, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 129 + ], + "rc": 0, + "gate_viol": 129, + "gate_ratio": 54579829179654.77, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 3723 + ], + "rc": 0, + "gate_viol": 3723, + "gate_ratio": 679263717149.992, + "predicted_ratio": null, + "split0": false + } + ] + }, + "silu:ew:5": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 128 + ], + "rc": 0, + "gate_viol": 128, + "gate_ratio": 69286148037587.45, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 1, + "gate_ratio": 790765.3389915363, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 128 + ], + "rc": 0, + "gate_viol": 128, + "gate_ratio": 69286147287995.19, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1526 + ], + "rc": 0, + "gate_viol": 1526, + "gate_ratio": 69286148113385.77, + "predicted_ratio": null, + "split0": false + } + ] + } + }, + "cases": [ + { + "op": "rmsnorm", + "shape": [ + 8, + 8832 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.07081252601063602, + "exact_viol": 0, + "exact_ratio": 0.05913706597143388 + }, + { + "op": "rope", + "shape": [ + 3, + 90, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6565671034371781, + "exact_viol": 0, + "exact_ratio": 0.7190021829370694 + }, + { + "op": "swiglu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.3191387928707411, + "exact_viol": 0, + "exact_ratio": 0.2769755370055853 + }, + { + "op": "silu", + "shape": [ + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.26890693425990325, + "exact_viol": 0, + "exact_ratio": 0.2716180075602271 + }, + { + "op": "rmsnorm", + "shape": [ + 6, + 2560 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.17574294453560085, + "exact_viol": 0, + "exact_ratio": 0.13991558646923513 + }, + { + "op": "rope", + "shape": [ + 1, + 2, + 60 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.06709156142030066 + }, + { + "op": "swiglu", + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.07923209552242856, + "exact_viol": 0, + "exact_ratio": 0.0966389869748331 + }, + { + "op": "silu", + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.11619940165140817, + "exact_viol": 0, + "exact_ratio": 0.06809459779267725 + }, + { + "op": "rmsnorm", + "shape": [ + 1, + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.26798141718332263, + "exact_viol": 0, + "exact_ratio": 0.2823596271450306 + }, + { + "op": "rope", + "shape": [ + 7, + 102, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6644497598281585, + "exact_viol": 0, + "exact_ratio": 0.8530267242962054 + }, + { + "op": "swiglu", + "shape": [ + 129 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.3346615024058624, + "exact_viol": 0, + "exact_ratio": 0.35663707985163495 + }, + { + "op": "silu", + "shape": [ + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.26994001207112245, + "exact_viol": 0, + "exact_ratio": 0.28485272885967705 + }, + { + "op": "rmsnorm", + "shape": [ + 6, + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.1802601607017862, + "exact_viol": 0, + "exact_ratio": 0.17533628631109366 + }, + { + "op": "rope", + "shape": [ + 4, + 2, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.339852339168397, + "exact_viol": 0, + "exact_ratio": 0.35383122442247744 + }, + { + "op": "swiglu", + "shape": [ + 3723 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.3429251847106153, + "exact_viol": 0, + "exact_ratio": 0.3533579518680333 + }, + { + "op": "silu", + "shape": [ + 1526 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.361261588717571, + "exact_viol": 0, + "exact_ratio": 0.36449986825752206 + }, + { + "op": "rmsnorm", + "shape": [ + 7, + 4096 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.12486828311950704, + "exact_viol": 0, + "exact_ratio": 0.10838862416655284 + }, + { + "op": "rope", + "shape": [ + 7, + 2, + 49 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.4643276437749071, + "exact_viol": 0, + "exact_ratio": 0.6438187882901036 + }, + { + "op": "swiglu", + "shape": [ + 4772 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.400144535269764, + "exact_viol": 0, + "exact_ratio": 0.407038402915207 + }, + { + "op": "silu", + "shape": [ + 129 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.32271101823394926, + "exact_viol": 0, + "exact_ratio": 0.35469290554711985 + }, + { + "op": "rmsnorm", + "shape": [ + 3, + 4096 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.11322180740440668, + "exact_viol": 0, + "exact_ratio": 0.09531123176108088 + }, + { + "op": "rope", + "shape": [ + 4, + 128, + 3 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6593019155033144, + "exact_viol": 0, + "exact_ratio": 0.810541155029138 + }, + { + "op": "swiglu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.22006830839993208, + "exact_viol": 0, + "exact_ratio": 0.24411524747701038 + }, + { + "op": "silu", + "shape": [ + 2384 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.33718588814455175, + "exact_viol": 0, + "exact_ratio": 0.366429826466641 + }, + { + "op": "rmsnorm", + "shape": [ + 2, + 15616 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.053890432504946295, + "exact_viol": 0, + "exact_ratio": 0.04215319518043262 + }, + { + "op": "rope", + "shape": [ + 2, + 110, + 38 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6554999983358715, + "exact_viol": 0, + "exact_ratio": 0.679899643320673 + }, + { + "op": "swiglu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.3168520553551552, + "exact_viol": 0, + "exact_ratio": 0.2756360975660467 + }, + { + "op": "silu", + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.057528557361327746, + "exact_viol": 0, + "exact_ratio": 0.043814769685713816 + }, + { + "op": "rmsnorm", + "shape": [ + 2, + 6912 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.05582621705343552, + "exact_viol": 0, + "exact_ratio": 0.05727115349973248 + }, + { + "op": "rope", + "shape": [ + 3, + 1142, + 27 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6660683893067505, + "exact_viol": 0, + "exact_ratio": 0.8727710142425772 + }, + { + "op": "swiglu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.3354195418838187, + "exact_viol": 0, + "exact_ratio": 0.3390974979584356 + }, + { + "op": "silu", + "shape": [ + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.23513725157266616, + "exact_viol": 0, + "exact_ratio": 0.22121822361341972 + }, + { + "op": "rmsnorm", + "shape": [ + 4, + 256 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.19917723025963877, + "exact_viol": 0, + "exact_ratio": 0.2018402122607132 + }, + { + "op": "rope", + "shape": [ + 6, + 2048, + 6 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6648153538497366, + "exact_viol": 0, + "exact_ratio": 0.9228412010512833 + }, + { + "op": "swiglu", + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 9.682286263746517e-05, + "exact_viol": 0, + "exact_ratio": 9.852237708717606e-05 + }, + { + "op": "silu", + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.009295074179006813 + }, + { + "op": "rmsnorm", + "shape": [ + 8, + 1280 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.24053713668966667, + "exact_viol": 0, + "exact_ratio": 0.21056683103712112 + }, + { + "op": "rope", + "shape": [ + 4, + 116, + 3 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.648013987363363, + "exact_viol": 0, + "exact_ratio": 0.8107643817723591 + }, + { + "op": "swiglu", + "shape": [ + 2506 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.32784236558763713, + "exact_viol": 0, + "exact_ratio": 0.33879134269995 + }, + { + "op": "silu", + "shape": [ + 129 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.24920618180628132, + "exact_viol": 0, + "exact_ratio": 0.2190496349456317 + }, + { + "op": "rmsnorm", + "shape": [ + 2, + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.24311928446567316, + "exact_viol": 0, + "exact_ratio": 0.2195939775966572 + }, + { + "op": "rope", + "shape": [ + 7, + 430, + 11 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6662837794235844, + "exact_viol": 0, + "exact_ratio": 0.842334685631143 + }, + { + "op": "swiglu", + "shape": [ + 129 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.3841355872574891, + "exact_viol": 0, + "exact_ratio": 0.39095790731367497 + }, + { + "op": "silu", + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.0 + }, + { + "op": "rmsnorm", + "shape": [ + 7, + 384 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.2985863144302075, + "exact_viol": 0, + "exact_ratio": 0.2793842057627743 + }, + { + "op": "rope", + "shape": [ + 8, + 2048, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6666005622001312, + "exact_viol": 0, + "exact_ratio": 0.9024688819853343 + }, + { + "op": "swiglu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.18400108290082154, + "exact_viol": 0, + "exact_ratio": 0.18814924420154425 + }, + { + "op": "silu", + "shape": [ + 129 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.21945874543353, + "exact_viol": 0, + "exact_ratio": 0.19720644944889432 + }, + { + "op": "rmsnorm", + "shape": [ + 1, + 6912 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.07128964186081392, + "exact_viol": 0, + "exact_ratio": 0.06725017124418803 + }, + { + "op": "rope", + "shape": [ + 2, + 64, + 3 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6050161674469436, + "exact_viol": 0, + "exact_ratio": 0.7142409609671018 + }, + { + "op": "swiglu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.2348878620504312, + "exact_viol": 0, + "exact_ratio": 0.22462786943940513 + }, + { + "op": "silu", + "shape": [ + 1488 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.32997375909921534, + "exact_viol": 0, + "exact_ratio": 0.32445700193447813 + }, + { + "op": "rmsnorm", + "shape": [ + 4, + 5632 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.13645667763032637, + "exact_viol": 0, + "exact_ratio": 0.1275775023770048 + }, + { + "op": "rope", + "shape": [ + 7, + 64, + 41 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6548605990229565, + "exact_viol": 0, + "exact_ratio": 0.7609607748119748 + }, + { + "op": "swiglu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.36729474111707966, + "exact_viol": 0, + "exact_ratio": 0.36879279108575647 + }, + { + "op": "silu", + "shape": [ + 2402 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.2867142381813094, + "exact_viol": 0, + "exact_ratio": 0.305545547798991 + }, + { + "op": "rmsnorm", + "shape": [ + 1, + 4096 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.07639718304335265, + "exact_viol": 0, + "exact_ratio": 0.07836380624184111 + }, + { + "op": "rope", + "shape": [ + 6, + 64, + 2 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6376017343301585, + "exact_viol": 0, + "exact_ratio": 0.787681348723222 + }, + { + "op": "swiglu", + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.20027694334368323, + "exact_viol": 0, + "exact_ratio": 0.17208716347262443 + }, + { + "op": "silu", + "shape": [ + 106 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.2697373570260378, + "exact_viol": 0, + "exact_ratio": 0.2524524395622744 + }, + { + "op": "rmsnorm", + "shape": [ + 1, + 16384 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.042347043626452426, + "exact_viol": 0, + "exact_ratio": 0.0371893095895612 + }, + { + "op": "rope", + "shape": [ + 8, + 120, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6534125742693623, + "exact_viol": 0, + "exact_ratio": 0.7507495457785287 + }, + { + "op": "swiglu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.3372623519392257, + "exact_viol": 0, + "exact_ratio": 0.3521715570627276 + }, + { + "op": "silu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.2817399598798862, + "exact_viol": 0, + "exact_ratio": 0.27323224746379504 + }, + { + "op": "rmsnorm", + "shape": [ + 7, + 4096 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.10467520246043376, + "exact_viol": 0, + "exact_ratio": 0.0981717688015767 + }, + { + "op": "rope", + "shape": [ + 5, + 128, + 28 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6450906980039912, + "exact_viol": 0, + "exact_ratio": 0.7506393110722459 + }, + { + "op": "swiglu", + "shape": [ + 129 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.27038547075932434, + "exact_viol": 0, + "exact_ratio": 0.2835269568207318 + }, + { + "op": "silu", + "shape": [ + 3674 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.2995059079038596, + "exact_viol": 0, + "exact_ratio": 0.2848114534331426 + }, + { + "op": "rmsnorm", + "shape": [ + 3, + 384 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.2589843838665885, + "exact_viol": 0, + "exact_ratio": 0.21265421486833785 + }, + { + "op": "rope", + "shape": [ + 5, + 128, + 44 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6633899727821528, + "exact_viol": 0, + "exact_ratio": 0.7873770718897839 + }, + { + "op": "swiglu", + "shape": [ + 70783 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.4097338724796089, + "exact_viol": 0, + "exact_ratio": 0.40761854061304864 + }, + { + "op": "silu", + "shape": [ + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.20097314134343258, + "exact_viol": 0, + "exact_ratio": 0.18186254784691203 + }, + { + "op": "rmsnorm", + "shape": [ + 8, + 4096 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.13400055468440875, + "exact_viol": 0, + "exact_ratio": 0.11235826338378399 + }, + { + "op": "rope", + "shape": [ + 7, + 2, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.629097964188956, + "exact_viol": 0, + "exact_ratio": 0.4980300673056796 + }, + { + "op": "swiglu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.2551655397185834, + "exact_viol": 0, + "exact_ratio": 0.2640441132548408 + }, + { + "op": "silu", + "shape": [ + 109653 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.3563863727591838, + "exact_viol": 0, + "exact_ratio": 0.326376585299369 + }, + { + "op": "rmsnorm", + "shape": [ + 1, + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.16375281195843086, + "exact_viol": 0, + "exact_ratio": 0.15864318906648295 + }, + { + "op": "rope", + "shape": [ + 6, + 1472, + 11 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6664167435693583, + "exact_viol": 0, + "exact_ratio": 0.8788599626778674 + }, + { + "op": "swiglu", + "shape": [ + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.2556669123750082, + "exact_viol": 0, + "exact_ratio": 0.2268068082019223 + }, + { + "op": "silu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.22670528111299196, + "exact_viol": 0, + "exact_ratio": 0.20020693903445422 + }, + { + "op": "rmsnorm", + "shape": [ + 6, + 256 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.21934490970891476, + "exact_viol": 0, + "exact_ratio": 0.21213326712801245 + }, + { + "op": "rope", + "shape": [ + 8, + 34, + 24 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6662712944647083, + "exact_viol": 0, + "exact_ratio": 0.7032459012299803 + }, + { + "op": "swiglu", + "shape": [ + 129 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.32796209124076664, + "exact_viol": 0, + "exact_ratio": 0.33068953063794254 + }, + { + "op": "silu", + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.14295668834081085, + "exact_viol": 0, + "exact_ratio": 0.11430083727588482 + }, + { + "op": "rmsnorm", + "shape": [ + 5, + 4096 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.12000876898599279, + "exact_viol": 0, + "exact_ratio": 0.09544104277286496 + }, + { + "op": "rope", + "shape": [ + 7, + 2048, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6666168484851099, + "exact_viol": 0, + "exact_ratio": 0.929991968136172 + }, + { + "op": "swiglu", + "shape": [ + 2380 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.414094322158773, + "exact_viol": 0, + "exact_ratio": 0.44149052825907614 + }, + { + "op": "silu", + "shape": [ + 129 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.24542960814742928, + "exact_viol": 0, + "exact_ratio": 0.26012342004669065 + }, + { + "op": "rmsnorm", + "shape": [ + 7, + 16384 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.05136907425403961, + "exact_viol": 0, + "exact_ratio": 0.03933724045472123 + }, + { + "op": "rope", + "shape": [ + 2, + 310, + 5 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6647013290278866, + "exact_viol": 0, + "exact_ratio": 0.7268916757604106 + }, + { + "op": "swiglu", + "shape": [ + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.28774183990970215, + "exact_viol": 0, + "exact_ratio": 0.2480677352627349 + }, + { + "op": "silu", + "shape": [ + 134766 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.4612795789120533, + "exact_viol": 0, + "exact_ratio": 0.4475911642521514 + }, + { + "op": "rmsnorm", + "shape": [ + 2, + 1024 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.12894089610935155, + "exact_viol": 0, + "exact_ratio": 0.12049497115125271 + }, + { + "op": "rope", + "shape": [ + 4, + 2, + 9 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6168872194934651, + "exact_viol": 0, + "exact_ratio": 0.6681438804355367 + }, + { + "op": "swiglu", + "shape": [ + 757 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.4053592354348506, + "exact_viol": 0, + "exact_ratio": 0.4083579140683456 + }, + { + "op": "silu", + "shape": [ + 3593 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.28989369607915483, + "exact_viol": 0, + "exact_ratio": 0.2829248581700821 + }, + { + "op": "rmsnorm", + "shape": [ + 4, + 14336 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.05702419630803308, + "exact_viol": 0, + "exact_ratio": 0.04427210533866603 + }, + { + "op": "rope", + "shape": [ + 6, + 38, + 9 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6632077067641962, + "exact_viol": 0, + "exact_ratio": 0.6565331821199424 + }, + { + "op": "swiglu", + "shape": [ + 4858 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.3119829344153884, + "exact_viol": 0, + "exact_ratio": 0.33962692002452255 + }, + { + "op": "silu", + "shape": [ + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.1789132000303423, + "exact_viol": 0, + "exact_ratio": 0.17405380995003145 + }, + { + "op": "rmsnorm", + "shape": [ + 4, + 256 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.18138034100121883, + "exact_viol": 0, + "exact_ratio": 0.20605214741876446 + }, + { + "op": "rope", + "shape": [ + 7, + 2, + 16 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.4666872414593294, + "exact_viol": 0, + "exact_ratio": 0.38182620143325624 + }, + { + "op": "swiglu", + "shape": [ + 138240 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.430606979393813, + "exact_viol": 0, + "exact_ratio": 0.4398482478483958 + }, + { + "op": "silu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.38696036663356687, + "exact_viol": 0, + "exact_ratio": 0.3940597056628316 + }, + { + "op": "rmsnorm", + "shape": [ + 7, + 2048 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.18283238286111805, + "exact_viol": 0, + "exact_ratio": 0.15138328906886928 + }, + { + "op": "rope", + "shape": [ + 1, + 64, + 36 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6538125035369576, + "exact_viol": 0, + "exact_ratio": 0.6841976598111366 + }, + { + "op": "swiglu", + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.04242143755980076, + "exact_viol": 0, + "exact_ratio": 0.05187934134229793 + }, + { + "op": "silu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.2593171971391621, + "exact_viol": 0, + "exact_ratio": 0.2698491166858959 + }, + { + "op": "rmsnorm", + "shape": [ + 4, + 384 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.23406002397034353, + "exact_viol": 0, + "exact_ratio": 0.2132139017338705 + }, + { + "op": "rope", + "shape": [ + 5, + 2048, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6663241009610654, + "exact_viol": 0, + "exact_ratio": 0.9249394201636715 + }, + { + "op": "swiglu", + "shape": [ + 129 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.2545478315414025, + "exact_viol": 0, + "exact_ratio": 0.2666511754529996 + }, + { + "op": "silu", + "shape": [ + 29455 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.45146176585240405, + "exact_viol": 0, + "exact_ratio": 0.4387319783588957 + }, + { + "op": "rmsnorm", + "shape": [ + 1, + 2048 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.14919515560024524, + "exact_viol": 0, + "exact_ratio": 0.13614928318371683 + }, + { + "op": "rope", + "shape": [ + 5, + 86, + 18 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6567168988740435, + "exact_viol": 0, + "exact_ratio": 0.8088504136542879 + }, + { + "op": "swiglu", + "shape": [ + 128 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.40092738851982795, + "exact_viol": 0, + "exact_ratio": 0.41222170499767063 + }, + { + "op": "silu", + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.02078431553634216 + }, + { + "op": "rmsnorm", + "shape": [ + 5, + 1024 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.18534827948115745, + "exact_viol": 0, + "exact_ratio": 0.180160816729812 + }, + { + "op": "rope", + "shape": [ + 1, + 2, + 29 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.4196599020544752, + "exact_viol": 0, + "exact_ratio": 0.315927529042113 + }, + { + "op": "swiglu", + "shape": [ + 1455 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.36075060390173674, + "exact_viol": 0, + "exact_ratio": 0.3770407527818824 + }, + { + "op": "silu", + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.00037927559669601567 + }, + { + "op": "rmsnorm", + "shape": [ + 6, + 16384 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.05297859930927114, + "exact_viol": 0, + "exact_ratio": 0.04426549834817901 + }, + { + "op": "rope", + "shape": [ + 1, + 82, + 4 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.6165242061496674, + "exact_viol": 0, + "exact_ratio": 0.6487134553878079 + }, + { + "op": "swiglu", + "shape": [ + 2785 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.3564193082341521, + "exact_viol": 0, + "exact_ratio": 0.36506874383742444 + }, + { + "op": "silu", + "shape": [ + 127 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.3879795900915041, + "exact_viol": 0, + "exact_ratio": 0.4038476957213614 + }, + { + "op": "rmsnorm", + "shape": [ + 2, + 5632 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.1173496772777775, + "exact_viol": 0, + "exact_ratio": 0.09982879239727127 + }, + { + "op": "rope", + "shape": [ + 7, + 128, + 11 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.653465416711107, + "exact_viol": 0, + "exact_ratio": 0.7970840828303739 + }, + { + "op": "swiglu", + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0, + "exact_viol": 0, + "exact_ratio": 0.012834165942309194 + }, + { + "op": "silu", + "shape": [ + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.09202837755844509, + "exact_viol": 0, + "exact_ratio": 0.049254311630868144 + } + ], + "health_before": "{\"busy\":false,\"concurrency\":8,\"engine\":\"omega-qwen36-batch\",\"in_flight\":0,\"model\":\"qwen3.6-35b-a3b-fp8\",\"status\":\"ok\",\"uptime_s\":18156}", + "utc_start": "2026-10-27T08:59:44Z", + "hold_s": 0.5, + "utc_end": "2026-10-27T08:59:44Z", + "health_after": "{\"busy\":false,\"concurrency\":8,\"engine\":\"omega-qwen36-batch\",\"in_flight\":0,\"model\":\"qwen3.6-35b-a3b-fp8\",\"status\":\"ok\",\"uptime_s\":18156}", + "result": "PASS" +} \ No newline at end of file diff --git a/evidence/GPU-9841bb3a/ew.log b/evidence/GPU-9841bb3a/ew.log new file mode 100644 index 0000000..9b4f06b --- /dev/null +++ b/evidence/GPU-9841bb3a/ew.log @@ -0,0 +1,10 @@ +prepared 128 cases on the host in 0.9s +rmsnorm cases= 32 gate_worst=0.299 gate_viol=0 exact_worst=0.282 exact_viol=0 rc_fail=0 chip=NVIDIA DGX Spark (Grace Blackwell GB10) sm=121 +rope cases= 32 gate_worst=0.667 gate_viol=0 exact_worst=0.93 exact_viol=0 rc_fail=0 chip=NVIDIA DGX Spark (Grace Blackwell GB10) sm=121 +swiglu cases= 32 gate_worst=0.431 gate_viol=0 exact_worst=0.441 exact_viol=0 rc_fail=0 chip=NVIDIA DGX Spark (Grace Blackwell GB10) sm=121 +silu cases= 32 gate_worst=0.461 gate_viol=0 exact_worst=0.448 exact_viol=0 rc_fail=0 chip=NVIDIA DGX Spark (Grace Blackwell GB10) sm=121 +MUTANT rmsnorm:ew:3 runs=4 killed=4 refused=0 survived=0 +MUTANT rope:ew:4 runs=4 killed=4 refused=0 survived=0 +MUTANT swiglu:ew:5 runs=4 killed=4 refused=0 survived=0 +MUTANT silu:ew:5 runs=4 killed=4 refused=0 survived=0 +RESULT PASS hold=0.5s diff --git a/evidence/GPU-b28372d1/gemm.json b/evidence/GPU-b28372d1/gemm.json new file mode 100644 index 0000000..b964de9 --- /dev/null +++ b/evidence/GPU-b28372d1/gemm.json @@ -0,0 +1,681 @@ +{ + "lane": "DnnGpu", + "group": "gemm", + "seed": 7, + "cases_per_op": 32, + "cudapp_sha": "b28372d1f9ebb4edf5f347eb6ce2e8d7ca21e2c5", + "lib": "/home/drakestapleton/work/DnnGpu/cudapp-gemmex/build-pic/libcudapp_dnn.so", + "lib_sha256": "b5fb715c9fe7dd48749a01ccd699135eca7f3e5a26635b28c510b5441de7a426", + "harness_sha256": "cd73e3b993a7441713ccc148b93db9ee228345ed8b4224fac1e03ef2d43008c1", + "torch": "2.14.1+cpu", + "host": "spark-b87b", + "kernel": "7.0.0-1019-nvidia", + "driver": "NVRM version: NVIDIA UNIX Open Kernel Module for aarch64 580.173.02 Release Build (dvs-builder@U22-A24-5-4) Tue Jun 23 08:34:19 UTC 2026", + "ops": { + "matmul": { + "cases": 32, + "gate_viol": 0, + "exact_viol": 0, + "rc_fail": 0, + "gate_worst": 0.38810689000266907, + "exact_worst": 0.8537193318456201, + "chip_calls": 35, + "elapsed_ns": 0, + "route": 3, + "core_type": 0 + } + }, + "mutants": { + "matmul:gemm:2": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 16, + 122, + 1809, + 1, + 1 + ], + "rc": 0, + "gate_viol": 1952, + "gate_ratio": Infinity, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 8, + 17, + 1, + 1 + ], + "rc": 0, + "gate_viol": 8, + "gate_ratio": 3.819544166668717e+23, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 9, + 8, + 17, + 1, + 0 + ], + "rc": 0, + "gate_viol": 72, + "gate_ratio": 3.375247951228663e+23, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 1, + 172, + 17, + 1, + 0 + ], + "rc": 0, + "gate_viol": 172, + "gate_ratio": 64492.974962581364, + "predicted_ratio": null, + "split0": false + } + ] + }, + "matmul:gemm:1": { + "runs": 4, + "killed": 4, + "refused": 0, + "survived": 0, + "runs_detail": [ + { + "shape": [ + 16, + 8, + 16, + 0, + 1 + ], + "rc": 0, + "gate_viol": 128, + "gate_ratio": 17308.443008477145, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 16, + 1, + 16, + 1, + 1 + ], + "rc": 0, + "gate_viol": 16, + "gate_ratio": 15948.618696463353, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 16, + 1, + 1, + 0, + 1 + ], + "rc": 0, + "gate_viol": 16, + "gate_ratio": 55087.671691782445, + "predicted_ratio": null, + "split0": false + }, + { + "shape": [ + 34, + 8, + 15, + 0, + 1 + ], + "rc": 0, + "gate_viol": 272, + "gate_ratio": 21258.308774963603, + "predicted_ratio": null, + "split0": false + } + ] + } + }, + "cases": [ + { + "op": "matmul", + "shape": [ + 16, + 122, + 1809, + 1, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00040216364399475735, + "exact_viol": 0, + "exact_ratio": 0.0003949344558089908 + }, + { + "op": "matmul", + "shape": [ + 1, + 128, + 1808, + 0, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00032886853581966507, + "exact_viol": 0, + "exact_ratio": 0.0003287516078782858 + }, + { + "op": "matmul", + "shape": [ + 60, + 8, + 1783, + 0, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0003862163636653913, + "exact_viol": 0, + "exact_ratio": 0.0003901491927054823 + }, + { + "op": "matmul", + "shape": [ + 1, + 8, + 17, + 1, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0007206770736226353, + "exact_viol": 0, + "exact_ratio": 0.0005380683010081303 + }, + { + "op": "matmul", + "shape": [ + 16, + 8, + 16, + 0, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0057623208416171644, + "exact_viol": 0, + "exact_ratio": 0.004319490833498779 + }, + { + "op": "matmul", + "shape": [ + 16, + 1, + 16, + 1, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0025752577073007367, + "exact_viol": 0, + "exact_ratio": 0.002016540647226248 + }, + { + "op": "matmul", + "shape": [ + 9, + 8, + 17, + 1, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0028042091955270748, + "exact_viol": 0, + "exact_ratio": 0.002296997366121184 + }, + { + "op": "matmul", + "shape": [ + 16, + 1, + 1, + 0, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.015880608997767484, + "exact_viol": 0, + "exact_ratio": 0.03708915538642317 + }, + { + "op": "matmul", + "shape": [ + 34, + 8, + 15, + 0, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.004761031430703572, + "exact_viol": 0, + "exact_ratio": 0.004249443689030217 + }, + { + "op": "matmul", + "shape": [ + 1, + 172, + 17, + 1, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0034659809069663267, + "exact_viol": 0, + "exact_ratio": 0.0025464297682555215 + }, + { + "op": "matmul", + "shape": [ + 37, + 71, + 16, + 1, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.006013716379473225, + "exact_viol": 0, + "exact_ratio": 0.007472263509553728 + }, + { + "op": "matmul", + "shape": [ + 16, + 1, + 1, + 1, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.011445221924031366, + "exact_viol": 0, + "exact_ratio": 0.01089786208448484 + }, + { + "op": "matmul", + "shape": [ + 1, + 8, + 1808, + 0, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00010728010657191763, + "exact_viol": 0, + "exact_ratio": 0.00010697603144592472 + }, + { + "op": "matmul", + "shape": [ + 16, + 1, + 884, + 1, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0002648597158772354, + "exact_viol": 0, + "exact_ratio": 0.0002735912940799266 + }, + { + "op": "matmul", + "shape": [ + 16, + 8, + 17, + 1, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0042529740315794306, + "exact_viol": 0, + "exact_ratio": 0.00330439972160203 + }, + { + "op": "matmul", + "shape": [ + 1, + 134, + 16, + 1, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00466458366439557, + "exact_viol": 0, + "exact_ratio": 0.003258793567124033 + }, + { + "op": "matmul", + "shape": [ + 46, + 1, + 289, + 1, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.000590917141617326, + "exact_viol": 0, + "exact_ratio": 0.0006491764944377289 + }, + { + "op": "matmul", + "shape": [ + 48, + 265, + 1, + 0, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.38810689000266907, + "exact_viol": 0, + "exact_ratio": 0.8537193318456201 + }, + { + "op": "matmul", + "shape": [ + 29, + 66, + 15, + 0, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00574765421644909, + "exact_viol": 0, + "exact_ratio": 0.004528939457709821 + }, + { + "op": "matmul", + "shape": [ + 1, + 81, + 16, + 0, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.005995140483422767, + "exact_viol": 0, + "exact_ratio": 0.005742561799474282 + }, + { + "op": "matmul", + "shape": [ + 1, + 34, + 1, + 1, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.016519032870126002, + "exact_viol": 0, + "exact_ratio": 0.017443927675269522 + }, + { + "op": "matmul", + "shape": [ + 51, + 289, + 1808, + 0, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0005536109097080941, + "exact_viol": 0, + "exact_ratio": 0.0005490946952691497 + }, + { + "op": "matmul", + "shape": [ + 16, + 1, + 189, + 0, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0007051680184378896, + "exact_viol": 0, + "exact_ratio": 0.0008799260630964399 + }, + { + "op": "matmul", + "shape": [ + 16, + 8, + 1, + 1, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.006518040420249771, + "exact_viol": 0, + "exact_ratio": 0.005760598272475405 + }, + { + "op": "matmul", + "shape": [ + 16, + 8, + 1808, + 1, + 0 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00038479812130472446, + "exact_viol": 0, + "exact_ratio": 0.00038743593640891644 + }, + { + "op": "matmul", + "shape": [ + 16, + 1, + 1305, + 1, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0002401504437180609, + "exact_viol": 0, + "exact_ratio": 0.00024737259554173874 + }, + { + "op": "matmul", + "shape": [ + 16, + 1, + 1808, + 0, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00027849934311047507, + "exact_viol": 0, + "exact_ratio": 0.0002809928913995438 + }, + { + "op": "matmul", + "shape": [ + 1, + 160, + 1, + 0, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.044220490735080054, + "exact_viol": 0, + "exact_ratio": 0.30887961443456985 + }, + { + "op": "matmul", + "shape": [ + 69, + 191, + 1808, + 0, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0005633745044165589, + "exact_viol": 0, + "exact_ratio": 0.0005621864160404456 + }, + { + "op": "matmul", + "shape": [ + 1, + 8, + 1809, + 0, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.0003523229497194161, + "exact_viol": 0, + "exact_ratio": 0.0003525041836290853 + }, + { + "op": "matmul", + "shape": [ + 64, + 1, + 1808, + 1, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.00030971169456485214, + "exact_viol": 0, + "exact_ratio": 0.00030634498620187587 + }, + { + "op": "matmul", + "shape": [ + 1, + 175, + 1809, + 1, + 1 + ], + "rc": 0, + "gate_viol": 0, + "gate_ratio": 0.000344465895679186, + "exact_viol": 0, + "exact_ratio": 0.00033960594146567174 + } + ], + "health_before": "{\"busy\":false,\"concurrency\":8,\"engine\":\"omega-qwen36-batch\",\"in_flight\":0,\"model\":\"qwen3.6-35b-a3b-fp8\",\"status\":\"ok\",\"uptime_s\":18148}", + "utc_start": "2026-10-27T08:59:36Z", + "probe_cudapp139_hmma_bound": { + "rc": 0, + "got": "0x1.0000000000000p+0", + "ref": 1.0000534320715815, + "err": 5.343207158148289e-05, + "old_bound": 2.843293470729258e-05, + "new_bound": 7.203869839242927e-05, + "model_prediction": "0x1.0000000000000p+0", + "info": { + "route": 1, + "core_type": 0, + "core_calls": 1, + "host_fixed": 0 + } + }, + "gemm_chip_witness": { + "ok": true, + "rc_core": 0, + "rc_ex": 0, + "pack_ns": 199681, + "main_ns": 108481, + "call_ns": 603267, + "gpr": [ + 64, + 64, + 120 + ], + "bit_identical": true, + "ex_info": { + "route": 1, + "core_type": 0, + "core_calls": 1, + "host_fixed": 0 + } + }, + "hold_s": 0.8, + "utc_end": "2026-10-27T08:59:37Z", + "health_after": "{\"busy\":false,\"concurrency\":8,\"engine\":\"omega-qwen36-batch\",\"in_flight\":0,\"model\":\"qwen3.6-35b-a3b-fp8\",\"status\":\"ok\",\"uptime_s\":18149}", + "result": "PASS" +} \ No newline at end of file diff --git a/evidence/GPU-b28372d1/gemm.log b/evidence/GPU-b28372d1/gemm.log new file mode 100644 index 0000000..13c2a23 --- /dev/null +++ b/evidence/GPU-b28372d1/gemm.log @@ -0,0 +1,7 @@ +prepared 32 cases on the host in 4.2s +matmul cases= 32 gate_worst=0.388 gate_viol=0 exact_worst=0.854 exact_viol=0 rc_fail=0 chip= sm= +MUTANT matmul:gemm:2 runs=4 killed=4 refused=0 survived=0 +MUTANT matmul:gemm:1 runs=4 killed=4 refused=0 survived=0 +PROBE {"rc": 0, "got": "0x1.0000000000000p+0", "ref": 1.0000534320715815, "err": 5.343207158148289e-05, "old_bound": 2.843293470729258e-05, "new_bound": 7.203869839242927e-05, "model_prediction": "0x1.0000000000000p+0", "info": {"route": 1, "core_type": 0, "core_calls": 1, "host_fixed": 0}} +WITNESS {"ok": true, "rc_core": 0, "rc_ex": 0, "pack_ns": 199681, "main_ns": 108481, "call_ns": 603267, "gpr": [64, 64, 120], "bit_identical": true, "ex_info": {"route": 1, "core_type": 0, "core_calls": 1, "host_fixed": 0}} +RESULT PASS hold=0.8s diff --git a/evidence/HOST-01dc3de2/env.txt b/evidence/HOST-01dc3de2/env.txt new file mode 100644 index 0000000..245a1e5 --- /dev/null +++ b/evidence/HOST-01dc3de2/env.txt @@ -0,0 +1,4 @@ +python 3.12.3 torch 2.14.1+cpu +01dc3de25328d226faa82d2e1ce958ca85a77e8c +14eb6f191e36b35cb10637e48b7ccc29b1654887d429401c7444900892693c26 build/libomega_native.so +e2df31cec77586090d486be066edc187b0fb85aebfe3d44223f3d719d6f71b25 om/dnn.om diff --git a/evidence/HOST-01dc3de2/mutants_20.log b/evidence/HOST-01dc3de2/mutants_20.log new file mode 100644 index 0000000..4ef0f35 --- /dev/null +++ b/evidence/HOST-01dc3de2/mutants_20.log @@ -0,0 +1,16 @@ +KILLED silu sign: silu swiglu fused_mm_bias_swiglu +KILLED rms mean divides by n-1: rms_norm +KILLED gelu tanh cubic coefficient: gelu_tanh +KILLED layernorm drops eps: layer_norm +KILLED softmax without max subtraction: softmax_large +KILLED rope second half sign: rope rope_interleaved +KILLED causal mask excludes the diagonal: attention +KILLED GQA head mapping: attention +KILLED paged decode ignores sequence length: paged_decode +KILLED conv bias channel: conv2d_algo0 +KILLED im2col block column offset: conv2d_algo1 +KILLED maxpool starts at zero: maxpool +KILLED avgpool count_include_pad area: avgpool +KILLED fusion never virtualises: fused_mm_bias_swiglu fusion_passes +MUTANTS total=14 survived=0 +rc=0 diff --git a/evidence/HOST-01dc3de2/negctl_half.log b/evidence/HOST-01dc3de2/negctl_half.log new file mode 100644 index 0000000..4058fd8 --- /dev/null +++ b/evidence/HOST-01dc3de2/negctl_half.log @@ -0,0 +1,26 @@ +rms_norm cases= 50 worst_err/tol=1.990 violations=8229 +layer_norm cases= 50 worst_err/tol=1.974 violations=8030 +softmax cases= 50 worst_err/tol=1.983 violations=4570 +softmax_large cases= 50 worst_err/tol=1.002 violations=1 +silu cases= 50 worst_err/tol=1.998 violations=31198 +gelu_erf cases= 50 worst_err/tol=1.989 violations=25206 +gelu_tanh cases= 50 worst_err/tol=1.991 violations=24609 +relu cases= 50 worst_err/tol=0.000 violations=0 +swiglu cases= 50 worst_err/tol=1.998 violations=30295 +add cases= 50 worst_err/tol=2.000 violations=28741 +mul cases= 50 worst_err/tol=1.993 violations=30565 +bias cases= 50 worst_err/tol=2.000 violations=3737 +rope cases= 50 worst_err/tol=1.978 violations=5588 +rope_interleaved cases= 50 worst_err/tol=1.976 violations=5496 +matmul cases= 50 worst_err/tol=1.989 violations=4081 +attention cases= 50 worst_err/tol=1.996 violations=40981 +paged_decode cases= 50 worst_err/tol=1.996 violations=3216 +conv2d_algo0 cases= 50 worst_err/tol=1.993 violations=6596 +conv2d_algo1 cases= 50 worst_err/tol=1.993 violations=6596 +maxpool cases= 50 worst_err/tol=0.000 violations=0 +avgpool cases= 50 worst_err/tol=2.000 violations=2697 +global_avgpool cases= 50 worst_err/tol=1.804 violations=70 +fused_mm_bias_swiglu cases= 50 worst_err/tol=1.994 violations=1334 +fusion_passes cases= 50 worst_err/tol=0.000 violations=0 +TOTAL ops=24 violations=271836 +rc=1 diff --git a/evidence/HOST-01dc3de2/test_ops_200_7.log b/evidence/HOST-01dc3de2/test_ops_200_7.log new file mode 100644 index 0000000..2170add --- /dev/null +++ b/evidence/HOST-01dc3de2/test_ops_200_7.log @@ -0,0 +1,26 @@ +rms_norm cases= 200 worst_err/tol=0.999 violations=0 +layer_norm cases= 200 worst_err/tol=0.995 violations=0 +softmax cases= 200 worst_err/tol=0.993 violations=0 +softmax_large cases= 200 worst_err/tol=0.699 violations=0 +silu cases= 200 worst_err/tol=1.000 violations=0 +gelu_erf cases= 200 worst_err/tol=0.998 violations=0 +gelu_tanh cases= 200 worst_err/tol=0.998 violations=0 +relu cases= 200 worst_err/tol=0.000 violations=0 +swiglu cases= 200 worst_err/tol=0.998 violations=0 +add cases= 200 worst_err/tol=1.000 violations=0 +mul cases= 200 worst_err/tol=0.998 violations=0 +bias cases= 200 worst_err/tol=1.000 violations=0 +rope cases= 200 worst_err/tol=0.993 violations=0 +rope_interleaved cases= 200 worst_err/tol=0.998 violations=0 +matmul cases= 200 worst_err/tol=0.993 violations=0 +attention cases= 200 worst_err/tol=1.000 violations=0 +paged_decode cases= 200 worst_err/tol=0.999 violations=0 +conv2d_algo0 cases= 200 worst_err/tol=0.997 violations=0 +conv2d_algo1 cases= 200 worst_err/tol=0.997 violations=0 +maxpool cases= 200 worst_err/tol=0.000 violations=0 +avgpool cases= 200 worst_err/tol=0.999 violations=0 +global_avgpool cases= 200 worst_err/tol=0.970 violations=0 +fused_mm_bias_swiglu cases= 200 worst_err/tol=0.990 violations=0 +fusion_passes cases= 200 worst_err/tol=0.000 violations=0 +TOTAL ops=24 violations=0 +rc=0 diff --git a/evidence/STACK7-GPU-20261026/GPU.md b/evidence/STACK7-GPU-20261026/GPU.md new file mode 100644 index 0000000..1cf6b5d --- /dev/null +++ b/evidence/STACK7-GPU-20261026/GPU.md @@ -0,0 +1,301 @@ +# OmegaDnn GB10 GPU rows: Omega-emitted DNN kernels vs PyTorch CUDA / cuDNN + +Lane OmegaDnn.GpuDnn. Machine: DGX Spark, NVIDIA GB10 (sm_121), driver 580.173.02. +Omega source: aien-dev/omega-mv `e5b32567a` (worktree /tmp/OmegaDnn/gpu/omega-mv), physics at the +`physics.lock` pin `048e5f5e8` (worktree /tmp/OmegaDnn/gpu/physics). +Baseline: /home/drakestapleton/.venv (read-only): torch 2.14.0+cu130, CUDA 13.0, cuDNN 92400 (9.24.0), numpy 2.5.3. + +**Status of the kernels under test: INTERIM.** Every Omega GPU kernel below is emitted as SASS by C code in +omega-mv (`src/omega_gpu_*_api.c` IR builders and `src/omega_blackwell_codegen_*.c`). That is C codegen, not +`.om`. It is the code the engine runs today, measured as it stands. + +Evidence label for any chip row here: QUALIFIED-on-GB10 candidate (one machine, one driver). It is not +QUALIFIED in general. + +## 1. Inventory + +| Op | Omega kernel emitter (omega-mv e5b32567a) | Host API | Test program (Makefile target) | Measured here | +|---|---|---|---|---| +| RMSNorm f32 | IR built in `src/omega_gpu_elementwise_api.c`, lowered by `src/omega_blackwell_codegen.c` | `omega_gpu_rmsnorm_f32` (`src/omega_gpu_elementwise_api.h`) | `tests/gpu_elementwise_test.c` → `build/gpu_elementwise_test` | yes | +| RoPE f32 (rotate-half) | same file | `omega_gpu_rope_f32` | same | yes | +| SwiGLU f32 | same file | `omega_gpu_swiglu_f32` | same | yes | +| GQA attention, f32 KV (decode, 1 query) | IR built in `src/omega_gpu_attention_api.c` | `omega_gpu_gqa_attention_f32` (`src/omega_gpu_attention_api.h`) | `tests/gpu_attention_test.c` → `build/gpu_attention_test` | yes (hd 64, 128) | +| GQA attention, f32 KV, causal prefill rows | same file | `omega_gpu_gqa_attention_rows_f32` | same | yes (hd 128) | +| Paged decode attention, bf16 KV | same file | `omega_gpu_paged_attention_bf16` (+ `_batch_`, resident pool `omega_gpu_attention_pool_alloc`) | same | yes (resident pool, hd 128) | +| Fused decode attention hd128 (qk-norm + RoPE + KV write + attend, 32q/4kv) | `src/omega_blackwell_codegen_attn.c` | `omega_gpu_decode_attn` (`src/omega_gpu_decode_attn_api.h`) | `tests/gpu_decode_attn_test.c` → `build/gpu_decode_attn_test` | inventory only | +| Fused decode attention hd256 (24q/4kv, partial RoPE) | `src/omega_blackwell_codegen_attn256.c` | `omega_gpu_decode_attn256` | `tests/gpu_decode_attn256_test.c` → `build/gpu_decode_attn256_test` | inventory only | +| Prefill attention hd128 (tensor cores) | `src/omega_blackwell_codegen_pattn.c`, `_pf.c`, `_tc.c` | `omega_gpu_prefill_attn` | `tests/gpu_prefill_attn_test.c` → `build/gpu_prefill_attn_test` | inventory only | +| Prefill attention hd256 | `src/omega_blackwell_codegen_pattn256.c`, `_attn256.c`, `_tc.c` | `omega_gpu_prefill_attn256` | `tests/gpu_prefill_attn256_test.c` → `build/gpu_prefill_attn256_test` | inventory only | +| Gated DeltaNet decode step | `src/omega_blackwell_codegen_gdn.c` | `omega_gpu_gdn_step` (`src/omega_gpu_gdn_api.h`) | `tests/gpu_gdn_test.c`, `tests/gpu_gdn_multi_test.c` | inventory only | +| MoE router (one launch) | `src/omega_blackwell_codegen_router.c` | `omega_gpu_router_api.h` | `tests/gpu_router_test.c` → `build/gpu_router_test` | inventory only | +| MoE expert window matmul / FP8 GEMV | `src/omega_blackwell_codegen_moe.c`, `_moe2.c` | `omega_gpu_moe_api.h`, `omega_gpu_fp8_api.h` | `tests/gpu_moe_window_test.c`, `tests/gpu_fp8_api_test.c` | inventory only | + +"Inventory only" means NOT_RUN in this pass. The fused engine kernels take engine state (a KV cache object, norms, +GDN layer weights), so a like-for-like torch baseline needs a separate harness. They are not measured here, and +nothing below makes a claim about them. + +## 2. Protocol (frozen before the first timed run) + +Arms: +- **A, Omega**: `/tmp/OmegaDnn/gpu/bench/omega_dnn_bench` (throwaway driver, `bench/omega_dnn_bench.c`) linked + against `build/libomega_gpu.a` from e5b32567a. Built with the Makefile's CFLAGS plus `-ffp-contract=off`. + Session spin left at the library default (`omega_gpu_session_spin_us() == 0`). +- **B, PyTorch CUDA**: `bench/torch_arm.py` under /home/drakestapleton/.venv. +- Both arms read the same inputs. The Omega driver generates them with a fixed LCG (seed 0x0d1ec0de) and writes + them to disk; the torch arm reads those files. + +Cases (dtype f32 unless noted): + +| Case | Shape | Predeclared baseline (decides the ratio) | Reference-only baselines | +|---|---|---|---| +| rmsnorm_1x2048 | rows 1, dim 2048, eps 1e-5 | `torch_rms_norm` (F.rms_norm) | none | +| rmsnorm_64x2048 | rows 64, dim 2048 | `torch_rms_norm` | none | +| rope_32x128 | 32 heads x hd 128, rotate-half, pos 1234, theta 1e6 | `torch_ops` (mul/sub/cat) | none | +| swiglu_5632 | n 5632 | `torch_silu_mul` (F.silu(g)*u) | none | +| swiglu_131072 | n 131072 | `torch_silu_mul` | none | +| gqa_f32_32q8kv_hd128_ctx2048 | 1 query, 32 q / 8 kv heads, hd 128, ctx 2048 | `sdpa_efficient_f32` | `sdpa_{cudnn,flash,math}_f32` (cudnn/flash expected to refuse f32), `sdpa_{cudnn,flash}_bf16_REFONLY` | +| gqa_f32_32q4kv_hd64_ctx2048 | 1 query, 32 q / 4 kv, hd 64, ctx 2048 | `sdpa_efficient_f32` | same | +| gqa_rows_f32_32q8kv_hd128_m256 | 256 causal rows, base 0, 32 q / 8 kv, hd 128 | `sdpa_efficient_f32` (is_causal) | same | +| paged_bf16_32q8kv_hd128_ctx2048_bs16 | bf16 KV pool, block 16, 128 scattered blocks, 1 seq, 32 q / 8 kv, hd 128, q f32 | `sdpa_cudnn_bf16_pregathered` (cuDNN, KV already contiguous, q rounded to bf16) | `gather+sdpa_cudnn_bf16`, the flash/efficient/math variants, `sdpa_efficient_f32q_f32kv_pregathered` | + +Metrics, per timed call: +- **Primary, device time.** + - Omega: `info.elapsed_ns`, the library's submit-to-completion-marker time for the launch(es). + - Torch: `torch.cuda.Event` elapsed between records placed just before and just after the op, with + device-resident inputs. + - The two mechanisms are not identical. Omega's figure includes channel submit. The event figure includes the + launch gap between the two records. +- **Secondary, host-to-host wall.** + - Omega: `clock_gettime` around the synchronous API call. That covers staging copy-in, launch, marker wait and + copy-out. The f32 GQA paths stage the whole KV every call. The paged path reads the resident pool in place. + - Torch: `perf_counter_ns` around the H2D copy of the per-call inputs (same set Omega stages: the full KV for + f32 GQA, q only for paged), the op, and the D2H copy. + +Design: +- Paired and interleaved. One warm-up round is discarded, then 5 measured rounds. +- In each round both arms run, one process each, in an order drawn from `random.Random(20261026)` and recorded + in `rounds.jsonl`. +- Per process and case: 10 untimed warm-up calls, then 50 timed calls. +- Each arm process takes `/tmp/aien-gb10.lock` for its own lifetime only (`flock -w 900` around the GPU command). +- Both arms run under `taskset -c 8-9`. loadavg is recorded before and after every process. + +Statistics (Wolfram): +- Per case and arm: median and IQR (Q1 to Q3, Wolfram `Quantile` with the default definition) of the 250 pooled + samples. +- Ratio = Omega median / baseline median, on pooled samples. Also reported: the median over the 5 rounds of the + per-round ratio of medians. +- A ratio above 1 means Omega is slower. It is reported as SLOWER with the factor and not softened. +- There is no pass threshold. This is a characterization, not a gate. + +Correctness: +- Every arm's first output is compared with a float64 numpy reference computed from the same input files + (`bench/check.py`). +- Reported: max abs error, and normwise rel = max abs / max|ref|. +- Violations are counted against the omega-mv tolerances: rmsnorm and swiglu 1e-5 rel + 1e-6 abs, rope 1e-6 rel + + 1e-6 abs, attention 2e-4 rel + 2e-5 abs. +- The Omega arm also checks every timed output bitwise against its first output. +- The baseline bf16 rows are reported but not gated. + +Negative control: +- `omega_dnn_bench --mutant` arms the library's TEST-ONLY mutant for each op: RMSNORM (drops the last SHFL step), + ROPE (wrong sign term), SWIGLU (exp(+g)), attention KV_HEAD (reads kv head ^ 1). +- `check.py` must report violations > 0 for every mutated case. +- An input-side control is also run: one q element of the paged case perturbed in the checker's view must be + flagged. + +No re-run selection. A re-run happens only for a documented machine fault, and both runs are then reported. +Machine load is recorded, since the Spark load1 was ~18-20 when this was written. + +Protocol sha256, recorded before the first timed run (`gpu-bench/protocol.sha256`): +- GPU.md sections 1-2: `5f8bdad9…e31ee368` +- omega_dnn_bench.c: `4c2a9360…2378ec` +- torch_arm.py: `65f3ffe9…5ed2fda0` +- check.py: `b9812d70…0ee684ee` +- libomega_gpu.a: `886646bd…6e40b3` + +check.py later gained only the `--perturb-q` flag, which is the input-side control declared above. The driver later +gained only the post-hoc `--spin-us` flag (section 6). Both new hashes are appended to the same file. + +## 3. Runs: commands, dates, lock holds, compute-apps check + +- Date 2026-10-27 UTC. Driver 580.173.02. Window 01:23:44Z to 01:26:45Z. +- Every GPU command ran through `gpu-bench/gpu_run.sh LABEL CMD`, which does four things: + - writes the BOARD START line; + - runs `flock -w 900 /tmp/aien-gb10.lock held.sh CMD` (the lock is held only for CMD); + - writes the BOARD END line; + - runs `nvidia-smi --query-compute-apps=pid --format=csv,noheader`. +- The paired campaign used `run_paired.py`, which takes one flock per arm process. +- Logs are in `gpu-runs/`. Load during the window: load1 19-37 on 20 cores. **Every timing below was measured under load.** + +| UTC end | Command (cwd /tmp/OmegaDnn/gpu/omega-mv) | rc | lock held (s) | compute-apps after | +|---|---|---|---|---| +| 01:23:48 | `./build/gpu_elementwise_test --out …/elementwise.json` | 0 | 0.357 | empty | +| 01:24:05 | `./build/gpu_elementwise_test --timing --out …` | 0 | 0.677 | empty | +| 01:24:06 | `./build/gpu_attention_test --out …` | 0 | 0.994 | empty | +| 01:24:14 | `./build/gpu_attention_test --timing --out …` | 0 | 0.809 | empty | +| 01:24:15 | `./build/gpu_attention_test --hd 128 --out …` | 0 | 1.153 | empty | +| 01:24:21 | `bench/omega_dnn_bench runs/corr/omega` | 0 | 1.167 | empty | +| 01:24:31 | `taskset -c 8-9 ~/.venv/bin/python bench/torch_arm.py runs/corr/omega runs/corr/torch` | 0 | 4.649 | empty | +| 01:24:46 | `bench/omega_dnn_bench runs/mutant/omega --mutant` | 0 | 0.749 | empty | +| 01:25:23 | `python bench/run_paired.py runs/paired 5 1`: 12 arm processes, holds 0.66-3.53 s each (`rounds.jsonl`) | 0 | ≤3.531 per process | empty after every process | +| 01:26:43-45 | `bench/omega_dnn_bench_spin runs/spin/rN --spin-us 5000` (post-hoc, ×3) | 0 | 1.086 / 0.555 / 0.554 | empty | + +The longest single lock hold was 4.65 s, far under the 20 min cap. BOARD has 24 OmegaDnn.GpuDnn lines, a START and an +END for each row; the campaign row has one pair. + +Output excerpts: +``` +gpu_elementwise_test --out: PASS swiglu_131073 n=131073 rc=OK violations=0 … | mutant rc=OK violations=131059 CAUGHT + PASS: 35 checks, 0 failed +gpu_elementwise_test --timing: PASS timing rmsnorm_1x2048 … ok_calls=100/100 violations=0 median_ms=0.105 … chip_us_mean=101.6 + PASS timing swiglu_5632 … median_ms=0.109 … chip_us_mean=101.7 ; PASS: 4 checks, 0 failed +gpu_attention_test --out: mutant Q_ROW: caught 8 of 8 ; mutant OUT_ROW: caught 8 of 8 ; PASS: 219 checks, 0 failed +gpu_attention_test --timing: PASS timing gqa_f32_tinyllama_32q4kv_ctx2048 … median_ms=0.652 p90_ms=1.167 … chip_us_mean=567.0 +gpu_attention_test --hd 128: hd128 dominant token 299 (warp 1 of chunk 2): rc OK, 0 bad, worst 0 ; PASS: 225 checks, 0 failed +torch_arm (f32 cases): sdpa_cudnn_f32 / sdpa_flash_f32: "RuntimeError: No available kernel. Aborting execution." +``` + +## 4. Correctness (first output of each arm vs float64 numpy reference, `gpu-runs/corr/check.jsonl`) + +rel = max abs / max |ref| (normwise). Columns: Omega max abs, Omega rel, Omega violations, then the same three for +the baseline. + +| Case | Omega max abs | Omega rel | Omega viol. | Baseline (arm) | Baseline max abs | Baseline rel | Baseline viol. | +|---|---|---|---|---|---|---|---| +| rmsnorm_1x2048 | 1.73e-7 | 6.86e-8 | 0 | torch_rms_norm | 1.73e-7 | 6.86e-8 | 0 | +| rmsnorm_64x2048 | 3.95e-7 | 1.51e-7 | 0 | torch_rms_norm | 4.44e-7 | 1.70e-7 | 0 | +| rope_32x128 | 9.85e-8 | 7.25e-8 | 0 | torch_ops | 9.85e-8 | 7.25e-8 | 0 | +| swiglu_5632 | 5.54e-7 | 9.73e-8 | 0 | torch_silu_mul | 6.15e-7 | 1.08e-7 | 0 | +| swiglu_131072 | 7.63e-7 | 1.34e-7 | 0 | torch_silu_mul | 6.73e-7 | 1.18e-7 | 0 | +| gqa_f32_32q8kv_hd128_ctx2048 | 1.08e-7 | 1.40e-6 | 0 | sdpa_efficient_f32 | 4.44e-8 | 5.75e-7 | 0 | +| gqa_f32_32q4kv_hd64_ctx2048 | 6.39e-8 | 1.61e-6 | 0 | sdpa_efficient_f32 | 2.54e-8 | 6.40e-7 | 0 | +| gqa_rows_f32_32q8kv_hd128_m256 | 1.44e-7 | 1.44e-7 | 0 | sdpa_efficient_f32 | 2.08e-7 | 2.09e-7 | 0 | +| paged_bf16_32q8kv_hd128_ctx2048_bs16 | 1.67e-8 | 2.11e-7 | 0 | sdpa_cudnn_bf16_pregathered | 2.16e-4 | 2.73e-3 | 1816 (not gated) | + +Notes: +- **Omega has 0 violations and 0 non-finite values on all 9 cases.** In every round of every Omega process, all + timed outputs were bitwise equal to the first output (`timed_outputs_differing_from_first = 0`, 45 of 45 + case-processes). +- The cuDNN bf16 rows round q (and, for the f32 cases, KV) to bf16 and return bf16. Their 2.7e-3 to 6.3e-3 + normwise error is a dtype effect, not a defect. +- Omega's paged path keeps q in f32 and accumulates in f32. +- The f32-q, f32-KV torch control on the same gathered pool (`sdpa_efficient_f32q_f32kv_pregathered`) has max abs + 4.08e-8 and 0 violations. + +## 5. Negative controls (`gpu-runs/mutant/`) + +- `omega_dnn_bench --mutant` (TEST-ONLY library mutants) was checked against the same reference. **Every case was + flagged.** + - rmsnorm_1x2048: 2048 of 2048 violations (max abs 1.05). + - rmsnorm_64x2048: 131072 of 131072. + - rope: 2048 of 4096 (the sin-term half). + - swiglu_5632: 5628 of 5632. + - swiglu_131072: 131004 of 131072. + - gqa hd128: 4089 of 4096. + - gqa hd64: 2046 of 2048. + - rows: 1048265 of 1048576. + - paged: 4088 of 4096. +- Input-side control (`check.py … --perturb-q`, q[0] += 0.5 in the reference only): the correct Omega paged output + was flagged with 121 violations (max abs 9.29e-4). The checker rejects a reference computed from the wrong input. +- The in-tree batteries' own mutants were also caught (excerpts in section 3). + +## 6. Performance (paired, 5 measured rounds × 50 calls = 250 samples per arm per case, `gpu-runs/paired/`) + +Statistics came from Wolfram. Inputs are in `gpu-runs/paired/wolfram/<case>.wl`. Per case the query was +`{st[o], st[t], N[Median[Flatten[o]]/Median[Flatten[t]]], N[Median[MapThread[Median[#1]/Median[#2]&,{o,t}]]], st[ow], st[tw], N[Median[Flatten[ow]]/Median[Flatten[tw]]] (, st[x], N[Median[Flatten[o]]/Median[Flatten[x]]])}` +with `st[x_]:=N[{Median[Flatten[x]],Quantile[Flatten[x],1/4],Quantile[Flatten[x],3/4]}/1000]`. Units are µs. + +All rows are dtype f32 except paged, which has bf16 KV and an f32 q. + +**Primary: device time.** Omega submit→marker (spin 0, the library default) vs torch cudaEvent. + +| Op | Shape | Omega median µs | Omega IQR [Q1, Q3] | Baseline (predeclared) | Baseline median µs | Baseline IQR | Ratio Omega/baseline | Median per-round ratio | Verdict | +|---|---|---|---|---|---|---|---|---|---| +| RMSNorm | 1×2048 | 104.289 | [103.712, 104.801] | F.rms_norm | 10.432 | [10.176, 10.656] | 9.997 | 10.03 | SLOWER 10.0× | +| RMSNorm | 64×2048 | 107.617 | [106.849, 108.593] | F.rms_norm | 10.368 | [10.176, 10.624] | 10.380 | 10.45 | SLOWER 10.4× | +| RoPE | 32×128 | 104.577 | [103.745, 105.729] | torch ops | 35.456 | [35.168, 36.320] | 2.949 | 2.94 | SLOWER 2.9× | +| SwiGLU | 5632 | 104.257 | [103.809, 105.073] | silu·mul | 12.400 | [12.064, 12.896] | 8.408 | 8.43 | SLOWER 8.4× | +| SwiGLU | 131072 | 107.417 | [106.929, 108.417] | silu·mul | 12.224 | [12.000, 12.768] | 8.787 | 8.77 | SLOWER 8.8× | +| GQA decode | 32q/8kv hd128 ctx2048 | 422.412 | [417.475, 498.821] | SDPA mem-efficient f32 | 236.160 | [235.104, 237.312] | 1.789 | 1.80 | SLOWER 1.8× | +| GQA decode | 32q/4kv hd64 ctx2048 | 418.019 | [413.699, 514.212] | SDPA mem-efficient f32 | 171.648 | [170.848, 172.384] | 2.435 | 2.44 | SLOWER 2.4× | +| GQA causal prefill | 256 rows, 32q/8kv hd128 | 1481.469 | [1379.740, 1598.078] | SDPA mem-efficient f32 | 91.040 | [90.496, 91.808] | 16.27 | 16.13 | SLOWER 16.3× | +| Paged decode | bf16 KV bs16 ctx2048, 32q/8kv hd128 | 104.729 | [104.033, 105.537] | cuDNN SDPA bf16 (pre-gathered) | 29.920 | [29.408, 30.720] | 3.500 | 3.49 | SLOWER 3.5× | + +Reference-only rows (they do not decide the verdict): + +| Case | Omega median µs | Other arm | That arm's median µs [IQR] | Omega/that | +|---|---|---|---|---| +| GQA hd128 ctx2048 | 422.412 | cuDNN SDPA bf16 (q, KV rounded to bf16) | 93.968 [89.952, 99.456] | 4.495 | +| GQA hd64 ctx2048 | 418.019 | cuDNN SDPA bf16 | 36.704 [36.160, 37.312] | 11.39 | +| GQA rows m256 | 1481.469 | cuDNN SDPA bf16 | 52.064 [51.296, 52.896] | 28.45 | +| Paged ctx2048 | 104.729 | gather (index_select) + cuDNN SDPA bf16 | 208.672 [201.152, 220.864] | **0.502** | + +The one case where Omega is faster is the reference-only paged comparison. When the torch arm must gather the +scattered pool blocks itself, Omega's resident-pool paged kernel takes half the device time of gather + cuDNN. +Against cuDNN on KV that is already contiguous, Omega is 3.5× slower. + +**Secondary: host-to-host wall** (µs median [IQR]; ratio of medians from the same Wolfram calls): + +| Case | Omega wall | Torch wall (H2D + op + D2H) | Ratio | +|---|---|---|---| +| rmsnorm_1x2048 | 106.801 [106.193, 107.409] | 18.920 [18.336, 19.712] | 5.645 | +| rmsnorm_64x2048 | 210.106 [208.370, 211.970] | 37.776 [37.296, 38.192] | 5.562 | +| rope_32x128 | 108.697 [107.857, 109.921] | 44.481 [43.856, 45.856] | 2.444 | +| swiglu_5632 | 109.649 [109.105, 110.609] | 31.192 [29.824, 32.465] | 3.515 | +| swiglu_131072 | 226.778 [222.386, 230.002] | 56.464 [56.017, 57.168] | 4.016 | +| gqa hd128 ctx2048 | 1211.235 [1136.458, 1305.500] | 554.773 [546.005, 572.277] | 2.183 | +| gqa hd64 ctx2048 | 550.573 [538.804, 651.798] | 267.043 [265.971, 268.322] | 2.062 | +| gqa rows m256 | 2531.270 [2421.349, 2676.775] | 293.419 [288.435, 298.995] | 8.627 | +| paged ctx2048 | 173.554 [171.746, 175.425] | 42.113 [41.088, 43.792] | 4.121 | + +**Diagnosis of the ~104 µs floor.** The small Omega ops sit at about 104 µs whatever their size. This matches the +library's documented marker sleep-poll (`omega_gpu_session.h`: "50 us, which Linux timer slack rounds to about +102 us per launch on GB10, omega#328"). The frozen protocol measured the default. + +**POST-HOC, reference-only, not paired, not part of the verdict:** 3 Omega processes with +`omega_gpu_session_set_spin_us(5000)` (`gpu-runs/spin/`, 150 samples per case). Correctness was identical: 0 +violations, and timed outputs equal to the first. Ratio vs the paired-campaign baseline medians: + +| Case | Omega spin-5000 median µs [IQR] | Omega/baseline | +|---|---|---| +| rmsnorm_1x2048 | 16.688 [16.624, 16.816] | 1.600 | +| rmsnorm_64x2048 | 21.784 [20.833, 23.184] | 2.101 | +| rope_32x128 | 6.528 [6.432, 6.688] | 0.184 | +| swiglu_5632 | 6.376 [6.160, 6.672] | 0.514 | +| swiglu_131072 | 17.160 [15.745, 17.888] | 1.404 | +| gqa hd128 ctx2048 | 404.452 [387.300, 467.956] | 1.713 | +| gqa hd64 ctx2048 | 355.339 [348.755, 379.940] | 2.070 | +| gqa rows m256 | 1095.650 [1047.642, 1193.067] | 12.03 | +| paged ctx2048 | 55.465 [54.801, 56.208] | 1.854 | + +Wolfram query (`wolfram/spin_posthoc.wl`): +`st[x_]:=N[{Median[x],Quantile[x,1/4],Quantile[x,3/4]}/1000]; {…{"case", st[spin samples], N[Median[spin]/Median[baseline]]}…}` + +Caveats: +- The spin figure still comes from a different timer mechanism than cudaEvent. +- The torch RoPE baseline is 3 to 5 unfused ops, so it is not a like-for-like fused kernel. +- The attention gap (1.7 to 12×) persists with spin. It is kernel time, not polling. + +## 7. Verdict + +- Correctness: Omega matches the float64 reference on all 9 cases with 0 violations, timed outputs are + deterministic, and the negative controls caught every mutant and the perturbed input. +- Speed, as shipped (spin 0): Omega is slower than the PyTorch/cuDNN baseline on all 9 predeclared cases, from + 1.8× (GQA decode hd128) to 16.3× (causal prefill rows). +- The only win is reference-only: 0.50× device time vs gather + cuDNN on a scattered paged pool. + +Evidence level: QUALIFIED-on-GB10 candidate (single machine, driver 580.173.02, 2026-10-27, under load1 19-37). It +is not QUALIFIED in general. Every kernel is INTERIM C codegen emitting SASS, not `.om`. + +## 8. NOT_RUN + +- Perf and torch comparison for fused decode attention hd128/hd256, prefill attention hd128/hd256 (tensor core), + GDN decode step, MoE router and MoE window/FP8. They are inventory only: no matching torch harness exists yet. +- OmegaTile tsoftmax (omega-mv PR #869): not attempted (optional item). +- cuDNN on the f32 cases: torch refused with "No available kernel"; the cuDNN SDPA path has no f32 kernel. + +Reproduce: from /tmp/OmegaDnn/gpu/omega-mv, +`nice -n 19 taskset -c 8-9 make -j2 PHYSICS_DIR=/tmp/OmegaDnn/gpu/physics build/gpu_elementwise_test build/gpu_attention_test`. +Then compile the driver (P=/tmp/OmegaDnn/gpu/physics, N=$P/third_party/nvidia-open-580.173.02) and run the rows in +section 3: +`nice -n 19 taskset -c 8-9 cc -std=gnu11 -Wall -Wextra -Werror -D_GNU_SOURCE -O2 -Isrc -I$P/m16 -I$P/nvrm -I$N/src/common/sdk/nvidia/inc -I$N/kernel-open/common/inc -I$N/kernel-open/nvidia-uvm -I$N/src/nvidia/arch/nvalloc/unix/include -ffp-contract=off -o omega_dnn_bench ~/handoffs/OmegaDnn/gpu-bench/omega_dnn_bench.c build/libomega_gpu.a -lpthread -lm` diff --git a/evidence/STACK7-GPU-20261026/gpu-bench/check.py b/evidence/STACK7-GPU-20261026/gpu-bench/check.py new file mode 100644 index 0000000..aa0b928 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-bench/check.py @@ -0,0 +1,60 @@ +# THROWAWAY measurement checker (lane OmegaDnn.GpuDnn, 2026-10-26), not product code. +# float64 numpy reference from the input files the Omega driver wrote; compares every saved output. +# Usage: python check.py INDIR OMEGA_OUTDIR TORCH_OUTDIR > errors.jsonl +# Per (case, arm): max_abs = max|got-ref|; max_rel = max_abs / max|ref| (normwise); +# violations = count(|got-ref| > rtol*|ref| + atol), tolerances from omega-mv tests (gpu_elementwise_test.c, +# gpu_attention_test.c header comments). The gate applies to the Omega arm; baseline errors are reported. +import glob, json, os, sys +import numpy as np + +indir, odir, tdir = sys.argv[1], sys.argv[2], sys.argv[3] +def f32(c, w): return np.fromfile(f"{indir}/{c}.{w}.bin", dtype=np.float32).astype(np.float64) + +def attn(q, k, v, nkv, causal_base=None): + # q [rows][nq][hd], k/v [ctx][nkv][hd] + rows, nq, hd = q.shape; ratio = nq // nkv; out = np.empty_like(q) + for h in range(nq): + kh, vh = k[:, h // ratio, :], v[:, h // ratio, :] + s = q[:, h, :] @ kh.T / np.sqrt(hd) + if causal_base is not None: + mask = np.arange(k.shape[0])[None, :] > (causal_base + np.arange(rows))[:, None] + s = np.where(mask, -np.inf, s) + s = np.exp(s - s.max(axis=1, keepdims=True)); s /= s.sum(axis=1, keepdims=True) + out[:, h, :] = s @ vh + return out + +REF, TOL = {}, {} +for rows in (1, 64): + c = f"rmsnorm_{rows}x2048"; x = f32(c, "x").reshape(rows, 2048); w = f32(c, "w") + REF[c] = (x / np.sqrt((x * x).mean(axis=1, keepdims=True) + np.float64(np.float32(1e-5))) * w).ravel(); TOL[c] = (1e-5, 1e-6) +c = "rope_32x128"; x = f32(c, "x").reshape(32, 128); cs, sn = f32(c, "cos"), f32(c, "sin") +REF[c] = np.concatenate((x[:, :64] * cs - x[:, 64:] * sn, x[:, :64] * sn + x[:, 64:] * cs), axis=1).ravel(); TOL[c] = (1e-6, 1e-6) +for n in (5632, 131072): + c = f"swiglu_{n}"; g, u = f32(c, "gate"), f32(c, "up") + REF[c] = g / (1.0 + np.exp(-g)) * u; TOL[c] = (1e-5, 1e-6) +for c, nq, nkv, hd, ctx in (("gqa_f32_32q8kv_hd128_ctx2048", 32, 8, 128, 2048), ("gqa_f32_32q4kv_hd64_ctx2048", 32, 4, 64, 2048)): + REF[c] = attn(f32(c, "q").reshape(1, nq, hd), f32(c, "k").reshape(ctx, nkv, hd), f32(c, "v").reshape(ctx, nkv, hd), nkv).ravel(); TOL[c] = (2e-4, 2e-5) +c = "gqa_rows_f32_32q8kv_hd128_m256" +REF[c] = attn(f32(c, "q").reshape(256, 32, 128), f32(c, "k").reshape(256, 8, 128), f32(c, "v").reshape(256, 8, 128), 8, causal_base=0).ravel(); TOL[c] = (2e-4, 2e-5) +c = "paged_bf16_32q8kv_hd128_ctx2048_bs16" +raw = np.fromfile(f"{indir}/{c}.pool.bin", dtype=np.uint16).astype(np.uint32) << 16 +pool = raw.view(np.float32).astype(np.float64).reshape(128, 2, 16, 8, 128) +ids = np.fromfile(f"{indir}/{c}.ids.bin", dtype=np.uint32) +g = pool[ids]; k = g[:, 0].reshape(2048, 8, 128); v = g[:, 1].reshape(2048, 8, 128) +qp = f32(c, "q") +if "--perturb-q" in sys.argv: qp[0] += 0.5 # input-side negative control: reference from a wrong q; omega output must be flagged +REF[c] = attn(qp.reshape(1, 32, 128), k, v, 8).ravel(); TOL[c] = (2e-4, 2e-5) + +def report(case, arm, got): + ref = REF[case]; rt, at = TOL[case] + if got.size != ref.size: + print(json.dumps({"case": case, "arm": arm, "error": f"size {got.size} != {ref.size}"})); return + d = np.abs(got.astype(np.float64) - ref) + print(json.dumps({"case": case, "arm": arm, "n": int(ref.size), "max_abs": float(d.max()), "max_rel": float(d.max() / np.abs(ref).max()), + "rtol": rt, "atol": at, "violations": int((d > rt * np.abs(ref) + at).sum()), "nonfinite": int((~np.isfinite(got)).sum())})) + +for case in REF: + p = f"{odir}/{case}.out.bin" + if os.path.exists(p): report(case, "omega", np.fromfile(p, dtype=np.float32)) + for t in sorted(glob.glob(f"{tdir}/{case}.*.out.npy")): + report(case, os.path.basename(t)[len(case) + 1:-len(".out.npy")], np.load(t).ravel()) diff --git a/evidence/STACK7-GPU-20261026/gpu-bench/gpu_run.sh b/evidence/STACK7-GPU-20261026/gpu-bench/gpu_run.sh new file mode 100755 index 0000000..9002a0d --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-bench/gpu_run.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# gpu_run.sh LABEL CMD...: BOARD start line, flock around CMD only, BOARD end line, compute-apps check. +# Output of CMD goes to stdout; summary line to stderr. +B=/home/drakestapleton/handoffs/BOARD.md +label=$1; shift +echo "$(date -u +%FT%TZ) OmegaDnn.GpuDnn: START $label 0 running (lock /tmp/aien-gb10.lock, driver 580.173.02)" >> $B +t0=$(date +%s) +flock -w 900 /tmp/aien-gb10.lock /tmp/OmegaDnn/gpu/bench/held.sh "$@" 2>/tmp/OmegaDnn/gpu/.held.$$; rc=$? +cat /tmp/OmegaDnn/gpu/.held.$$ >&2 +held=$(grep '^LOCK_HELD_S' /tmp/OmegaDnn/gpu/.held.$$ | tail -1 | cut -d' ' -f2); rm -f /tmp/OmegaDnn/gpu/.held.$$ +apps=$(nvidia-smi --query-compute-apps=pid --format=csv,noheader) +napps=$(printf '%s' "$apps" | grep -c .) +echo "$(date -u +%FT%TZ) OmegaDnn.GpuDnn: END $label lock_held_s=$held rc=$rc compute_apps_rows=$napps" >> $B +echo "GPU_RUN $label rc=$rc lock_held_s=$held compute_apps_rows=$napps apps=[$apps] date=$(date -u +%FT%TZ) load=$(cut -d' ' -f1-3 /proc/loadavg)" >&2 +exit $rc diff --git a/evidence/STACK7-GPU-20261026/gpu-bench/held.sh b/evidence/STACK7-GPU-20261026/gpu-bench/held.sh new file mode 100755 index 0000000..d6109d3 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-bench/held.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# Runs under flock: reports how long the lock was held (acquire to command exit) on stderr. +t0=$(date +%s.%N) +"$@"; rc=$? +t1=$(date +%s.%N) +echo "LOCK_HELD_S $(echo "$t1 - $t0" | bc)" >&2 +exit $rc diff --git a/evidence/STACK7-GPU-20261026/gpu-bench/omega_dnn_bench.c b/evidence/STACK7-GPU-20261026/gpu-bench/omega_dnn_bench.c new file mode 100644 index 0000000..28c7264 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-bench/omega_dnn_bench.c @@ -0,0 +1,159 @@ +/* SPDX-License-Identifier: Apache-2.0 + * omega_dnn_bench: THROWAWAY measurement driver (lane OmegaDnn.GpuDnn, 2026-10-26), not product code. + * Links omega-mv e5b32567a build/libomega_gpu.a (INTERIM: C codegen emitting SASS, not .om). + * Usage: omega_dnn_bench OUTDIR [--mutant] [--warm 10] [--reps 50] + * For every predeclared case: generate inputs with a fixed LCG, write inputs + first output to OUTDIR, + * run `warm` untimed calls then `reps` timed calls; per timed call record the API wall time (clock_gettime + * around the synchronous call: staging, launch, marker wait, copy-out) and info.elapsed_ns (submit to + * completion marker). Every timed output is compared bitwise with the first output. One JSON line per case. + * --mutant: arm the library's TEST-ONLY mutant kernel for each op (negative control), one call, no timing. */ +#include "omega_gpu_elementwise_api.h" +#include "omega_gpu_attention_api.h" +#include "omega_gpu_session.h" +#include <math.h> +#include <stdint.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <time.h> + +static uint32_t lcg(uint32_t *s) { *s = *s * 1664525u + 1013904223u; return *s; } +static float frand(uint32_t *s, float lo, float hi) { return lo + (hi - lo) * ((float)(lcg(s) >> 8) / 16777216.0f); } +static uint16_t f2bf(float f) { uint32_t u; memcpy(&u, &f, 4); uint32_t r = ((u >> 16) & 1u) + 0x7fffu; return (uint16_t)((u + r) >> 16); } +static uint64_t now_ns(void) { struct timespec t; clock_gettime(CLOCK_MONOTONIC, &t); return (uint64_t)t.tv_sec * 1000000000ull + (uint64_t)t.tv_nsec; } + +static const char *g_dir; +static void dump(const char *cs, const char *what, const void *p, size_t bytes) { + char path[512]; snprintf(path, sizeof path, "%s/%s.%s.bin", g_dir, cs, what); + FILE *f = fopen(path, "wb"); if (!f || fwrite(p, 1, bytes, f) != bytes) { fprintf(stderr, "write %s failed\n", path); exit(3); } fclose(f); +} + +typedef struct { + int kind; /* 0 rmsnorm 1 rope 2 swiglu 3 gqa 4 rows 5 paged */ + uint32_t a, b, c, d, e; /* shape words, meaning per kind */ + float *x, *w, *y; void *pool; uint32_t *ids; size_t out_n; +} Case; + +static int call(Case *k, float *out, uint64_t *chip_ns) { + int rc; + if (k->kind <= 2) { + OmegaGpuEwInfo info; memset(&info, 0, sizeof info); + if (k->kind == 0) rc = omega_gpu_rmsnorm_f32(k->a, k->b, k->x, k->w, 1e-5f, out, &info); + else if (k->kind == 1) rc = omega_gpu_rope_f32(k->a, k->b, k->x, k->w, k->y, out, &info); + else rc = omega_gpu_swiglu_f32(k->a, k->x, k->w, out, &info); + *chip_ns = info.elapsed_ns; return rc; + } + OmegaGpuAttnInfo info; memset(&info, 0, sizeof info); + if (k->kind == 3) rc = omega_gpu_gqa_attention_f32(k->x, k->w, k->y, k->d, k->a, k->b, k->c, out, &info); + else if (k->kind == 4) rc = omega_gpu_gqa_attention_rows_f32(k->x, k->w, k->y, 0, k->d, k->a, k->b, k->c, out, &info); + else { + /* resident pool: block_size e, one layer */ + OmegaGpuKvLayout ly; uint32_t hd = k->c, nkv = k->b, bs = k->e, nblk = (k->d + bs - 1) / bs; + ly.head_stride_bytes = (uint64_t)hd * 2; ly.token_stride_bytes = ly.head_stride_bytes * nkv; + ly.kv_plane_stride_bytes = ly.token_stride_bytes * bs; ly.layer_stride_bytes = 2 * ly.kv_plane_stride_bytes; + ly.block_stride_bytes = ly.layer_stride_bytes; ly.pool_bytes = ly.block_stride_bytes * nblk; + ly.num_blocks = nblk; ly.num_layers = 1; ly.block_size = bs; + rc = omega_gpu_paged_attention_bf16(k->x, k->pool, &ly, k->ids, nblk, k->d, 0, k->a, k->b, hd, out, &info); + if (rc == 0 && info.kv_source != OMEGA_GPU_ATTN_KV_RESIDENT) { fprintf(stderr, "paged call did not take the resident path\n"); return -99; } + } + *chip_ns = info.elapsed_ns; return rc; +} + +int main(int argc, char **argv) { + if (argc < 2) { fprintf(stderr, "usage: %s OUTDIR [--mutant] [--warm N] [--reps N]\n", argv[0]); return 2; } + g_dir = argv[1]; int mutant = 0, warm = 10, reps = 50; + for (int i = 2; i < argc; i++) { + if (!strcmp(argv[i], "--mutant")) mutant = 1; + else if (!strcmp(argv[i], "--warm") && i + 1 < argc) warm = atoi(argv[++i]); + else if (!strcmp(argv[i], "--reps") && i + 1 < argc) reps = atoi(argv[++i]); + /* POST-HOC reference-only arm (not in the frozen protocol): marker-poll spin window, omega#328 */ + else if (!strcmp(argv[i], "--spin-us") && i + 1 < argc) { + if (omega_gpu_session_set_spin_us((uint32_t)atoi(argv[++i])) != 0) { fprintf(stderr, "spin_us refused\n"); return 2; } + } + } + if (mutant) { warm = 0; reps = 0; } + /* predeclared cases (GPU.md section 2); names are parsed by the Python side */ + static const struct { const char *name; int kind; uint32_t a, b, c, d, e; } C[] = { + { "rmsnorm_1x2048", 0, 1, 2048, 0, 0, 0 }, + { "rmsnorm_64x2048", 0, 64, 2048, 0, 0, 0 }, + { "rope_32x128", 1, 32, 128, 0, 0, 0 }, + { "swiglu_5632", 2, 5632, 0, 0, 0, 0 }, + { "swiglu_131072", 2, 131072, 0, 0, 0, 0 }, + { "gqa_f32_32q8kv_hd128_ctx2048", 3, 32, 8, 128, 2048, 0 }, + { "gqa_f32_32q4kv_hd64_ctx2048", 3, 32, 4, 64, 2048, 0 }, + { "gqa_rows_f32_32q8kv_hd128_m256", 4, 32, 8, 128, 256, 0 }, + { "paged_bf16_32q8kv_hd128_ctx2048_bs16", 5, 32, 8, 128, 2048, 16 }, + }; + uint32_t seed = 0x0d1ec0deu; + for (size_t ci = 0; ci < sizeof C / sizeof C[0]; ci++) { + Case k; memset(&k, 0, sizeof k); + k.kind = C[ci].kind; k.a = C[ci].a; k.b = C[ci].b; k.c = C[ci].c; k.d = C[ci].d; k.e = C[ci].e; + const char *cs = C[ci].name; + if (k.kind == 0) { + size_t n = (size_t)k.a * k.b; k.out_n = n; + k.x = malloc(n * 4); k.w = malloc(k.b * 4); + for (size_t i = 0; i < n; i++) k.x[i] = frand(&seed, -3.0f, 3.0f); + for (size_t i = 0; i < k.b; i++) k.w[i] = frand(&seed, 0.5f, 1.5f); + dump(cs, "x", k.x, n * 4); dump(cs, "w", k.w, k.b * 4); + } else if (k.kind == 1) { + size_t n = (size_t)k.a * k.b, half = k.b / 2; k.out_n = n; + k.x = malloc(n * 4); k.w = malloc(half * 4); k.y = malloc(half * 4); + for (size_t i = 0; i < n; i++) k.x[i] = frand(&seed, -1.0f, 1.0f); + for (size_t i = 0; i < half; i++) { double rot = 1234.0 / pow(1e6, (double)(2 * i) / (double)k.b); k.w[i] = (float)cos(rot); k.y[i] = (float)sin(rot); } + dump(cs, "x", k.x, n * 4); dump(cs, "cos", k.w, half * 4); dump(cs, "sin", k.y, half * 4); + } else if (k.kind == 2) { + size_t n = k.a; k.out_n = n; + k.x = malloc(n * 4); k.w = malloc(n * 4); + for (size_t i = 0; i < n; i++) { k.x[i] = frand(&seed, -3.0f, 3.0f); k.w[i] = frand(&seed, -2.0f, 2.0f); } + dump(cs, "gate", k.x, n * 4); dump(cs, "up", k.w, n * 4); + } else if (k.kind == 3 || k.kind == 4) { + size_t rows = k.kind == 3 ? 1 : k.d, ctx = k.d; + size_t nq = rows * k.a * k.c, nkv = ctx * k.b * k.c; k.out_n = nq; + k.x = malloc(nq * 4); k.w = malloc(nkv * 4); k.y = malloc(nkv * 4); + for (size_t i = 0; i < nq; i++) k.x[i] = frand(&seed, -1.0f, 1.0f); + for (size_t i = 0; i < nkv; i++) { k.w[i] = frand(&seed, -1.0f, 1.0f); k.y[i] = frand(&seed, -1.0f, 1.0f); } + dump(cs, "q", k.x, nq * 4); dump(cs, "k", k.w, nkv * 4); dump(cs, "v", k.y, nkv * 4); + } else { + uint32_t bs = k.e, nblk = (k.d + bs - 1) / bs; size_t nq = (size_t)k.a * k.c; k.out_n = nq; + size_t pool_bytes = (size_t)nblk * 2 * bs * k.b * k.c * 2; + if (omega_gpu_attention_pool_alloc(pool_bytes, &k.pool) != 0) { fprintf(stderr, "pool_alloc failed: %s\n", omega_gpu_attention_last_error()); return 4; } + uint16_t *pw = k.pool; + for (size_t i = 0; i < pool_bytes / 2; i++) pw[i] = f2bf(frand(&seed, -1.0f, 1.0f)); + k.ids = malloc(nblk * 4); + for (uint32_t b = 0; b < nblk; b++) k.ids[b] = (b * 37u + 5u) % nblk; /* scattered, a permutation (37 odd, nblk power of two) */ + k.x = malloc(nq * 4); + for (size_t i = 0; i < nq; i++) k.x[i] = frand(&seed, -1.0f, 1.0f); + dump(cs, "q", k.x, nq * 4); dump(cs, "pool", k.pool, pool_bytes); dump(cs, "ids", k.ids, nblk * 4); + } + if (mutant) { + if (k.kind == 0) omega_gpu_elementwise_test_set_mutant(OMEGA_GPU_EW_RMSNORM); + else if (k.kind == 1) omega_gpu_elementwise_test_set_mutant(OMEGA_GPU_EW_ROPE); + else if (k.kind == 2) omega_gpu_elementwise_test_set_mutant(OMEGA_GPU_EW_SWIGLU); + else omega_gpu_attention_test_set_mutant(OMEGA_GPU_ATTN_MUTANT_KV_HEAD); + } + float *first = malloc(k.out_n * 4), *got = malloc(k.out_n * 4); + uint64_t chip; uint64_t t0 = now_ns(); + int rc = call(&k, first, &chip); + uint64_t first_ns = now_ns() - t0; + if (mutant) { omega_gpu_elementwise_test_set_mutant(0); omega_gpu_attention_test_set_mutant(OMEGA_GPU_ATTN_MUTANT_NONE); } + dump(cs, "out", first, k.out_n * 4); + int bad_rc = rc != 0, diff = 0; + for (int i = 0; i < warm && !bad_rc; i++) { if (call(&k, got, &chip) != 0) bad_rc = 1; } + uint64_t *wall = calloc((size_t)reps + 1, 8), *chp = calloc((size_t)reps + 1, 8); + for (int i = 0; i < reps && !bad_rc; i++) { + uint64_t s = now_ns(); int r = call(&k, got, &chp[i]); wall[i] = now_ns() - s; + if (r != 0) bad_rc = 1; + if (memcmp(got, first, k.out_n * 4) != 0) diff++; + } + printf("{\"case\":\"%s\",\"rc\":%d,\"mutant\":%d,\"first_call_ns\":%llu,\"warm\":%d,\"reps\":%d,\"timed_outputs_differing_from_first\":%d,\"wall_ns\":[", + cs, rc, mutant, (unsigned long long)first_ns, warm, reps, diff); + for (int i = 0; i < reps; i++) printf("%s%llu", i ? "," : "", (unsigned long long)wall[i]); + printf("],\"chip_ns\":["); + for (int i = 0; i < reps; i++) printf("%s%llu", i ? "," : "", (unsigned long long)chp[i]); + printf("]}\n"); fflush(stdout); + if (rc != 0) fprintf(stderr, "%s rc=%d err=%s\n", cs, rc, k.kind <= 2 ? omega_gpu_elementwise_last_error() : omega_gpu_attention_last_error()); + free(first); free(got); free(wall); free(chp); free(k.x); free(k.w); free(k.y); free(k.ids); + if (k.pool) omega_gpu_attention_pool_free(); + } + return 0; +} diff --git a/evidence/STACK7-GPU-20261026/gpu-bench/protocol.sha256 b/evidence/STACK7-GPU-20261026/gpu-bench/protocol.sha256 new file mode 100644 index 0000000..3c72513 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-bench/protocol.sha256 @@ -0,0 +1,13 @@ +5f8bdad9d5995e7a403ddcbc4b169be2b0468fa2e56b59372e6d8e34e31ee368 /home/drakestapleton/handoffs/OmegaDnn/GPU.md +b9812d707c2455e72ab4a3425854bc1cdeef425f3f2d6ffbfb29e4fc0ee684ee /tmp/OmegaDnn/gpu/bench/check.py +0e0df1c63cbe860d56de1a5a40cc0e46eecc4b852ab678630224452d62f607fa /tmp/OmegaDnn/gpu/bench/run_paired.py +65f3ffe97095a0b233ee39c376a607779c217154f109c880450701491ed2fda0 /tmp/OmegaDnn/gpu/bench/torch_arm.py +4c2a93601c510692ffd9ae45ccc32e9393f30880b7e8890548287eb67d2378ec /tmp/OmegaDnn/gpu/bench/omega_dnn_bench.c +a5b4628670aca36d41cc3c0edadda57db4120177234b8ea2963645e89c5723bd /tmp/OmegaDnn/gpu/bench/gpu_run.sh +f614d82f5f98657c1027715ff975617edafb191fa5f1910d0136db9a390650b8 /tmp/OmegaDnn/gpu/bench/held.sh +72b779f26db037a5a0877dd773dac31cb1ad23e611a7e073b088f50f588493eb /tmp/OmegaDnn/gpu/bench/omega_dnn_bench +886646bd99a319e9c919f1db03d471442d98791784be85e5f223ba346b8e40b3 /tmp/OmegaDnn/gpu/omega-mv/build/libomega_gpu.a +a40a91da23e6770cdc87c22b1ded983d2e6064c728ea7b9bc43c24a4f2e81746 /tmp/OmegaDnn/gpu/omega-mv/build/gpu_elementwise_test +ab7964a4ba5c09abfeb661f0557416d22c9bd892fd8449f9f7e09af7bfb9a68f /tmp/OmegaDnn/gpu/omega-mv/build/gpu_attention_test +90a414cd449f0a2944b9b980667805077b7b15e66daf4b99dadc12eb341bc010 /tmp/OmegaDnn/gpu/bench/omega_dnn_bench.c +bab3464d14857a2d1e895955dae6978f2e6a586c8ff45f88e44c353289b73868 /tmp/OmegaDnn/gpu/bench/omega_dnn_bench_spin diff --git a/evidence/STACK7-GPU-20261026/gpu-bench/run_paired.py b/evidence/STACK7-GPU-20261026/gpu-bench/run_paired.py new file mode 100644 index 0000000..dae2794 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-bench/run_paired.py @@ -0,0 +1,29 @@ +# THROWAWAY paired A/B runner (lane OmegaDnn.GpuDnn, 2026-10-26), not product code. +# Protocol frozen in /home/drakestapleton/handoffs/OmegaDnn/GPU.md section 2 before the first timed run. +# Usage: python run_paired.py RUNDIR [ROUNDS=5] [WARMUP_ROUNDS=1] +# Each round runs both arms, one process each, in an order from random.Random(20261026); every arm process +# holds /tmp/aien-gb10.lock only for its own lifetime (flock around the GPU command alone). After every arm +# process: loadavg and `nvidia-smi --query-compute-apps=pid` are recorded. +import json, os, random, subprocess, sys, time +rundir = sys.argv[1]; rounds = int(sys.argv[2]) if len(sys.argv) > 2 else 5; wr = int(sys.argv[3]) if len(sys.argv) > 3 else 1 +B = "/tmp/OmegaDnn/gpu/bench"; PY = "/home/drakestapleton/.venv/bin/python" +os.makedirs(rundir, exist_ok=True) +rng = random.Random(20261026) +log = open(f"{rundir}/rounds.jsonl", "a") +for r in range(-wr, rounds): + order = ["omega", "torch"]; rng.shuffle(order) + for arm in order: + d = f"{rundir}/r{r}/{arm}"; os.makedirs(d, exist_ok=True) + if arm == "omega": cmd = [f"{B}/omega_dnn_bench", d] + else: cmd = [PY, f"{B}/torch_arm.py", f"{rundir}/inputs", d] + load0 = open("/proc/loadavg").read().split()[:3] + t0 = time.time() + p = subprocess.run(["flock", "-w", "900", "/tmp/aien-gb10.lock", f"{B}/held.sh", "taskset", "-c", "8-9", *cmd], capture_output=True, text=True) + t1 = time.time() + open(f"{d}/stdout.jsonl", "w").write(p.stdout); open(f"{d}/stderr.txt", "w").write(p.stderr) + held = [l for l in p.stderr.splitlines() if l.startswith("LOCK_HELD_S ")] + apps = subprocess.run(["nvidia-smi", "--query-compute-apps=pid", "--format=csv,noheader"], capture_output=True, text=True).stdout.strip() + rec = {"round": r, "arm": arm, "rc": p.returncode, "wall_s": round(t1 - t0, 3), "lock_held_s": held[-1].split()[1] if held else None, + "load_before": load0, "load_after": open("/proc/loadavg").read().split()[:3], "compute_apps_after": apps} + log.write(json.dumps(rec) + "\n"); log.flush(); print(json.dumps(rec), flush=True) + if p.returncode != 0: sys.exit(f"arm {arm} round {r} failed rc={p.returncode}") diff --git a/evidence/STACK7-GPU-20261026/gpu-bench/torch_arm.py b/evidence/STACK7-GPU-20261026/gpu-bench/torch_arm.py new file mode 100644 index 0000000..6016876 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-bench/torch_arm.py @@ -0,0 +1,112 @@ +# THROWAWAY measurement driver (lane OmegaDnn.GpuDnn, 2026-10-26), not product code. +# Baseline arm: PyTorch CUDA (+cuDNN where the op has a cuDNN path) on the same inputs the Omega driver wrote. +# Usage: python torch_arm.py INDIR OUTDIR [--warm 10] [--reps 50] +# Per case and backend: `warm` untimed calls, then `reps` timed calls; each timed call records +# dev_ns = torch.cuda.Event elapsed between records placed right before and after the op (device-resident inputs) +# wall_ns = perf_counter_ns around host->device copy of the per-call inputs, the op, device->host copy (synchronous) +# First output of each backend is saved as OUTDIR/<case>.<backend>.out.npy. One JSON line per (case, backend). +import json, sys, time +import numpy as np +import torch +import torch.nn.functional as F +from torch.nn.attention import sdpa_kernel, SDPBackend + +indir, outdir = sys.argv[1], sys.argv[2] +warm = int(sys.argv[sys.argv.index("--warm") + 1]) if "--warm" in sys.argv else 10 +reps = int(sys.argv[sys.argv.index("--reps") + 1]) if "--reps" in sys.argv else 50 +dev = torch.device("cuda") + +def f32(case, what, shape): + return torch.from_numpy(np.fromfile(f"{indir}/{case}.{what}.bin", dtype=np.float32).reshape(shape)) + +def bf16_pool(case): + raw = np.fromfile(f"{indir}/{case}.pool.bin", dtype=np.uint16) + return torch.from_numpy(raw.astype(np.int32)).to(torch.int32).mul(65536).view(torch.float32) + +def bench(case, backend, host_inputs, fn): + """host_inputs: CPU tensors copied per call for wall_ns; fn(dev_inputs) -> device output.""" + dins = [t.to(dev) for t in host_inputs] + try: + out = fn(dins); torch.cuda.synchronize() + except Exception as e: # backend refused this dtype/shape: record, do not substitute + print(json.dumps({"case": case, "backend": backend, "error": f"{type(e).__name__}: {str(e)[:300]}"}), flush=True) + return + np.save(f"{outdir}/{case}.{backend}.out.npy", out.float().cpu().numpy()) + for _ in range(warm): + fn(dins) + torch.cuda.synchronize() + s, e = torch.cuda.Event(enable_timing=True), torch.cuda.Event(enable_timing=True) + dev_ns, wall_ns = [], [] + for _ in range(reps): + s.record(); fn(dins); e.record(); e.synchronize() + dev_ns.append(int(round(s.elapsed_time(e) * 1e6))) + for _ in range(reps): + t0 = time.perf_counter_ns() + d2 = [t.to(dev) for t in host_inputs] + o = fn(d2).cpu() + wall_ns.append(time.perf_counter_ns() - t0) + print(json.dumps({"case": case, "backend": backend, "warm": warm, "reps": reps, "dev_ns": dev_ns, "wall_ns": wall_ns}), flush=True) + +def sdpa(backend, q, k, v, causal=False): + with sdpa_kernel([backend]): + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) + +BACKENDS = [("cudnn", SDPBackend.CUDNN_ATTENTION), ("flash", SDPBackend.FLASH_ATTENTION), + ("efficient", SDPBackend.EFFICIENT_ATTENTION), ("math", SDPBackend.MATH)] + +for rows, dim in ((1, 2048), (64, 2048)): + c = f"rmsnorm_{rows}x{dim}" + x, w = f32(c, "x", (rows, dim)), f32(c, "w", (dim,)) + wd = w.to(dev) + bench(c, "torch_rms_norm", [x], lambda d: F.rms_norm(d[0], (dim,), wd, 1e-5)) + +c = "rope_32x128" +x, cs, sn = f32(c, "x", (32, 128)), f32(c, "cos", (64,)), f32(c, "sin", (64,)) +csd, snd = cs.to(dev), sn.to(dev) +def rope(d): + x0, x1 = d[0][:, :64], d[0][:, 64:] + return torch.cat((x0 * csd - x1 * snd, x0 * snd + x1 * csd), dim=1) +bench(c, "torch_ops", [x], rope) + +for n in (5632, 131072): + c = f"swiglu_{n}" + g, u = f32(c, "gate", (n,)), f32(c, "up", (n,)) + bench(c, "torch_silu_mul", [g, u], lambda d: F.silu(d[0]) * d[1]) + +for c, nq, nkv, hd, ctx in (("gqa_f32_32q8kv_hd128_ctx2048", 32, 8, 128, 2048), ("gqa_f32_32q4kv_hd64_ctx2048", 32, 4, 64, 2048)): + q = f32(c, "q", (1, nq, 1, hd)) + k = f32(c, "k", (ctx, nkv, hd)).permute(1, 0, 2).unsqueeze(0).contiguous() + v = f32(c, "v", (ctx, nkv, hd)).permute(1, 0, 2).unsqueeze(0).contiguous() + for name, be in BACKENDS: + bench(c, f"sdpa_{name}_f32", [q, k, v], lambda d, be=be: sdpa(be, d[0], d[1], d[2]).reshape(nq, hd)) + for name, be in BACKENDS[:2]: # reference-only: the cuDNN/flash paths need half precision + bench(c, f"sdpa_{name}_bf16_REFONLY", [q, k, v], lambda d, be=be: sdpa(be, d[0].bfloat16(), d[1].bfloat16(), d[2].bfloat16()).reshape(nq, hd)) + +c, nq, nkv, hd, m = "gqa_rows_f32_32q8kv_hd128_m256", 32, 8, 128, 256 +q = f32(c, "q", (m, nq, hd)).permute(1, 0, 2).unsqueeze(0).contiguous() +k = f32(c, "k", (m, nkv, hd)).permute(1, 0, 2).unsqueeze(0).contiguous() +v = f32(c, "v", (m, nkv, hd)).permute(1, 0, 2).unsqueeze(0).contiguous() +for name, be in BACKENDS: + bench(c, f"sdpa_{name}_f32", [q, k, v], lambda d, be=be: sdpa(be, d[0], d[1], d[2], True)[0].permute(1, 0, 2).reshape(m, nq * hd)) +for name, be in BACKENDS[:2]: + bench(c, f"sdpa_{name}_bf16_REFONLY", [q, k, v], lambda d, be=be: sdpa(be, d[0].bfloat16(), d[1].bfloat16(), d[2].bfloat16(), True)[0].permute(1, 0, 2).reshape(m, nq * hd)) + +# paged bf16 KV: pool [blk][plane k/v][slot 16][kv 8][hd 128] (one layer), ids[i] = physical block of logical block i +c, nq, nkv, hd, ctx, bs = "paged_bf16_32q8kv_hd128_ctx2048_bs16", 32, 8, 128, 2048, 16 +nblk = ctx // bs +pool = bf16_pool(c).reshape(nblk, 2, bs, nkv, hd).to(torch.bfloat16) # exact: values are bf16 bit patterns +ids = torch.from_numpy(np.fromfile(f"{indir}/{c}.ids.bin", dtype=np.uint32).astype(np.int64)) +q = f32(c, "q", (1, nq, 1, hd)) +poold, idsd = pool.to(dev), ids.to(dev) +def gather(): + g = poold.index_select(0, idsd) # [nblk][2][bs][nkv][hd] in logical order + kk = g[:, 0].reshape(ctx, nkv, hd).permute(1, 0, 2).unsqueeze(0) + vv = g[:, 1].reshape(ctx, nkv, hd).permute(1, 0, 2).unsqueeze(0) + return kk.contiguous(), vv.contiguous() +kc, vc = gather() +kcf, vcf = kc.float(), vc.float() +for name, be in BACKENDS: + # KV pre-gathered contiguous (gather not timed: favours the baseline); q rounded to bf16 for the bf16 kernels + bench(c, f"sdpa_{name}_bf16_pregathered", [q], lambda d, be=be: sdpa(be, d[0].bfloat16(), kc, vc).reshape(nq, hd)) + bench(c, f"gather+sdpa_{name}_bf16", [q], lambda d, be=be: sdpa(be, d[0].bfloat16(), *gather()).reshape(nq, hd)) +bench(c, "sdpa_efficient_f32q_f32kv_pregathered", [q], lambda d: sdpa(SDPBackend.EFFICIENT_ATTENTION, d[0], kcf, vcf).reshape(nq, hd)) diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/corr/check.jsonl b/evidence/STACK7-GPU-20261026/gpu-runs/corr/check.jsonl new file mode 100644 index 0000000..9cba49a --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/corr/check.jsonl @@ -0,0 +1,35 @@ +{"case": "rmsnorm_1x2048", "arm": "omega", "n": 2048, "max_abs": 1.729619456547482e-07, "max_rel": 6.859906584147514e-08, "rtol": 1e-05, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "rmsnorm_1x2048", "arm": "torch_rms_norm", "n": 2048, "max_abs": 1.729619456547482e-07, "max_rel": 6.859906584147514e-08, "rtol": 1e-05, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "rmsnorm_64x2048", "arm": "omega", "n": 131072, "max_abs": 3.945226589863182e-07, "max_rel": 1.5089006310446218e-07, "rtol": 1e-05, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "rmsnorm_64x2048", "arm": "torch_rms_norm", "n": 131072, "max_abs": 4.4399872045630673e-07, "max_rel": 1.6981279382048352e-07, "rtol": 1e-05, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "rope_32x128", "arm": "omega", "n": 4096, "max_abs": 9.849130577777032e-08, "max_rel": 7.254408033014421e-08, "rtol": 1e-06, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "rope_32x128", "arm": "torch_ops", "n": 4096, "max_abs": 9.849130577777032e-08, "max_rel": 7.254408033014421e-08, "rtol": 1e-06, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "swiglu_5632", "arm": "omega", "n": 5632, "max_abs": 5.538928160575551e-07, "max_rel": 9.728845227442306e-08, "rtol": 1e-05, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "swiglu_5632", "arm": "torch_silu_mul", "n": 5632, "max_abs": 6.14813535193548e-07, "max_rel": 1.0798886633353899e-07, "rtol": 1e-05, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "swiglu_131072", "arm": "omega", "n": 131072, "max_abs": 7.632354259712315e-07, "max_rel": 1.3377214584862993e-07, "rtol": 1e-05, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "swiglu_131072", "arm": "torch_silu_mul", "n": 131072, "max_abs": 6.728901613684002e-07, "max_rel": 1.1793734638579872e-07, "rtol": 1e-05, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "arm": "omega", "n": 4096, "max_abs": 1.0789449723935807e-07, "max_rel": 1.3965545350437207e-06, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "arm": "sdpa_cudnn_bf16_REFONLY", "n": 4096, "max_abs": 0.00028812647273140923, "max_rel": 0.003729424043438775, "rtol": 0.0002, "atol": 2e-05, "violations": 2056, "nonfinite": 0} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "arm": "sdpa_efficient_f32", "n": 4096, "max_abs": 4.440668254640512e-08, "max_rel": 5.747869954743753e-07, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "arm": "sdpa_flash_bf16_REFONLY", "n": 4096, "max_abs": 0.00025985382931921486, "max_rel": 0.0033634712897280803, "rtol": 0.0002, "atol": 2e-05, "violations": 2107, "nonfinite": 0} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "arm": "sdpa_math_f32", "n": 4096, "max_abs": 2.4491879271632683e-08, "max_rel": 3.170156582931349e-07, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "arm": "omega", "n": 2048, "max_abs": 6.390801764871723e-08, "max_rel": 1.6081100389551725e-06, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "arm": "sdpa_cudnn_bf16_REFONLY", "n": 2048, "max_abs": 0.0002513638880028855, "max_rel": 0.006325040372087921, "rtol": 0.0002, "atol": 2e-05, "violations": 1064, "nonfinite": 0} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "arm": "sdpa_efficient_f32", "n": 2048, "max_abs": 2.543746451671991e-08, "max_rel": 6.400799705563132e-07, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "arm": "sdpa_flash_bf16_REFONLY", "n": 2048, "max_abs": 0.00023056329054392533, "max_rel": 0.005801637349733484, "rtol": 0.0002, "atol": 2e-05, "violations": 1109, "nonfinite": 0} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "arm": "sdpa_math_f32", "n": 2048, "max_abs": 1.4727836323766286e-08, "max_rel": 3.7059483795164465e-07, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "arm": "omega", "n": 1048576, "max_abs": 1.44076562402784e-07, "max_rel": 1.4422614233765968e-07, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "arm": "sdpa_cudnn_bf16_REFONLY", "n": 1048576, "max_abs": 0.004535717036397435, "max_rel": 0.004540426006736567, "rtol": 0.0002, "atol": 2e-05, "violations": 892559, "nonfinite": 0} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "arm": "sdpa_efficient_f32", "n": 1048576, "max_abs": 2.0842151204902848e-07, "max_rel": 2.0863789475332863e-07, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "arm": "sdpa_flash_bf16_REFONLY", "n": 1048576, "max_abs": 0.004535717036397435, "max_rel": 0.004540426006736567, "rtol": 0.0002, "atol": 2e-05, "violations": 891987, "nonfinite": 0} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "arm": "sdpa_math_f32", "n": 1048576, "max_abs": 1.4660649361175615e-07, "max_rel": 1.4675870011502829e-07, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "arm": "omega", "n": 4096, "max_abs": 1.6714209134793823e-08, "max_rel": 2.112079648947214e-07, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "arm": "gather+sdpa_cudnn_bf16", "n": 4096, "max_abs": 0.0002159568757498509, "max_rel": 0.002728924346004413, "rtol": 0.0002, "atol": 2e-05, "violations": 1816, "nonfinite": 0} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "arm": "gather+sdpa_efficient_bf16", "n": 4096, "max_abs": 0.0002723243742501491, "max_rel": 0.003441208400155151, "rtol": 0.0002, "atol": 2e-05, "violations": 1869, "nonfinite": 0} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "arm": "gather+sdpa_flash_bf16", "n": 4096, "max_abs": 0.0002159568757498509, "max_rel": 0.002728924346004413, "rtol": 0.0002, "atol": 2e-05, "violations": 1863, "nonfinite": 0} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "arm": "gather+sdpa_math_bf16", "n": 4096, "max_abs": 0.0002159568757498509, "max_rel": 0.002728924346004413, "rtol": 0.0002, "atol": 2e-05, "violations": 825, "nonfinite": 0} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "arm": "sdpa_cudnn_bf16_pregathered", "n": 4096, "max_abs": 0.0002159568757498509, "max_rel": 0.002728924346004413, "rtol": 0.0002, "atol": 2e-05, "violations": 1816, "nonfinite": 0} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "arm": "sdpa_efficient_bf16_pregathered", "n": 4096, "max_abs": 0.0002723243742501491, "max_rel": 0.003441208400155151, "rtol": 0.0002, "atol": 2e-05, "violations": 1869, "nonfinite": 0} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "arm": "sdpa_efficient_f32q_f32kv_pregathered", "n": 4096, "max_abs": 4.07645340955165e-08, "max_rel": 5.151182575711937e-07, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "arm": "sdpa_flash_bf16_pregathered", "n": 4096, "max_abs": 0.0002159568757498509, "max_rel": 0.002728924346004413, "rtol": 0.0002, "atol": 2e-05, "violations": 1863, "nonfinite": 0} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "arm": "sdpa_math_bf16_pregathered", "n": 4096, "max_abs": 0.0002159568757498509, "max_rel": 0.002728924346004413, "rtol": 0.0002, "atol": 2e-05, "violations": 825, "nonfinite": 0} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/corr/omega.jsonl b/evidence/STACK7-GPU-20261026/gpu-runs/corr/omega.jsonl new file mode 100644 index 0000000..dc995bb --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/corr/omega.jsonl @@ -0,0 +1,9 @@ +{"case":"rmsnorm_1x2048","rc":0,"mutant":0,"first_call_ns":137135565,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[105233,104913,105505,105169,105313,105073,104945,105105,105185,105968,105169,105233,100545,105617,105041,103569,113745,106689,105537,105697,105553,106257,105680,105809,105553,206930,109905,105857,105713,105761,105841,105409,105505,105681,105328,105281,105665,105233,106209,105377,107537,106129,105809,105617,105777,105601,105248,106065,106449,105489],"chip_ns":[103041,102705,103281,102993,103009,102801,102673,102913,102944,103744,102769,103025,98241,103297,102865,99937,107313,104337,103169,103473,103089,104033,103392,103649,103105,204034,106577,103537,103457,103393,103697,103105,103185,103312,103056,102897,103473,102913,104017,103089,105377,103777,103377,103233,103537,103361,103024,103777,104081,103249]} +{"case":"rmsnorm_64x2048","rc":0,"mutant":0,"first_call_ns":869976,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[198626,198690,200210,198833,200514,198738,199922,200530,199601,199361,206610,201506,202034,202210,207746,201217,203025,199970,199666,199970,200066,199041,198545,206834,197986,201682,208066,199826,198289,202210,199570,202562,198178,199409,199121,204722,204338,204338,210642,202402,167297,209122,201202,199970,197954,200481,199953,200002,199042,208738],"chip_ns":[104464,104145,105089,104625,104769,104449,104289,104433,104609,104529,103937,104593,104624,105313,104049,104817,103713,104737,104432,104033,103985,104561,103889,104673,103648,104017,104209,104177,104209,104241,104385,104977,103825,104753,104017,104193,103841,103713,104689,104065,66081,104257,103617,104001,103585,104305,103825,104033,103568,103777]} +{"case":"rope_32x128","rc":0,"mutant":0,"first_call_ns":472804,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[107777,106305,106577,106817,106401,106305,106241,106417,106289,106273,107185,78336,106593,106241,106481,106337,106225,106257,106161,106129,107313,106593,107185,106561,106784,106801,106257,106625,106289,106177,79121,106241,106353,106417,106401,106608,106529,106785,106545,106465,107345,106209,106529,106257,106257,106257,106337,106273,106145,79472],"chip_ns":[103569,102561,102513,102881,102641,102561,102481,102641,102449,102513,103329,74560,102721,102561,102817,102561,102433,102417,102417,102481,103041,102721,103057,102449,102448,102576,102433,102593,102385,102449,75265,102609,102449,102513,102449,102416,102449,102497,102705,102529,103377,102433,102609,102465,102433,102433,102401,102481,102385,75776]} +{"case":"swiglu_5632","rc":0,"mutant":0,"first_call_ns":301826,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[107953,107745,107425,107201,107200,107665,107505,107457,107489,107441,107169,107233,107377,107473,59664,107345,107377,108353,107217,107761,108353,107985,107217,107441,107521,107329,107377,107409,107425,107185,108400,107617,107649,72689,112593,107953,107793,107953,107841,107537,109345,108417,108625,107697,107745,107472,109809,107681,107329,107377],"chip_ns":[102641,102481,102529,102417,102416,102496,102577,102593,102577,102577,102417,102497,102449,102449,54704,102545,102609,103409,102433,102689,102593,102609,102513,102465,102561,102577,102673,102449,102561,102497,103568,102801,102449,66721,104945,103041,102833,102657,102833,102433,102705,103457,102545,102641,102721,102608,104801,102705,102513,102561]} +{"case":"swiglu_131072","rc":0,"mutant":0,"first_call_ns":705558,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[214642,213394,182258,213298,209138,208562,209409,212385,210946,211666,211074,212290,212098,210370,216242,217026,213714,211842,211378,210194,213490,213153,211201,210049,210546,213970,215234,213634,213954,241330,214034,212354,211666,212610,215026,213266,212242,223714,184530,213506,211249,211521,210914,218850,220754,216610,220290,186994,219378,217314],"chip_ns":[103777,103713,75280,103937,103649,103617,103809,103665,104081,104049,103825,103585,105201,104288,103809,103841,103681,104545,103873,103457,104017,104465,103857,104081,103649,103569,104353,103745,104049,103649,104129,103441,103809,103681,104080,104144,104209,103601,66145,103873,104369,104177,103649,104257,103905,104433,103809,74193,104673,103905]} +{"case":"gqa_f32_32q8kv_hd128_ctx2048","rc":0,"mutant":0,"first_call_ns":15209300,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[1340619,1168779,1268347,1129801,1336107,1426957,1247099,1174538,1216714,1186635,1032537,1028345,1255435,1073177,1290267,1186235,1198170,1148154,1368940,1138298,1577038,1593950,1300587,1345292,1423180,1302156,1461964,1788496,1867328,1228891,1210699,1298027,1234123,1202602,1110378,1232859,1249051,1251579,1203050,1247755,1196538,1214507,1235787,1099433,1090250,1083305,1197803,1191002,1196139,1239707],"chip_ns":[409347,511765,408820,435683,409955,612054,505125,512149,409331,510357,409060,408388,506805,408291,510164,510613,510980,510148,520836,488500,510341,538389,416884,516309,515348,410900,519188,927608,734230,473956,509989,522437,513077,510708,408804,512501,410644,494741,467940,510821,409939,510980,475140,422307,408308,409363,510661,511540,511893,483253]} +{"case":"gqa_f32_32q4kv_hd64_ctx2048","rc":0,"mutant":0,"first_call_ns":839639,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[516981,527700,527173,623765,651766,538581,536116,594742,638149,629590,630437,633766,634693,529429,645381,518917,555157,480164,521109,482020,549380,628278,645574,631493,526229,686262,680294,535588,544661,546261,639109,646806,541765,528724,544421,537029,539877,536516,554181,687270,645334,619301,556181,641654,694166,553653,552196,663798,639030,556485],"chip_ns":[408404,408595,409572,510228,511077,409012,408723,487285,510692,510357,510212,509973,510868,408660,516868,409876,407988,373827,407972,375108,407603,510756,509061,513188,409412,558533,515829,409427,414500,414004,513972,515188,412532,414419,413043,413556,412260,412707,417124,540517,432308,429284,411044,505909,506661,407491,406691,511748,487636,407348]} +{"case":"gqa_rows_f32_32q8kv_hd128_m256","rc":0,"mutant":0,"first_call_ns":4234533,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[3121707,2986442,3083515,2985802,3031690,2787881,2922394,2939322,2872745,3353694,2775688,2741736,2803481,2735864,2918201,2692200,2512998,2850217,2697576,2636791,2643127,2620599,2680104,2533622,2666584,2639719,2687239,2630295,2561510,2685832,2596551,2608215,2623527,2873865,2674695,2703848,2734088,2694056,2792424,2604471,2642631,2772393,2672375,2682936,2661159,2653511,2576055,2678695,2638087,2704871],"chip_ns":[2025619,1949264,2040786,1927345,1970994,1768207,1863200,1867231,1664957,1938897,1288619,1306556,1282219,1290299,1455596,1279964,1180314,1381724,1268652,1267291,1278908,1225611,1284826,1153499,1283803,1250554,1301836,1281387,1177674,1275370,1235675,1287548,1285532,1486574,1288796,1384669,1327196,1284875,1385594,1275690,1281100,1387324,1284859,1374300,1285772,1257740,1225356,1330747,1233466,1285242]} +{"case":"paged_bf16_32q8kv_hd128_ctx2048_bs16","rc":0,"mutant":0,"first_call_ns":572965,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[271411,274562,270706,168642,277730,274915,280818,277699,272754,276498,174962,176817,172338,273602,171042,170641,275395,169153,169042,273602,168817,285331,170161,170146,271426,277011,272850,169490,271682,168802,2201331,260626,227298,255826,247234,236850,239203,243106,230066,240594,233266,235698,234882,235618,233938,245986,235986,232194,223666,241954],"chip_ns":[204786,204594,205026,103073,204594,204658,204770,206162,204674,204514,103184,102881,103120,204802,103169,103361,204274,102865,103201,204338,103041,204401,102977,103121,204818,204450,204658,103009,204962,103089,2078866,128657,110097,117697,116145,111457,108993,109665,108257,108849,109105,108177,109153,109025,109281,108401,108960,108241,107937,108496]} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/corr/torch.err b/evidence/STACK7-GPU-20261026/gpu-runs/corr/torch.err new file mode 100644 index 0000000..9b26f2f --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/corr/torch.err @@ -0,0 +1,16 @@ +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Memory efficient kernel not used because: (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:1240.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Memory Efficient attention has been runtime disabled. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/sdp_utils_cpp.h:600.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Flash attention kernel not used because: (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:1242.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Flash attention has been runtime disabled. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/sdp_utils_cpp.h:588.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: cuDNN attention kernel not used because: (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:1244.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Expected query, key and value to all be of dtype: {Half, BFloat16}. Got Query dtype: float, Key dtype: float, and Value dtype: float instead. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/sdp_utils_cpp.h:110.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: cuDNN attention has been runtime disabled. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:922.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +LOCK_HELD_S 4.648857781 +GPU_RUN torch_arm correctness rc=0 lock_held_s=4.648857781 compute_apps_rows=0 apps=[] date=2026-10-27T01:24:31Z load=31.66 22.13 17.38 diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/corr/torch.jsonl b/evidence/STACK7-GPU-20261026/gpu-runs/corr/torch.jsonl new file mode 100644 index 0000000..1f72780 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/corr/torch.jsonl @@ -0,0 +1,32 @@ +{"case": "rmsnorm_1x2048", "backend": "torch_rms_norm", "warm": 10, "reps": 50, "dev_ns": [39808, 13632, 11488, 11264, 11360, 11200, 11392, 10560, 10304, 11648, 10496, 10592, 10432, 11744, 10592, 10368, 10272, 9696, 9952, 10560, 11776, 10368, 10400, 10208, 10464, 9888, 10496, 11488, 10528, 10304, 9024, 10112, 10272, 9088, 10112, 10112, 10464, 10976, 10304, 10400, 10560, 10368, 10720, 11136, 10464, 10432, 10496, 10176, 10336, 10624], "wall_ns": [51601, 23008, 20800, 19040, 19441, 19872, 19552, 20592, 20256, 19521, 18624, 19680, 18512, 19360, 18688, 19617, 18064, 19392, 18384, 19056, 19040, 18945, 17824, 18176, 19040, 20320, 18000, 19985, 17744, 18016, 19472, 20512, 18432, 19200, 18225, 19952, 18544, 20208, 18704, 18416, 19217, 18880, 18720, 20512, 18448, 20257, 18784, 18704, 18368, 19520]} +{"case": "rmsnorm_64x2048", "backend": "torch_rms_norm", "warm": 10, "reps": 50, "dev_ns": [11488, 10624, 10688, 10656, 9504, 9376, 10176, 10464, 10112, 10208, 10624, 10240, 10400, 10240, 11328, 10432, 10208, 10144, 11072, 11968, 11072, 11040, 11360, 10560, 10240, 10240, 11200, 10240, 10720, 10368, 10912, 10560, 10144, 11520, 10784, 11488, 10272, 10560, 10304, 10528, 11360, 10368, 10080, 10656, 10624, 10048, 10144, 11072, 10304, 10944], "wall_ns": [331651, 47168, 38785, 39376, 37536, 37761, 38176, 37616, 37617, 38704, 37888, 37937, 38016, 37472, 38305, 37728, 38016, 38833, 38160, 38016, 38561, 38192, 38224, 38241, 37680, 37632, 37617, 37920, 37936, 37857, 37888, 37104, 37729, 37776, 37824, 36881, 38800, 36608, 37905, 37792, 37952, 37985, 37488, 38336, 37489, 37760, 37856, 37889, 37968, 37968]} +{"case": "rope_32x128", "backend": "torch_ops", "warm": 10, "reps": 50, "dev_ns": [52128, 36416, 37824, 36704, 36896, 37440, 36672, 35776, 36576, 36096, 35872, 37376, 36032, 35712, 35680, 35040, 35168, 35616, 35136, 35488, 35200, 36576, 35904, 40384, 36288, 35328, 35584, 36608, 36192, 36480, 36928, 35584, 35936, 36704, 35680, 35136, 36480, 36864, 36352, 36896, 36320, 35232, 35808, 36000, 35456, 36384, 37408, 35872, 35264, 35744], "wall_ns": [73073, 45696, 42720, 43793, 43072, 43841, 43056, 44992, 45057, 45856, 45265, 46288, 44016, 43761, 44416, 43776, 45889, 42912, 46481, 44688, 45328, 45409, 44448, 44945, 44496, 44816, 46689, 45312, 45297, 44192, 46352, 44721, 44320, 45857, 43728, 44288, 46433, 47152, 46257, 44736, 46800, 44433, 44992, 46945, 47024, 45408, 44593, 44784, 45137, 43872]} +{"case": "swiglu_5632", "backend": "torch_silu_mul", "warm": 10, "reps": 50, "dev_ns": [14880, 12448, 12800, 13024, 12032, 11968, 12896, 11872, 11840, 11840, 12992, 13536, 13024, 13088, 12960, 12480, 11808, 12864, 12640, 14912, 12416, 12352, 12768, 12544, 12320, 12864, 12160, 12576, 11744, 12928, 12512, 12128, 12768, 12128, 11904, 13152, 11680, 11744, 11776, 11712, 12288, 11936, 12864, 12064, 13792, 13056, 12352, 12320, 11712, 12288], "wall_ns": [59232, 32193, 31296, 31520, 31312, 30305, 30560, 30800, 30080, 29137, 31008, 31808, 33585, 29216, 32496, 29824, 29649, 28512, 30112, 29344, 29761, 30304, 31024, 31376, 29585, 30288, 32672, 31217, 35248, 29312, 29840, 29569, 31392, 31888, 32417, 29856, 31744, 31664, 33329, 30448, 33312, 27728, 31521, 29104, 30496, 29713, 31536, 34192, 32976, 31473]} +{"case": "swiglu_131072", "backend": "torch_silu_mul", "warm": 10, "reps": 50, "dev_ns": [13120, 12384, 11712, 13120, 12096, 12224, 12192, 11968, 12896, 13152, 12480, 12032, 11904, 12160, 12768, 12320, 12992, 13024, 12800, 12352, 11776, 12032, 12128, 11648, 12000, 11712, 12800, 19168, 12160, 12064, 12416, 11616, 11776, 11840, 11936, 11840, 11680, 12128, 11968, 12096, 12800, 12000, 10848, 12640, 11776, 11872, 11680, 12704, 11712, 11712], "wall_ns": [61728, 105489, 56817, 55968, 55761, 56672, 56129, 56048, 54913, 56144, 55089, 55360, 55681, 55680, 55697, 55552, 55409, 56080, 56433, 56400, 56113, 56560, 56177, 56080, 56065, 55616, 64161, 56864, 55633, 56640, 56705, 55568, 55745, 57056, 57121, 56192, 56113, 56992, 57985, 56928, 57073, 58144, 56673, 58080, 56865, 58128, 57537, 57760, 56945, 57360]} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_cudnn_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_flash_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_efficient_f32", "warm": 10, "reps": 50, "dev_ns": [237824, 234880, 235936, 236800, 235904, 237120, 235456, 236544, 236512, 2363456, 260480, 238528, 237440, 238304, 240352, 238368, 235712, 238016, 236864, 235488, 234304, 238528, 237568, 235456, 234752, 237312, 234592, 235520, 234144, 235104, 236768, 236096, 236512, 236512, 237952, 236320, 232896, 237792, 244608, 234688, 234336, 236384, 234560, 236768, 234592, 235552, 233760, 233600, 233216, 233600], "wall_ns": [1786240, 1619294, 550597, 542244, 548517, 543445, 543749, 541492, 561109, 552645, 547781, 542709, 544788, 543653, 545893, 545349, 546820, 547397, 559317, 702902, 795847, 547589, 732374, 573845, 657702, 557669, 546677, 543652, 546869, 548757, 545877, 543669, 541764, 542789, 544725, 542453, 544116, 543413, 543653, 541588, 547685, 544277, 556053, 552117, 561813, 541556, 542693, 550917, 547685, 569317]} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_math_f32", "warm": 10, "reps": 50, "dev_ns": [1962816, 1017120, 1089824, 1009408, 1029184, 995104, 1006400, 1016000, 990400, 993856, 1047552, 1000032, 1150784, 1147360, 1019392, 986848, 1002112, 1030976, 1189536, 1015456, 1062496, 1062528, 1012544, 995584, 1000992, 996896, 994592, 983776, 995968, 1014560, 1043040, 1126912, 1182720, 993024, 976832, 969184, 980544, 1142816, 1028288, 1018720, 1053248, 985760, 976736, 984768, 982592, 980704, 983872, 985312, 983616, 1041216], "wall_ns": [1706559, 1304876, 1301131, 1516717, 1412989, 1286859, 1291099, 1285195, 1288124, 1290475, 1280827, 1289163, 1299244, 1699534, 1318555, 1308363, 1325372, 1293787, 1307564, 1316667, 1290011, 1289004, 1308795, 1301131, 1307660, 1303739, 1292475, 1297212, 1302491, 1301276, 1299403, 1290907, 1284091, 1298748, 1286011, 1306459, 1295308, 1283915, 1295259, 1291403, 1292700, 1303147, 1311595, 1295244, 1300091, 1283867, 1275851, 1286028, 1284891, 1296251]} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_cudnn_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [96224, 91616, 94272, 94720, 87200, 85824, 86880, 86432, 83264, 92736, 94048, 99136, 94848, 97152, 96064, 95712, 97088, 96160, 94816, 96544, 94112, 91424, 95616, 97984, 101184, 97472, 95136, 97120, 94784, 95168, 91936, 88896, 92448, 94336, 95200, 93984, 83904, 86112, 95040, 96384, 96256, 91424, 93952, 96064, 93664, 89760, 92064, 89984, 85888, 85216], "wall_ns": [423572, 438180, 420387, 420948, 646230, 438900, 433651, 452756, 460228, 461796, 453652, 441300, 438404, 424516, 449764, 451156, 469172, 459876, 444148, 441987, 427908, 440564, 443348, 444260, 439492, 441699, 429124, 424820, 428980, 427939, 424740, 435028, 438180, 427043, 423604, 423860, 3716256, 435492, 421396, 420227, 435156, 427188, 422740, 421683, 435332, 441204, 448036, 446308, 429892, 426963]} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_flash_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [116640, 101984, 105760, 99392, 95104, 101344, 97408, 92736, 114624, 131040, 174880, 99040, 101536, 151360, 136160, 93152, 95392, 92800, 97088, 93312, 89888, 92832, 90272, 92832, 97248, 90368, 94560, 98336, 91072, 90080, 92576, 101120, 90688, 98816, 104384, 173344, 149408, 103872, 97280, 98848, 99584, 91104, 95136, 97280, 97568, 92736, 109376, 92128, 107328, 138752], "wall_ns": [472228, 453316, 456452, 435940, 445396, 453444, 431075, 445284, 440532, 445060, 434004, 428996, 430019, 426948, 431044, 429044, 439155, 430804, 445988, 446180, 435076, 427715, 436276, 436132, 442996, 438436, 436996, 429075, 427924, 424788, 433044, 425123, 428788, 426724, 430147, 427636, 428884, 436340, 432132, 433891, 434260, 428724, 428820, 433987, 432244, 421828, 432020, 428915, 426164, 433748]} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_cudnn_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_flash_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_efficient_f32", "warm": 10, "reps": 50, "dev_ns": [174048, 171968, 171168, 172736, 170688, 171808, 169888, 171776, 171840, 170368, 169920, 171904, 172160, 170112, 173952, 172960, 171744, 171008, 170048, 170880, 172096, 172576, 170048, 171744, 170976, 171712, 171648, 171968, 175936, 171808, 171744, 172320, 170816, 172512, 171520, 170496, 171200, 172288, 170752, 171584, 171552, 169472, 170944, 171840, 173728, 205600, 172128, 177312, 216640, 181760], "wall_ns": [386723, 267651, 267330, 267026, 342883, 273091, 266642, 294403, 265186, 265042, 266371, 264978, 265106, 264195, 267074, 266210, 267171, 267474, 265954, 263955, 263058, 266674, 266851, 266210, 266946, 266722, 264611, 268050, 268354, 264195, 266114, 265906, 264115, 264866, 266274, 265699, 266594, 265282, 268115, 266194, 265170, 265651, 266082, 263186, 266291, 265186, 267058, 266291, 267986, 265874]} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_math_f32", "warm": 10, "reps": 50, "dev_ns": [475872, 559968, 677088, 544864, 605216, 515232, 521088, 518560, 531136, 491904, 525984, 691104, 474752, 473376, 463936, 495904, 559776, 516544, 482080, 465728, 482048, 460256, 463968, 493248, 472384, 482976, 473504, 527584, 529760, 516704, 525568, 519200, 503200, 482528, 555264, 522688, 459008, 492064, 556736, 585696, 517504, 526944, 595360, 609216, 637248, 460992, 503072, 516736, 518976, 506368], "wall_ns": [661478, 776662, 616214, 623685, 583173, 673590, 553989, 582309, 560085, 562965, 557733, 561045, 554084, 624390, 600965, 560965, 590149, 569845, 606197, 642934, 634790, 614421, 575541, 639014, 599829, 578069, 631781, 614534, 615045, 614277, 569317, 646854, 568181, 593509, 611862, 619045, 609221, 608902, 574645, 646069, 616262, 554421, 587989, 580181, 561173, 563844, 568661, 562837, 608438, 565877]} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_cudnn_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [42688, 36800, 35296, 36928, 36928, 38176, 36064, 35456, 36416, 35936, 35904, 36096, 36512, 35136, 36064, 35872, 36224, 35840, 36064, 35616, 36480, 36032, 36224, 35488, 35264, 36640, 34208, 35712, 34880, 35872, 35328, 37152, 34784, 36160, 36160, 35680, 35232, 36192, 35968, 37440, 36384, 35360, 35680, 36416, 35968, 35520, 35296, 35744, 36160, 35872], "wall_ns": [163378, 134049, 130529, 132289, 130801, 129185, 156770, 130945, 129089, 128481, 128177, 129905, 128674, 126305, 126737, 126737, 128017, 130641, 131953, 127025, 129441, 127090, 130497, 129345, 130049, 127217, 131745, 128465, 127714, 128641, 128737, 129841, 128801, 131617, 130193, 128049, 127842, 128785, 129697, 126929, 129009, 127121, 129201, 129793, 126530, 130353, 130289, 127857, 127873, 129873]} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_flash_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [44736, 39872, 39232, 37088, 38272, 36032, 37056, 38016, 37888, 37664, 39936, 39456, 37248, 36800, 36832, 42048, 36704, 38336, 36736, 39392, 36128, 38432, 37472, 36704, 38816, 37472, 36864, 36736, 36032, 39104, 37536, 37152, 38976, 36480, 36640, 36640, 36352, 40448, 38336, 37248, 35488, 36640, 36832, 36992, 36960, 39136, 37792, 38112, 38240, 37664], "wall_ns": [158545, 133617, 130913, 131473, 128178, 127201, 130081, 127825, 128705, 129137, 130769, 129409, 129874, 129601, 130961, 129345, 129969, 128929, 3356926, 151969, 131537, 131249, 130801, 129361, 130850, 131713, 129409, 128497, 128817, 130401, 128865, 133874, 128993, 130849, 131713, 129025, 130497, 129217, 129234, 130065, 129633, 129473, 132033, 132305, 129553, 129489, 129922, 131937, 129761, 128737]} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_cudnn_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_flash_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_efficient_f32", "warm": 10, "reps": 50, "dev_ns": [93504, 91680, 93408, 89920, 92672, 90816, 91008, 90976, 91040, 92000, 92320, 90624, 91296, 90944, 90880, 90976, 91040, 91072, 90304, 90976, 90176, 90016, 92000, 89920, 93152, 90016, 91616, 91520, 90912, 89728, 91008, 90272, 89792, 92704, 91040, 91072, 90880, 90592, 90912, 91168, 90912, 91072, 91104, 91168, 92352, 90944, 90112, 90816, 89984, 91040], "wall_ns": [6860076, 531685, 322083, 295122, 295795, 301666, 296003, 298259, 295842, 314291, 298883, 291762, 343427, 290499, 292370, 289971, 291362, 288947, 290194, 289763, 299043, 290642, 288915, 290450, 298195, 289746, 299347, 300643, 292226, 289171, 291266, 289827, 292594, 292179, 5792274, 345539, 332851, 289539, 318627, 313442, 4964108, 318706, 328963, 304931, 297763, 297282, 6061893, 313651, 12949857, 294034]} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_math_f32", "warm": 10, "reps": 50, "dev_ns": [430080, 425792, 423232, 424928, 424832, 422208, 424736, 428736, 430080, 424256, 429760, 425408, 425376, 423392, 424544, 422208, 428512, 422304, 425280, 424736, 422368, 426080, 430336, 427136, 426272, 428096, 428288, 425248, 429408, 428544, 430048, 432384, 430848, 425440, 422432, 424448, 424256, 423552, 421248, 428832, 427840, 422272, 422656, 423456, 428704, 422432, 426688, 428608, 428352, 422336], "wall_ns": [661782, 633334, 642229, 641686, 631077, 634406, 636565, 632678, 637637, 714823, 917464, 717158, 642854, 832279, 646501, 786743, 643798, 640790, 3191099, 767479, 635702, 631493, 640582, 632901, 639510, 634741, 634118, 640229, 639078, 651078, 647717, 630022, 639621, 634262, 634902, 642789, 633686, 636997, 637526, 623685, 631622, 626517, 635270, 632469, 641814, 635093, 636630, 632566, 642037, 624374]} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_cudnn_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [53696, 56064, 53408, 54944, 53824, 52992, 50912, 52096, 52288, 51328, 53152, 52064, 51744, 52032, 52224, 52352, 51232, 52096, 51520, 49312, 49504, 51872, 51424, 51936, 52160, 50688, 51648, 51968, 52288, 51776, 50976, 52416, 50336, 51872, 51680, 52096, 50656, 50176, 51136, 50880, 49408, 51840, 50944, 51616, 51392, 51488, 51040, 52768, 50944, 52096], "wall_ns": [6729499, 402404, 234610, 221986, 226962, 220306, 224770, 225618, 221666, 227937, 221970, 221298, 222002, 221202, 224498, 220882, 225954, 222194, 222802, 221506, 224898, 222386, 220898, 221346, 220898, 224146, 223026, 220161, 221010, 223234, 222050, 220546, 224018, 221282, 220706, 220450, 219826, 221266, 218978, 218130, 219905, 219634, 219954, 220370, 220770, 217202, 220914, 219602, 221522, 223394]} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_flash_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [57472, 52672, 52448, 52064, 52032, 52224, 52224, 51232, 52224, 53088, 51552, 52160, 51168, 51424, 52224, 51328, 51264, 51136, 52032, 49408, 49920, 52288, 52224, 51328, 51424, 54432, 52288, 52256, 50496, 52128, 51072, 51200, 51328, 50432, 51808, 55040, 51072, 51360, 50720, 51072, 51424, 50976, 51360, 51328, 50496, 51040, 51296, 50688, 50688, 52032], "wall_ns": [247122, 224978, 222722, 220226, 222354, 218850, 219762, 217186, 217793, 216162, 217842, 217250, 219922, 218226, 224962, 217538, 218722, 219074, 218065, 217058, 217794, 220530, 221682, 221282, 219026, 225250, 220002, 222354, 218610, 218434, 220786, 219506, 219761, 218018, 218802, 220674, 218818, 217074, 219954, 229650, 218722, 219058, 220690, 218482, 218993, 215954, 218978, 219122, 219058, 218210]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_cudnn_bf16_pregathered", "warm": 10, "reps": 50, "dev_ns": [35616, 29760, 31872, 30400, 30368, 29984, 30112, 30784, 30976, 30144, 30432, 30336, 30304, 28416, 29824, 28960, 30080, 31040, 29952, 28736, 41952, 29600, 29728, 29696, 29440, 28128, 29696, 30848, 29856, 29664, 30272, 28896, 30240, 30592, 28832, 29728, 29088, 30624, 29152, 29504, 28288, 30368, 28896, 30464, 30400, 28896, 28256, 29824, 29600, 29472], "wall_ns": [50625, 43760, 43793, 42864, 40960, 42609, 39200, 42592, 40913, 40096, 42513, 39936, 40688, 40993, 48976, 41376, 41489, 40816, 38912, 40865, 41936, 50129, 41248, 40448, 49137, 41904, 41920, 40881, 41840, 49233, 42944, 40688, 41857, 50064, 40896, 40865, 42960, 40881, 40896, 40800, 42145, 42608, 49024, 51137, 51040, 40833, 48848, 50289, 39664, 40464]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "gather+sdpa_cudnn_bf16", "warm": 10, "reps": 50, "dev_ns": [197888, 193632, 195584, 190656, 195424, 197440, 197568, 194880, 193216, 198432, 194848, 198464, 196608, 197152, 199584, 201984, 197504, 195392, 197216, 195392, 194432, 197504, 196192, 197504, 198400, 196864, 196544, 196640, 202528, 196736, 198528, 197216, 195360, 194304, 196128, 195264, 194464, 197760, 192704, 193536, 196480, 195168, 195264, 194304, 194336, 194624, 198912, 197472, 198432, 197664], "wall_ns": [220114, 210082, 210850, 209794, 207777, 207618, 209842, 206786, 210066, 213634, 207297, 205106, 206866, 207762, 204882, 214177, 210482, 207250, 207106, 213138, 206642, 206993, 206690, 208514, 208050, 209506, 210769, 204674, 211858, 206738, 215138, 212674, 205777, 209762, 209346, 211570, 210738, 207826, 208817, 206834, 215778, 207346, 205890, 214994, 207793, 207650, 215778, 208914, 208674, 208802]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_flash_bf16_pregathered", "warm": 10, "reps": 50, "dev_ns": [37216, 35872, 35168, 35424, 34976, 33376, 35840, 37024, 34464, 35648, 45056, 71264, 36512, 37312, 35616, 37504, 44352, 35456, 38944, 38240, 35744, 61120, 51808, 68896, 37856, 44224, 46752, 51808, 47232, 64960, 34368, 35328, 35776, 37120, 34848, 36736, 35712, 35040, 34432, 34816, 33856, 37344, 35008, 34528, 36896, 34528, 34208, 33952, 35264, 34048], "wall_ns": [51009, 52224, 56784, 95601, 93953, 84897, 57376, 53409, 53344, 55777, 52544, 49777, 53184, 52177, 65792, 65137, 59664, 51089, 82096, 52497, 52240, 52977, 50272, 51121, 50144, 50881, 51152, 53265, 51104, 52144, 51185, 50176, 50001, 51200, 51345, 51920, 51185, 51232, 50912, 52289, 51008, 51985, 50208, 50097, 50224, 58193, 53200, 49968, 50065, 51200]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "gather+sdpa_flash_bf16", "warm": 10, "reps": 50, "dev_ns": [202624, 207008, 201504, 202752, 202336, 203456, 200928, 204416, 202528, 203360, 204608, 203488, 200448, 204704, 204768, 201056, 202048, 203616, 203232, 203616, 202560, 199392, 203904, 201824, 200064, 204288, 203744, 204736, 201536, 204512, 204576, 203488, 202592, 201088, 203360, 202624, 208928, 204544, 202528, 203584, 203904, 204960, 203648, 205344, 202944, 230048, 202720, 206528, 204608, 269760], "wall_ns": [228482, 219778, 242786, 387267, 264371, 336242, 220786, 223298, 212722, 215858, 223074, 209042, 218802, 213090, 223858, 230610, 398275, 218786, 219938, 220098, 219026, 216706, 272754, 275266, 217986, 213234, 220450, 218130, 215938, 212946, 219154, 215874, 218018, 219617, 216082, 213986, 213794, 221010, 231506, 227170, 223186, 222978, 223970, 220098, 227298, 222002, 211986, 218113, 214786, 213794]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_efficient_bf16_pregathered", "warm": 10, "reps": 50, "dev_ns": [111232, 110080, 107968, 108608, 107744, 107360, 105504, 105344, 105728, 107488, 105728, 106304, 128960, 107328, 107968, 106208, 107136, 107200, 104704, 106368, 107424, 105536, 105440, 107392, 106048, 107360, 106176, 107104, 107328, 105600, 105760, 106112, 107616, 106912, 105312, 105216, 107584, 106560, 107360, 105600, 105056, 109344, 107456, 106656, 104960, 106496, 106208, 106336, 106176, 106592], "wall_ns": [141602, 118305, 118225, 119585, 118801, 124657, 127137, 125713, 124817, 117697, 118641, 124689, 116769, 117761, 118641, 125041, 117537, 116673, 124802, 116753, 123793, 116721, 115585, 118721, 125025, 119601, 116849, 123681, 124849, 115729, 126833, 121617, 116769, 118593, 117809, 116481, 124961, 117697, 123794, 116801, 115457, 117457, 117601, 115553, 115729, 117793, 116785, 126465, 116737, 117729]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "gather+sdpa_efficient_bf16", "warm": 10, "reps": 50, "dev_ns": [275392, 276992, 269536, 268320, 270176, 297664, 313600, 308800, 276224, 279040, 278304, 270976, 281408, 297856, 292128, 290016, 297664, 290496, 289632, 274944, 280768, 275168, 429984, 345888, 276224, 286880, 424000, 328512, 347232, 284224, 276416, 274176, 274048, 274816, 352864, 351168, 275072, 280384, 284960, 310272, 318048, 296608, 303904, 302912, 291392, 283520, 277312, 1213600, 298240, 305280], "wall_ns": [354563, 328115, 290259, 284690, 282563, 290498, 282483, 284610, 282627, 304290, 287763, 287586, 296883, 288435, 286674, 287667, 282450, 281394, 290659, 281634, 283555, 285634, 294851, 284530, 284611, 287314, 288579, 280626, 300979, 306003, 283570, 283651, 306978, 295139, 289858, 314387, 354979, 309219, 305075, 430963, 329379, 357811, 295107, 292675, 298802, 298819, 286098, 501317, 330723, 3343613]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_math_bf16_pregathered", "warm": 10, "reps": 50, "dev_ns": [1276992, 1332384, 1278688, 1230080, 1150464, 1220864, 1248768, 1248288, 1148256, 1293696, 1164416, 1140160, 1202464, 1228256, 1269600, 1248768, 1130464, 1560256, 1178976, 1195584, 1147200, 1279936, 1199168, 1256800, 1340672, 1252224, 1280288, 1152384, 1116992, 1155040, 1257408, 1248288, 1253728, 1106848, 1106336, 1109120, 1103968, 1127936, 1159296, 1152256, 1334272, 1209248, 1130720, 1175168, 1207008, 1223264, 1220000, 1123168, 1125024, 1125824], "wall_ns": [1163210, 1330188, 1165082, 1120282, 1161098, 1159882, 1140714, 1129306, 1149802, 1206634, 1166331, 1237258, 1306540, 1236634, 1276060, 1195578, 1133626, 1241387, 1260459, 1230731, 1148826, 1144825, 1245147, 1197643, 1150330, 1181258, 1234491, 1267627, 1269531, 1326044, 1182314, 1154106, 1140506, 1155482, 1146858, 1156826, 1197099, 4038291, 1418236, 1292684, 1204202, 1235307, 1269771, 1252123, 1355324, 1143706, 1199978, 1143434, 1153066, 1213259]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "gather+sdpa_math_bf16", "warm": 10, "reps": 50, "dev_ns": [1272896, 1281792, 1288160, 1299520, 1270720, 1248288, 1280768, 1257184, 1253632, 1288992, 1276160, 1296960, 1292768, 1369280, 1376288, 1326432, 1328960, 1305696, 1397728, 1296384, 1334432, 1437920, 1362816, 1312992, 1310048, 1424736, 1289280, 1304576, 1253152, 1396480, 1375040, 1398144, 1479168, 1477632, 1284544, 1272096, 1300512, 1412960, 1493664, 1454304, 1405504, 1727360, 1464832, 1302752, 1451840, 1305184, 1265600, 1517472, 1368256, 1257760], "wall_ns": [1335004, 4180244, 1647262, 1370188, 1299580, 1432380, 1447645, 1318427, 1329932, 1467053, 1292235, 1378220, 1404668, 1419869, 1328219, 1331068, 1443901, 1377452, 1296283, 1385452, 1292059, 1276667, 1296412, 1350491, 1418093, 1427468, 1453053, 1487229, 1567150, 1640654, 1470125, 1355644, 1387468, 1354860, 1391804, 1336971, 1357932, 1625902, 1323724, 1316587, 1358044, 1431629, 1374988, 1450044, 1402797, 1299963, 1302395, 1308556, 1291147, 1316860]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_efficient_f32q_f32kv_pregathered", "warm": 10, "reps": 50, "dev_ns": [236416, 237024, 236128, 236160, 239456, 236416, 237184, 236032, 238880, 236544, 235776, 235616, 236416, 236288, 238656, 235520, 236608, 234720, 237760, 235008, 237600, 236288, 235872, 238752, 234944, 269504, 238688, 236384, 235744, 236448, 237344, 237632, 237632, 238848, 236256, 236992, 236576, 236416, 236224, 237376, 237152, 235552, 236640, 238272, 244672, 235872, 236672, 238368, 236992, 237376], "wall_ns": [273506, 249842, 250498, 261011, 284594, 295827, 331603, 320130, 256067, 249554, 248722, 307251, 285538, 247762, 275683, 276146, 246626, 247506, 255091, 254914, 255954, 255858, 256163, 255842, 248674, 246354, 254130, 254627, 248898, 255874, 255410, 256515, 255810, 246642, 249842, 255666, 248050, 247587, 249042, 248610, 255954, 258642, 247875, 248594, 248098, 249634, 248802, 255731, 256082, 256882]} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention.json b/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention.json new file mode 100644 index 0000000..2f849e7 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention.json @@ -0,0 +1 @@ +{"schema":"OMEGA_GPU_ATTENTION_V1","tolerances":{"rel":2e-4,"abs":2e-5,"large_scores_rel":1e-3,"large_scores_abs":1e-4},"cases":[{"case":"gqa_f32_tinyllama_32q4kv_ctx1","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":216610,"call_ns":129357544,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2048,"kv_bytes_naive":2048,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx17","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00189431,"pass":true,"chip_elapsed_ns":104497,"call_ns":240194,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":34816,"kv_bytes_naive":34816,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx256","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00189409,"pass":true,"chip_elapsed_ns":105153,"call_ns":322051,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx2048","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.0028582,"pass":true,"chip_elapsed_ns":419028,"call_ns":1483245,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4194304,"kv_bytes_naive":4194304,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=2041) NO_RESCALE:CAUGHT(rc=OK,bad=1959) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048)"},{"case":"gqa_f32_tinyllama_32q4kv_ctx65","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00174821,"pass":true,"chip_elapsed_ns":102481,"call_ns":207378,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":133120,"kv_bytes_naive":133120,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx128","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00197914,"pass":true,"chip_elapsed_ns":103825,"call_ns":108705,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":262144,"kv_bytes_naive":262144,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx129","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00177573,"pass":true,"chip_elapsed_ns":103169,"call_ns":107729,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":264192,"kv_bytes_naive":264192,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx300","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00259576,"pass":true,"chip_elapsed_ns":262515,"call_ns":274179,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":614400,"kv_bytes_naive":614400,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_tinyllama_32q4kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00247545,"pass":true,"chip_elapsed_ns":311955,"call_ns":362355,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2048000,"kv_bytes_naive":2048000,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx1","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":97552,"call_ns":288818,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4096,"kv_bytes_naive":4096,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx17","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00174276,"pass":true,"chip_elapsed_ns":102977,"call_ns":106049,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":69632,"kv_bytes_naive":69632,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048)"},{"case":"gqa_f32_llama32_1b_32q8kv_ctx256","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00161378,"pass":true,"chip_elapsed_ns":105521,"call_ns":226722,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":1048576,"kv_bytes_naive":1048576,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx2048","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.0029454,"pass":true,"chip_elapsed_ns":518613,"call_ns":2091491,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":8388608,"kv_bytes_naive":8388608,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=2045) NO_RESCALE:CAUGHT(rc=OK,bad=1904) Q_ROW:CAUGHT(rc=OK,bad=2042) OUT_ROW:CAUGHT(rc=OK,bad=2042)"},{"case":"gqa_f32_llama32_1b_32q8kv_ctx65","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.0014332,"pass":true,"chip_elapsed_ns":106097,"call_ns":213554,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":266240,"kv_bytes_naive":266240,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx128","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00186415,"pass":true,"chip_elapsed_ns":104049,"call_ns":116385,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx129","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00185519,"pass":true,"chip_elapsed_ns":103537,"call_ns":112177,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":528384,"kv_bytes_naive":528384,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx300","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00162705,"pass":true,"chip_elapsed_ns":104993,"call_ns":132177,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":1228800,"kv_bytes_naive":1228800,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_llama32_1b_32q8kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00330327,"pass":true,"chip_elapsed_ns":283650,"call_ns":409267,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4096000,"kv_bytes_naive":4096000,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_tinyllama_32q4kv_base0_rows1","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":103841,"call_ns":328131,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2048,"kv_bytes_naive":2048,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_tinyllama_32q4kv_base17_rows5","n":10240,"rc":"OK","violations":0,"worst_scaled_err":0.00298047,"pass":true,"chip_elapsed_ns":104209,"call_ns":380675,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":45056,"kv_bytes_naive":225280,"kv_blocks_unique":1,"kv_blocks_logical":5,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_tinyllama_32q4kv_base300_rows40","n":81920,"rc":"OK","violations":0,"worst_scaled_err":0.00332929,"pass":true,"chip_elapsed_ns":1220219,"call_ns":1672830,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":696320,"kv_bytes_naive":27852800,"kv_blocks_unique":1,"kv_blocks_logical":40,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=81807) NO_RESCALE:CAUGHT(rc=OK,bad=64191) Q_ROW:CAUGHT(rc=OK,bad=81812) OUT_ROW:CAUGHT(rc=OK,bad=81812)"},{"case":"gqa_rows_f32_llama32_1b_32q8kv_base0_rows1","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":103985,"call_ns":212594,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4096,"kv_bytes_naive":4096,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_llama32_1b_32q8kv_base17_rows5","n":10240,"rc":"OK","violations":0,"worst_scaled_err":0.00177684,"pass":true,"chip_elapsed_ns":103233,"call_ns":113665,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":90112,"kv_bytes_naive":450560,"kv_blocks_unique":1,"kv_blocks_logical":5,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_llama32_1b_32q8kv_base300_rows40","n":81920,"rc":"OK","violations":0,"worst_scaled_err":0.00325614,"pass":true,"chip_elapsed_ns":1046729,"call_ns":1160618,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":1392640,"kv_bytes_naive":55705600,"kv_blocks_unique":1,"kv_blocks_logical":40,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=81806) NO_RESCALE:CAUGHT(rc=OK,bad=65973) Q_ROW:CAUGHT(rc=OK,bad=81824) OUT_ROW:CAUGHT(rc=OK,bad=81824)"},{"case":"gqa_f32_large_scores_32q4kv_ctx256","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.0830785,"pass":true,"chip_elapsed_ns":227122,"call_ns":421715,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"NO_MAX:CAUGHT(rc=OK,bad=2048)"},{"case":"gqa_f32_mha_16q16kv_ctx300","n":1024,"rc":"OK","violations":0,"worst_scaled_err":0.00184,"pass":true,"chip_elapsed_ns":108417,"call_ns":391140,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2457600,"kv_bytes_naive":2457600,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":3,"mutants_caught":3,"mutant_note":"Q_ROW:CAUGHT(rc=OK,bad=1024) OUT_ROW:CAUGHT(rc=OK,bad=1020) KV_HEAD:CAUGHT(rc=OK,bad=1023)"},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx1","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":105393,"call_ns":213762,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":16384,"kv_bytes_naive":16384,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048)"},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx17","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00158694,"pass":true,"chip_elapsed_ns":104080,"call_ns":198898,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":32768,"kv_bytes_naive":32768,"kv_blocks_unique":2,"kv_blocks_logical":2,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2047)"},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx256","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00106953,"pass":true,"chip_elapsed_ns":104353,"call_ns":217378,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":262144,"kv_bytes_naive":262144,"kv_blocks_unique":16,"kv_blocks_logical":16,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx2048","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.000545881,"pass":true,"chip_elapsed_ns":216194,"call_ns":579638,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2097152,"kv_bytes_naive":2097152,"kv_blocks_unique":128,"kv_blocks_logical":128,"mutants_run":5,"mutants_caught":5,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2047) SLOT:CAUGHT(rc=OK,bad=2038) NO_RESCALE:CAUGHT(rc=OK,bad=1901) Q_ROW:CAUGHT(rc=OK,bad=2046) OUT_ROW:CAUGHT(rc=OK,bad=2046)"},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx65","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00144367,"pass":true,"chip_elapsed_ns":104577,"call_ns":225906,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":81920,"kv_bytes_naive":81920,"kv_blocks_unique":5,"kv_blocks_logical":5,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx128","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00159999,"pass":true,"chip_elapsed_ns":104385,"call_ns":112433,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":131072,"kv_blocks_unique":8,"kv_blocks_logical":8,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx129","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00170812,"pass":true,"chip_elapsed_ns":104369,"call_ns":112273,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":147456,"kv_bytes_naive":147456,"kv_blocks_unique":9,"kv_blocks_logical":9,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx300","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00140672,"pass":true,"chip_elapsed_ns":108688,"call_ns":257075,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":311296,"kv_bytes_naive":311296,"kv_blocks_unique":19,"kv_blocks_logical":19,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_tinyllama_32q4kv_bs16_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00143935,"pass":true,"chip_elapsed_ns":228306,"call_ns":423188,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":163840,"kv_bytes_naive":1032192,"kv_blocks_unique":10,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx1","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":105921,"call_ns":250354,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":32768,"kv_bytes_naive":32768,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048)"},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx17","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00205197,"pass":true,"chip_elapsed_ns":103569,"call_ns":200449,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":65536,"kv_blocks_unique":2,"kv_blocks_logical":2,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2046) SLOT:CAUGHT(rc=OK,bad=2048)"},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx256","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00105953,"pass":true,"chip_elapsed_ns":187889,"call_ns":329603,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":16,"kv_blocks_logical":16,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx2048","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00055855,"pass":true,"chip_elapsed_ns":220690,"call_ns":680566,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4194304,"kv_bytes_naive":4194304,"kv_blocks_unique":128,"kv_blocks_logical":128,"mutants_run":5,"mutants_caught":5,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2044) NO_RESCALE:CAUGHT(rc=OK,bad=1963) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048)"},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx65","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00171737,"pass":true,"chip_elapsed_ns":105361,"call_ns":225266,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":163840,"kv_bytes_naive":163840,"kv_blocks_unique":5,"kv_blocks_logical":5,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx128","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00153626,"pass":true,"chip_elapsed_ns":105025,"call_ns":114945,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":262144,"kv_bytes_naive":262144,"kv_blocks_unique":8,"kv_blocks_logical":8,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx129","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00162582,"pass":true,"chip_elapsed_ns":105457,"call_ns":115777,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":294912,"kv_bytes_naive":294912,"kv_blocks_unique":9,"kv_blocks_logical":9,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx300","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00144548,"pass":true,"chip_elapsed_ns":106577,"call_ns":259235,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":622592,"kv_bytes_naive":622592,"kv_blocks_unique":19,"kv_blocks_logical":19,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_llama32_1b_32q8kv_bs16_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00094646,"pass":true,"chip_elapsed_ns":209665,"call_ns":465780,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":327680,"kv_bytes_naive":2064384,"kv_blocks_unique":10,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split1_32q8kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.0028454,"pass":true,"chip_elapsed_ns":209202,"call_ns":473460,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2064384,"kv_bytes_naive":2064384,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split2_32q8kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00202911,"pass":true,"chip_elapsed_ns":103873,"call_ns":181570,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2064384,"kv_bytes_naive":2064384,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2041)"},{"case":"paged_bf16_split4_32q8kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00111551,"pass":true,"chip_elapsed_ns":104689,"call_ns":262690,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2064384,"kv_bytes_naive":2064384,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split8_32q8kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.000737182,"pass":true,"chip_elapsed_ns":105633,"call_ns":277378,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2064384,"kv_bytes_naive":2064384,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split16_32q8kv_ctx1000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.000577315,"pass":true,"chip_elapsed_ns":213890,"call_ns":415092,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2064384,"kv_bytes_naive":2064384,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split1_32q8kv_ctx100","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.0018292,"pass":true,"chip_elapsed_ns":113553,"call_ns":214337,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":229376,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split2_32q8kv_ctx100","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00134618,"pass":true,"chip_elapsed_ns":105297,"call_ns":117665,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":229376,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split4_32q8kv_ctx100","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00134618,"pass":true,"chip_elapsed_ns":104112,"call_ns":115617,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":229376,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split8_32q8kv_ctx100","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00134618,"pass":true,"chip_elapsed_ns":116033,"call_ns":140209,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":229376,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split16_32q8kv_ctx100","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00134618,"pass":true,"chip_elapsed_ns":107777,"call_ns":153105,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":229376,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_batch_3seq_32q8kv_ctx40_0_100","n":6144,"rc":"OK","violations":0,"worst_scaled_err":0.00173417,"pass":true,"chip_elapsed_ns":207346,"call_ns":222178,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":229376,"kv_bytes_naive":229376,"kv_blocks_unique":7,"kv_blocks_logical":7,"mutants_run":4,"mutants_caught":4,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4095) Q_ROW:CAUGHT(rc=OK,bad=4092) OUT_ROW:CAUGHT(rc=OK,bad=4092)"},{"case":"paged_bf16_shared_prefix_4seq_8q2kv_10pre","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00136352,"pass":true,"chip_elapsed_ns":104369,"call_ns":216801,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":155648,"kv_bytes_naive":401408,"kv_blocks_unique":19,"kv_blocks_logical":49,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2046)"},{"case":"paged_bf16_shared_prefix_4seq_32q8kv_10pre","n":8192,"rc":"OK","violations":0,"worst_scaled_err":0.00205105,"pass":true,"chip_elapsed_ns":210930,"call_ns":474196,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":950272,"kv_bytes_naive":1605632,"kv_blocks_unique":29,"kv_blocks_logical":49,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8186)"}],"mutant_count":6,"mutants":{"NO_MAX":{"run":1,"caught":1},"KV_HEAD":{"run":12,"caught":12},"SLOT":{"run":12,"caught":12},"NO_RESCALE":{"run":6,"caught":6},"Q_ROW":{"run":8,"caught":8},"OUT_ROW":{"run":8,"caught":8}},"device_opens":1,"checks":219,"failed":0,"verdict":"OMEGA_GPU_ATTENTION_PASS"} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention.log b/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention.log new file mode 100644 index 0000000..735bed5 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention.log @@ -0,0 +1,65 @@ +PASS gqa_f32_tinyllama_32q4kv_ctx1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=216610 call_ns=129357544 calls=1 unwritten=0 kv_staged=2048/2048 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx17 n=2048 rc=OK violations=0 worst_scaled_err=0.00189431 chip_ns=104497 call_ns=240194 calls=1 unwritten=0 kv_staged=34816/34816 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.00189409 chip_ns=105153 call_ns=322051 calls=1 unwritten=0 kv_staged=524288/524288 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx2048 n=2048 rc=OK violations=0 worst_scaled_err=0.0028582 chip_ns=419028 call_ns=1483245 calls=1 unwritten=0 kv_staged=4194304/4194304 blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=2041) NO_RESCALE:CAUGHT(rc=OK,bad=1959) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048) +PASS gqa_f32_tinyllama_32q4kv_ctx65 n=2048 rc=OK violations=0 worst_scaled_err=0.00174821 chip_ns=102481 call_ns=207378 calls=1 unwritten=0 kv_staged=133120/133120 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx128 n=2048 rc=OK violations=0 worst_scaled_err=0.00197914 chip_ns=103825 call_ns=108705 calls=1 unwritten=0 kv_staged=262144/262144 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx129 n=2048 rc=OK violations=0 worst_scaled_err=0.00177573 chip_ns=103169 call_ns=107729 calls=1 unwritten=0 kv_staged=264192/264192 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.00259576 chip_ns=262515 call_ns=274179 calls=1 unwritten=0 kv_staged=614400/614400 blocks=1/1 | mutants 0/0 +PASS gqa_f32_tinyllama_32q4kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00247545 chip_ns=311955 call_ns=362355 calls=1 unwritten=0 kv_staged=2048000/2048000 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=97552 call_ns=288818 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx17 n=2048 rc=OK violations=0 worst_scaled_err=0.00174276 chip_ns=102977 call_ns=106049 calls=1 unwritten=0 kv_staged=69632/69632 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=2048) +PASS gqa_f32_llama32_1b_32q8kv_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.00161378 chip_ns=105521 call_ns=226722 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx2048 n=2048 rc=OK violations=0 worst_scaled_err=0.0029454 chip_ns=518613 call_ns=2091491 calls=1 unwritten=0 kv_staged=8388608/8388608 blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=2045) NO_RESCALE:CAUGHT(rc=OK,bad=1904) Q_ROW:CAUGHT(rc=OK,bad=2042) OUT_ROW:CAUGHT(rc=OK,bad=2042) +PASS gqa_f32_llama32_1b_32q8kv_ctx65 n=2048 rc=OK violations=0 worst_scaled_err=0.0014332 chip_ns=106097 call_ns=213554 calls=1 unwritten=0 kv_staged=266240/266240 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx128 n=2048 rc=OK violations=0 worst_scaled_err=0.00186415 chip_ns=104049 call_ns=116385 calls=1 unwritten=0 kv_staged=524288/524288 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx129 n=2048 rc=OK violations=0 worst_scaled_err=0.00185519 chip_ns=103537 call_ns=112177 calls=1 unwritten=0 kv_staged=528384/528384 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.00162705 chip_ns=104993 call_ns=132177 calls=1 unwritten=0 kv_staged=1228800/1228800 blocks=1/1 | mutants 0/0 +PASS gqa_f32_llama32_1b_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00330327 chip_ns=283650 call_ns=409267 calls=1 unwritten=0 kv_staged=4096000/4096000 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_tinyllama_32q4kv_base0_rows1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=103841 call_ns=328131 calls=1 unwritten=0 kv_staged=2048/2048 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_tinyllama_32q4kv_base17_rows5 n=10240 rc=OK violations=0 worst_scaled_err=0.00298047 chip_ns=104209 call_ns=380675 calls=1 unwritten=0 kv_staged=45056/225280 blocks=1/5 | mutants 0/0 +PASS gqa_rows_f32_tinyllama_32q4kv_base300_rows40 n=81920 rc=OK violations=0 worst_scaled_err=0.00332929 chip_ns=1220219 call_ns=1672830 calls=2 unwritten=0 kv_staged=696320/27852800 blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=81807) NO_RESCALE:CAUGHT(rc=OK,bad=64191) Q_ROW:CAUGHT(rc=OK,bad=81812) OUT_ROW:CAUGHT(rc=OK,bad=81812) +PASS gqa_rows_f32_llama32_1b_32q8kv_base0_rows1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=103985 call_ns=212594 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_llama32_1b_32q8kv_base17_rows5 n=10240 rc=OK violations=0 worst_scaled_err=0.00177684 chip_ns=103233 call_ns=113665 calls=1 unwritten=0 kv_staged=90112/450560 blocks=1/5 | mutants 0/0 +PASS gqa_rows_f32_llama32_1b_32q8kv_base300_rows40 n=81920 rc=OK violations=0 worst_scaled_err=0.00325614 chip_ns=1046729 call_ns=1160618 calls=2 unwritten=0 kv_staged=1392640/55705600 blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=81806) NO_RESCALE:CAUGHT(rc=OK,bad=65973) Q_ROW:CAUGHT(rc=OK,bad=81824) OUT_ROW:CAUGHT(rc=OK,bad=81824) +PASS gqa_f32_large_scores_32q4kv_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.0830785 chip_ns=227122 call_ns=421715 calls=1 unwritten=0 kv_staged=524288/524288 blocks=1/1 | mutants 1/1 NO_MAX:CAUGHT(rc=OK,bad=2048) +PASS gqa_f32_mha_16q16kv_ctx300 n=1024 rc=OK violations=0 worst_scaled_err=0.00184 chip_ns=108417 call_ns=391140 calls=1 unwritten=0 kv_staged=2457600/2457600 blocks=1/1 | mutants 3/3 Q_ROW:CAUGHT(rc=OK,bad=1024) OUT_ROW:CAUGHT(rc=OK,bad=1020) KV_HEAD:CAUGHT(rc=OK,bad=1023) +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=105393 call_ns=213762 calls=1 unwritten=0 kv_staged=16384/16384 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=2048) +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx17 n=2048 rc=OK violations=0 worst_scaled_err=0.00158694 chip_ns=104080 call_ns=198898 calls=1 unwritten=0 kv_staged=32768/32768 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2047) +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.00106953 chip_ns=104353 call_ns=217378 calls=1 unwritten=0 kv_staged=262144/262144 blocks=16/16 | mutants 0/0 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx2048 n=2048 rc=OK violations=0 worst_scaled_err=0.000545881 chip_ns=216194 call_ns=579638 calls=1 unwritten=0 kv_staged=2097152/2097152 blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=2047) SLOT:CAUGHT(rc=OK,bad=2038) NO_RESCALE:CAUGHT(rc=OK,bad=1901) Q_ROW:CAUGHT(rc=OK,bad=2046) OUT_ROW:CAUGHT(rc=OK,bad=2046) +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx65 n=2048 rc=OK violations=0 worst_scaled_err=0.00144367 chip_ns=104577 call_ns=225906 calls=1 unwritten=0 kv_staged=81920/81920 blocks=5/5 | mutants 0/0 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx128 n=2048 rc=OK violations=0 worst_scaled_err=0.00159999 chip_ns=104385 call_ns=112433 calls=1 unwritten=0 kv_staged=131072/131072 blocks=8/8 | mutants 0/0 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx129 n=2048 rc=OK violations=0 worst_scaled_err=0.00170812 chip_ns=104369 call_ns=112273 calls=1 unwritten=0 kv_staged=147456/147456 blocks=9/9 | mutants 0/0 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.00140672 chip_ns=108688 call_ns=257075 calls=1 unwritten=0 kv_staged=311296/311296 blocks=19/19 | mutants 0/0 +PASS paged_bf16_tinyllama_32q4kv_bs16_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00143935 chip_ns=228306 call_ns=423188 calls=1 unwritten=0 kv_staged=163840/1032192 blocks=10/63 | mutants 0/0 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx1 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=105921 call_ns=250354 calls=1 unwritten=0 kv_staged=32768/32768 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=2048) +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx17 n=2048 rc=OK violations=0 worst_scaled_err=0.00205197 chip_ns=103569 call_ns=200449 calls=1 unwritten=0 kv_staged=65536/65536 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=2046) SLOT:CAUGHT(rc=OK,bad=2048) +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx256 n=2048 rc=OK violations=0 worst_scaled_err=0.00105953 chip_ns=187889 call_ns=329603 calls=1 unwritten=0 kv_staged=524288/524288 blocks=16/16 | mutants 0/0 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx2048 n=2048 rc=OK violations=0 worst_scaled_err=0.00055855 chip_ns=220690 call_ns=680566 calls=1 unwritten=0 kv_staged=4194304/4194304 blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2044) NO_RESCALE:CAUGHT(rc=OK,bad=1963) Q_ROW:CAUGHT(rc=OK,bad=2048) OUT_ROW:CAUGHT(rc=OK,bad=2048) +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx65 n=2048 rc=OK violations=0 worst_scaled_err=0.00171737 chip_ns=105361 call_ns=225266 calls=1 unwritten=0 kv_staged=163840/163840 blocks=5/5 | mutants 0/0 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx128 n=2048 rc=OK violations=0 worst_scaled_err=0.00153626 chip_ns=105025 call_ns=114945 calls=1 unwritten=0 kv_staged=262144/262144 blocks=8/8 | mutants 0/0 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx129 n=2048 rc=OK violations=0 worst_scaled_err=0.00162582 chip_ns=105457 call_ns=115777 calls=1 unwritten=0 kv_staged=294912/294912 blocks=9/9 | mutants 0/0 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.00144548 chip_ns=106577 call_ns=259235 calls=1 unwritten=0 kv_staged=622592/622592 blocks=19/19 | mutants 0/0 +PASS paged_bf16_llama32_1b_32q8kv_bs16_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00094646 chip_ns=209665 call_ns=465780 calls=1 unwritten=0 kv_staged=327680/2064384 blocks=10/63 | mutants 0/0 +PASS paged_bf16_split1_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.0028454 chip_ns=209202 call_ns=473460 calls=1 unwritten=0 kv_staged=2064384/2064384 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split2_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00202911 chip_ns=103873 call_ns=181570 calls=1 unwritten=0 kv_staged=2064384/2064384 blocks=63/63 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2041) +PASS paged_bf16_split4_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.00111551 chip_ns=104689 call_ns=262690 calls=1 unwritten=0 kv_staged=2064384/2064384 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split8_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.000737182 chip_ns=105633 call_ns=277378 calls=1 unwritten=0 kv_staged=2064384/2064384 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split16_32q8kv_ctx1000 n=2048 rc=OK violations=0 worst_scaled_err=0.000577315 chip_ns=213890 call_ns=415092 calls=1 unwritten=0 kv_staged=2064384/2064384 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split1_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.0018292 chip_ns=113553 call_ns=214337 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split2_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.00134618 chip_ns=105297 call_ns=117665 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split4_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.00134618 chip_ns=104112 call_ns=115617 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split8_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.00134618 chip_ns=116033 call_ns=140209 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split16_32q8kv_ctx100 n=2048 rc=OK violations=0 worst_scaled_err=0.00134618 chip_ns=107777 call_ns=153105 calls=1 unwritten=0 kv_staged=65536/229376 blocks=2/7 | mutants 0/0 +PASS paged_bf16_batch_3seq_32q8kv_ctx40_0_100 n=6144 rc=OK violations=0 worst_scaled_err=0.00173417 chip_ns=207346 call_ns=222178 calls=2 unwritten=0 kv_staged=229376/229376 blocks=7/7 | mutants 4/4 KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4095) Q_ROW:CAUGHT(rc=OK,bad=4092) OUT_ROW:CAUGHT(rc=OK,bad=4092) +PASS paged_bf16_shared_prefix_4seq_8q2kv_10pre n=2048 rc=OK violations=0 worst_scaled_err=0.00136352 chip_ns=104369 call_ns=216801 calls=1 unwritten=0 kv_staged=155648/401408 blocks=19/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=2048) SLOT:CAUGHT(rc=OK,bad=2046) +PASS paged_bf16_shared_prefix_4seq_32q8kv_10pre n=8192 rc=OK violations=0 worst_scaled_err=0.00205105 chip_ns=210930 call_ns=474196 calls=2 unwritten=0 kv_staged=950272/1605632 blocks=29/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8186) +mutant NO_MAX: caught 1 of 1 +mutant KV_HEAD: caught 12 of 12 +mutant SLOT: caught 12 of 12 +mutant NO_RESCALE: caught 6 of 6 +mutant Q_ROW: caught 8 of 8 +mutant OUT_ROW: caught 8 of 8 +device_opens=1 +PASS: 219 checks, 0 failed diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention_hd128.json b/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention_hd128.json new file mode 100644 index 0000000..4a24ebe --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention_hd128.json @@ -0,0 +1 @@ +{"schema":"OMEGA_GPU_ATTENTION_V1","tolerances":{"rel":2e-4,"abs":2e-5,"large_scores_rel":1e-3,"large_scores_abs":1e-4},"cases":[{"case":"gqa_f32_qwen3_4b_32q8kv_ctx1","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":218146,"call_ns":104602977,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":8192,"kv_bytes_naive":8192,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx17","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00198312,"pass":true,"chip_elapsed_ns":103921,"call_ns":287971,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":139264,"kv_bytes_naive":139264,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx256","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00219175,"pass":true,"chip_elapsed_ns":107841,"call_ns":596549,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2097152,"kv_bytes_naive":2097152,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx2048","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00376301,"pass":true,"chip_elapsed_ns":623621,"call_ns":3506046,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":16777216,"kv_bytes_naive":16777216,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=4090) NO_RESCALE:CAUGHT(rc=OK,bad=3905) Q_ROW:CAUGHT(rc=OK,bad=4086) OUT_ROW:CAUGHT(rc=OK,bad=4086)"},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx127","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.0019369,"pass":true,"chip_elapsed_ns":107601,"call_ns":310595,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":1040384,"kv_bytes_naive":1040384,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx128","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00195072,"pass":true,"chip_elapsed_ns":106177,"call_ns":133730,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":1048576,"kv_bytes_naive":1048576,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx129","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00222211,"pass":true,"chip_elapsed_ns":105281,"call_ns":129297,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":1056768,"kv_bytes_naive":1056768,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx300","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00262496,"pass":true,"chip_elapsed_ns":107393,"call_ns":174962,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":2457600,"kv_bytes_naive":2457600,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_qwen3_4b_32q8kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00318626,"pass":true,"chip_elapsed_ns":312499,"call_ns":627846,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":8192000,"kv_bytes_naive":8192000,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx1","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":105233,"call_ns":372915,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4096,"kv_bytes_naive":4096,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx17","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00213223,"pass":true,"chip_elapsed_ns":103441,"call_ns":108593,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":69632,"kv_bytes_naive":69632,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4095)"},{"case":"gqa_f32_gqa8_32q4kv_ctx256","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00193136,"pass":true,"chip_elapsed_ns":106161,"call_ns":266834,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":1048576,"kv_bytes_naive":1048576,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx2048","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00246504,"pass":true,"chip_elapsed_ns":518149,"call_ns":881144,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":8388608,"kv_bytes_naive":8388608,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=4084) NO_RESCALE:CAUGHT(rc=OK,bad=3914) Q_ROW:CAUGHT(rc=OK,bad=4078) OUT_ROW:CAUGHT(rc=OK,bad=4078)"},{"case":"gqa_f32_gqa8_32q4kv_ctx127","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00243573,"pass":true,"chip_elapsed_ns":104897,"call_ns":254962,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":520192,"kv_bytes_naive":520192,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx128","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00180964,"pass":true,"chip_elapsed_ns":104177,"call_ns":114961,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx129","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00188256,"pass":true,"chip_elapsed_ns":104305,"call_ns":114737,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":528384,"kv_bytes_naive":528384,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx300","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00199715,"pass":true,"chip_elapsed_ns":105281,"call_ns":143329,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":1228800,"kv_bytes_naive":1228800,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_f32_gqa8_32q4kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00296202,"pass":true,"chip_elapsed_ns":312947,"call_ns":463956,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4096000,"kv_bytes_naive":4096000,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_qwen3_4b_32q8kv_base0_rows1","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":104977,"call_ns":368755,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":8192,"kv_bytes_naive":8192,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_qwen3_4b_32q8kv_base17_rows5","n":20480,"rc":"OK","violations":0,"worst_scaled_err":0.00238734,"pass":true,"chip_elapsed_ns":105457,"call_ns":431220,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":180224,"kv_bytes_naive":901120,"kv_blocks_unique":1,"kv_blocks_logical":5,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_qwen3_4b_32q8kv_base300_rows40","n":163840,"rc":"OK","violations":0,"worst_scaled_err":0.00342033,"pass":true,"chip_elapsed_ns":628453,"call_ns":1412332,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":2785280,"kv_bytes_naive":111411200,"kv_blocks_unique":1,"kv_blocks_logical":40,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=163639) NO_RESCALE:CAUGHT(rc=OK,bad=96453) Q_ROW:CAUGHT(rc=OK,bad=163612) OUT_ROW:CAUGHT(rc=OK,bad=163612)"},{"case":"gqa_rows_f32_gqa8_32q4kv_base0_rows1","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":107409,"call_ns":315139,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4096,"kv_bytes_naive":4096,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_gqa8_32q4kv_base17_rows5","n":20480,"rc":"OK","violations":0,"worst_scaled_err":0.00296019,"pass":true,"chip_elapsed_ns":103489,"call_ns":124337,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":90112,"kv_bytes_naive":450560,"kv_blocks_unique":1,"kv_blocks_logical":5,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"gqa_rows_f32_gqa8_32q4kv_base300_rows40","n":163840,"rc":"OK","violations":0,"worst_scaled_err":0.0038327,"pass":true,"chip_elapsed_ns":732998,"call_ns":928968,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":1392640,"kv_bytes_naive":55705600,"kv_blocks_unique":1,"kv_blocks_logical":40,"mutants_run":4,"mutants_caught":4,"mutant_note":"SLOT:CAUGHT(rc=OK,bad=163626) NO_RESCALE:CAUGHT(rc=OK,bad=98605) Q_ROW:CAUGHT(rc=OK,bad=163626) OUT_ROW:CAUGHT(rc=OK,bad=163626)"},{"case":"gqa_f32_large_scores_32q4kv_ctx256","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.114366,"pass":true,"chip_elapsed_ns":105937,"call_ns":315475,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":1048576,"kv_bytes_naive":1048576,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"NO_MAX:CAUGHT(rc=OK,bad=4096)"},{"case":"gqa_f32_mha_16q16kv_ctx300","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0.00289382,"pass":true,"chip_elapsed_ns":107313,"call_ns":440084,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4915200,"kv_bytes_naive":4915200,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":3,"mutants_caught":3,"mutant_note":"Q_ROW:CAUGHT(rc=OK,bad=2045) OUT_ROW:CAUGHT(rc=OK,bad=2048) KV_HEAD:CAUGHT(rc=OK,bad=2045)"},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx1","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":105313,"call_ns":266178,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":65536,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4096)"},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx17","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00234242,"pass":true,"chip_elapsed_ns":104545,"call_ns":245314,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":131072,"kv_blocks_unique":2,"kv_blocks_logical":2,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4096)"},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx256","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00164,"pass":true,"chip_elapsed_ns":105073,"call_ns":301667,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":1048576,"kv_bytes_naive":1048576,"kv_blocks_unique":16,"kv_blocks_logical":16,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx2048","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.000652093,"pass":true,"chip_elapsed_ns":108625,"call_ns":844215,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":8388608,"kv_bytes_naive":8388608,"kv_blocks_unique":128,"kv_blocks_logical":128,"mutants_run":5,"mutants_caught":5,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4088) NO_RESCALE:CAUGHT(rc=OK,bad=3458) Q_ROW:CAUGHT(rc=OK,bad=4088) OUT_ROW:CAUGHT(rc=OK,bad=4088)"},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx127","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00206248,"pass":true,"chip_elapsed_ns":113105,"call_ns":333507,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":8,"kv_blocks_logical":8,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx128","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00186796,"pass":true,"chip_elapsed_ns":111009,"call_ns":134673,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":8,"kv_blocks_logical":8,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx129","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00209681,"pass":true,"chip_elapsed_ns":107809,"call_ns":343619,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":589824,"kv_bytes_naive":589824,"kv_blocks_unique":9,"kv_blocks_logical":9,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx300","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00196382,"pass":true,"chip_elapsed_ns":107809,"call_ns":149202,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":1245184,"kv_bytes_naive":1245184,"kv_blocks_unique":19,"kv_blocks_logical":19,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_qwen3_4b_32q8kv_bs16_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00109341,"pass":true,"chip_elapsed_ns":109265,"call_ns":434932,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":655360,"kv_bytes_naive":4128768,"kv_blocks_unique":10,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx1","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":105793,"call_ns":351843,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":32768,"kv_bytes_naive":32768,"kv_blocks_unique":1,"kv_blocks_logical":1,"mutants_run":1,"mutants_caught":1,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4096)"},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx17","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00184997,"pass":true,"chip_elapsed_ns":105009,"call_ns":253059,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":65536,"kv_bytes_naive":65536,"kv_blocks_unique":2,"kv_blocks_logical":2,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4094)"},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx256","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00174993,"pass":true,"chip_elapsed_ns":106449,"call_ns":278130,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":524288,"kv_bytes_naive":524288,"kv_blocks_unique":16,"kv_blocks_logical":16,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx2048","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.000692334,"pass":true,"chip_elapsed_ns":110337,"call_ns":605973,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4194304,"kv_bytes_naive":4194304,"kv_blocks_unique":128,"kv_blocks_logical":128,"mutants_run":5,"mutants_caught":5,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4092) SLOT:CAUGHT(rc=OK,bad=4081) NO_RESCALE:CAUGHT(rc=OK,bad=3413) Q_ROW:CAUGHT(rc=OK,bad=4082) OUT_ROW:CAUGHT(rc=OK,bad=4082)"},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx127","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00233987,"pass":true,"chip_elapsed_ns":104945,"call_ns":267698,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":262144,"kv_bytes_naive":262144,"kv_blocks_unique":8,"kv_blocks_logical":8,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx128","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00222576,"pass":true,"chip_elapsed_ns":105793,"call_ns":116753,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":262144,"kv_bytes_naive":262144,"kv_blocks_unique":8,"kv_blocks_logical":8,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx129","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00158538,"pass":true,"chip_elapsed_ns":105665,"call_ns":278066,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":294912,"kv_bytes_naive":294912,"kv_blocks_unique":9,"kv_blocks_logical":9,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx300","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00184017,"pass":true,"chip_elapsed_ns":106369,"call_ns":133778,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":622592,"kv_bytes_naive":622592,"kv_blocks_unique":19,"kv_blocks_logical":19,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_gqa8_32q4kv_bs16_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00133,"pass":true,"chip_elapsed_ns":108417,"call_ns":353299,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":327680,"kv_bytes_naive":2064384,"kv_blocks_unique":10,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split1_32q8kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00241483,"pass":true,"chip_elapsed_ns":210130,"call_ns":517205,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4128768,"kv_bytes_naive":4128768,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split2_32q8kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00192453,"pass":true,"chip_elapsed_ns":105505,"call_ns":407715,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4128768,"kv_bytes_naive":4128768,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4089)"},{"case":"paged_bf16_split4_32q8kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.0012482,"pass":true,"chip_elapsed_ns":173585,"call_ns":474308,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4128768,"kv_bytes_naive":4128768,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split8_32q8kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.000781902,"pass":true,"chip_elapsed_ns":106561,"call_ns":468116,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4128768,"kv_bytes_naive":4128768,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split16_32q8kv_ctx1000","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.000781902,"pass":true,"chip_elapsed_ns":73041,"call_ns":449364,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":4128768,"kv_bytes_naive":4128768,"kv_blocks_unique":63,"kv_blocks_logical":63,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split1_32q8kv_ctx100","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00257739,"pass":true,"chip_elapsed_ns":103665,"call_ns":112177,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":458752,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split2_32q8kv_ctx100","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00257739,"pass":true,"chip_elapsed_ns":103953,"call_ns":250802,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":458752,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split4_32q8kv_ctx100","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00257739,"pass":true,"chip_elapsed_ns":103232,"call_ns":123201,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":458752,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split8_32q8kv_ctx100","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00257739,"pass":true,"chip_elapsed_ns":103121,"call_ns":140033,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":458752,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_split16_32q8kv_ctx100","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00257739,"pass":true,"chip_elapsed_ns":103393,"call_ns":175041,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":131072,"kv_bytes_naive":458752,"kv_blocks_unique":2,"kv_blocks_logical":7,"mutants_run":0,"mutants_caught":0,"mutant_note":""},{"case":"paged_bf16_batch_3seq_32q8kv_ctx40_0_100","n":12288,"rc":"OK","violations":0,"worst_scaled_err":0.00208243,"pass":true,"chip_elapsed_ns":209153,"call_ns":238291,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":458752,"kv_bytes_naive":458752,"kv_blocks_unique":7,"kv_blocks_logical":7,"mutants_run":4,"mutants_caught":4,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8184) Q_ROW:CAUGHT(rc=OK,bad=8190) OUT_ROW:CAUGHT(rc=OK,bad=8190)"},{"case":"paged_bf16_shared_prefix_4seq_8q2kv_10pre","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.00212011,"pass":true,"chip_elapsed_ns":105521,"call_ns":256194,"chip_calls":1,"unwritten_words":0,"kv_bytes_staged":311296,"kv_bytes_naive":802816,"kv_blocks_unique":19,"kv_blocks_logical":49,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4093)"},{"case":"paged_bf16_shared_prefix_4seq_32q8kv_10pre","n":16384,"rc":"OK","violations":0,"worst_scaled_err":0.00198582,"pass":true,"chip_elapsed_ns":212802,"call_ns":542661,"chip_calls":2,"unwritten_words":0,"kv_bytes_staged":1900544,"kv_bytes_naive":3211264,"kv_blocks_unique":29,"kv_blocks_logical":49,"mutants_run":2,"mutants_caught":2,"mutant_note":"KV_HEAD:CAUGHT(rc=OK,bad=16379) SLOT:CAUGHT(rc=OK,bad=16365)"}],"mutant_count":6,"mutants":{"NO_MAX":{"run":1,"caught":1},"KV_HEAD":{"run":12,"caught":12},"SLOT":{"run":12,"caught":12},"NO_RESCALE":{"run":6,"caught":6},"Q_ROW":{"run":8,"caught":8},"OUT_ROW":{"run":8,"caught":8}},"device_opens":1,"checks":221,"failed":0,"verdict":"OMEGA_GPU_ATTENTION_PASS"} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention_hd128.log b/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention_hd128.log new file mode 100644 index 0000000..f57de5d --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention_hd128.log @@ -0,0 +1,72 @@ +PASS gqa_f32_qwen3_4b_32q8kv_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=218146 call_ns=104602977 calls=1 unwritten=0 kv_staged=8192/8192 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.00198312 chip_ns=103921 call_ns=287971 calls=1 unwritten=0 kv_staged=139264/139264 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.00219175 chip_ns=107841 call_ns=596549 calls=1 unwritten=0 kv_staged=2097152/2097152 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.00376301 chip_ns=623621 call_ns=3506046 calls=1 unwritten=0 kv_staged=16777216/16777216 blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=4090) NO_RESCALE:CAUGHT(rc=OK,bad=3905) Q_ROW:CAUGHT(rc=OK,bad=4086) OUT_ROW:CAUGHT(rc=OK,bad=4086) +PASS gqa_f32_qwen3_4b_32q8kv_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.0019369 chip_ns=107601 call_ns=310595 calls=1 unwritten=0 kv_staged=1040384/1040384 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.00195072 chip_ns=106177 call_ns=133730 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.00222211 chip_ns=105281 call_ns=129297 calls=1 unwritten=0 kv_staged=1056768/1056768 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.00262496 chip_ns=107393 call_ns=174962 calls=1 unwritten=0 kv_staged=2457600/2457600 blocks=1/1 | mutants 0/0 +PASS gqa_f32_qwen3_4b_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00318626 chip_ns=312499 call_ns=627846 calls=1 unwritten=0 kv_staged=8192000/8192000 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=105233 call_ns=372915 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.00213223 chip_ns=103441 call_ns=108593 calls=1 unwritten=0 kv_staged=69632/69632 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=4095) +PASS gqa_f32_gqa8_32q4kv_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.00193136 chip_ns=106161 call_ns=266834 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.00246504 chip_ns=518149 call_ns=881144 calls=1 unwritten=0 kv_staged=8388608/8388608 blocks=1/1 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=4084) NO_RESCALE:CAUGHT(rc=OK,bad=3914) Q_ROW:CAUGHT(rc=OK,bad=4078) OUT_ROW:CAUGHT(rc=OK,bad=4078) +PASS gqa_f32_gqa8_32q4kv_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.00243573 chip_ns=104897 call_ns=254962 calls=1 unwritten=0 kv_staged=520192/520192 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.00180964 chip_ns=104177 call_ns=114961 calls=1 unwritten=0 kv_staged=524288/524288 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.00188256 chip_ns=104305 call_ns=114737 calls=1 unwritten=0 kv_staged=528384/528384 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.00199715 chip_ns=105281 call_ns=143329 calls=1 unwritten=0 kv_staged=1228800/1228800 blocks=1/1 | mutants 0/0 +PASS gqa_f32_gqa8_32q4kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00296202 chip_ns=312947 call_ns=463956 calls=1 unwritten=0 kv_staged=4096000/4096000 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_qwen3_4b_32q8kv_base0_rows1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=104977 call_ns=368755 calls=1 unwritten=0 kv_staged=8192/8192 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_qwen3_4b_32q8kv_base17_rows5 n=20480 rc=OK violations=0 worst_scaled_err=0.00238734 chip_ns=105457 call_ns=431220 calls=1 unwritten=0 kv_staged=180224/901120 blocks=1/5 | mutants 0/0 +PASS gqa_rows_f32_qwen3_4b_32q8kv_base300_rows40 n=163840 rc=OK violations=0 worst_scaled_err=0.00342033 chip_ns=628453 call_ns=1412332 calls=2 unwritten=0 kv_staged=2785280/111411200 blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=163639) NO_RESCALE:CAUGHT(rc=OK,bad=96453) Q_ROW:CAUGHT(rc=OK,bad=163612) OUT_ROW:CAUGHT(rc=OK,bad=163612) +PASS gqa_rows_f32_gqa8_32q4kv_base0_rows1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=107409 call_ns=315139 calls=1 unwritten=0 kv_staged=4096/4096 blocks=1/1 | mutants 0/0 +PASS gqa_rows_f32_gqa8_32q4kv_base17_rows5 n=20480 rc=OK violations=0 worst_scaled_err=0.00296019 chip_ns=103489 call_ns=124337 calls=1 unwritten=0 kv_staged=90112/450560 blocks=1/5 | mutants 0/0 +PASS gqa_rows_f32_gqa8_32q4kv_base300_rows40 n=163840 rc=OK violations=0 worst_scaled_err=0.0038327 chip_ns=732998 call_ns=928968 calls=2 unwritten=0 kv_staged=1392640/55705600 blocks=1/40 | mutants 4/4 SLOT:CAUGHT(rc=OK,bad=163626) NO_RESCALE:CAUGHT(rc=OK,bad=98605) Q_ROW:CAUGHT(rc=OK,bad=163626) OUT_ROW:CAUGHT(rc=OK,bad=163626) +PASS gqa_f32_large_scores_32q4kv_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.114366 chip_ns=105937 call_ns=315475 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=1/1 | mutants 1/1 NO_MAX:CAUGHT(rc=OK,bad=4096) +PASS gqa_f32_mha_16q16kv_ctx300 n=2048 rc=OK violations=0 worst_scaled_err=0.00289382 chip_ns=107313 call_ns=440084 calls=1 unwritten=0 kv_staged=4915200/4915200 blocks=1/1 | mutants 3/3 Q_ROW:CAUGHT(rc=OK,bad=2045) OUT_ROW:CAUGHT(rc=OK,bad=2048) KV_HEAD:CAUGHT(rc=OK,bad=2045) +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=105313 call_ns=266178 calls=1 unwritten=0 kv_staged=65536/65536 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=4096) +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.00234242 chip_ns=104545 call_ns=245314 calls=1 unwritten=0 kv_staged=131072/131072 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4096) +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.00164 chip_ns=105073 call_ns=301667 calls=1 unwritten=0 kv_staged=1048576/1048576 blocks=16/16 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.000652093 chip_ns=108625 call_ns=844215 calls=1 unwritten=0 kv_staged=8388608/8388608 blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4088) NO_RESCALE:CAUGHT(rc=OK,bad=3458) Q_ROW:CAUGHT(rc=OK,bad=4088) OUT_ROW:CAUGHT(rc=OK,bad=4088) +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.00206248 chip_ns=113105 call_ns=333507 calls=1 unwritten=0 kv_staged=524288/524288 blocks=8/8 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.00186796 chip_ns=111009 call_ns=134673 calls=1 unwritten=0 kv_staged=524288/524288 blocks=8/8 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.00209681 chip_ns=107809 call_ns=343619 calls=1 unwritten=0 kv_staged=589824/589824 blocks=9/9 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.00196382 chip_ns=107809 call_ns=149202 calls=1 unwritten=0 kv_staged=1245184/1245184 blocks=19/19 | mutants 0/0 +PASS paged_bf16_qwen3_4b_32q8kv_bs16_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00109341 chip_ns=109265 call_ns=434932 calls=1 unwritten=0 kv_staged=655360/4128768 blocks=10/63 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx1 n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=105793 call_ns=351843 calls=1 unwritten=0 kv_staged=32768/32768 blocks=1/1 | mutants 1/1 KV_HEAD:CAUGHT(rc=OK,bad=4096) +PASS paged_bf16_gqa8_32q4kv_bs16_ctx17 n=4096 rc=OK violations=0 worst_scaled_err=0.00184997 chip_ns=105009 call_ns=253059 calls=1 unwritten=0 kv_staged=65536/65536 blocks=2/2 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4096) SLOT:CAUGHT(rc=OK,bad=4094) +PASS paged_bf16_gqa8_32q4kv_bs16_ctx256 n=4096 rc=OK violations=0 worst_scaled_err=0.00174993 chip_ns=106449 call_ns=278130 calls=1 unwritten=0 kv_staged=524288/524288 blocks=16/16 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx2048 n=4096 rc=OK violations=0 worst_scaled_err=0.000692334 chip_ns=110337 call_ns=605973 calls=1 unwritten=0 kv_staged=4194304/4194304 blocks=128/128 | mutants 5/5 KV_HEAD:CAUGHT(rc=OK,bad=4092) SLOT:CAUGHT(rc=OK,bad=4081) NO_RESCALE:CAUGHT(rc=OK,bad=3413) Q_ROW:CAUGHT(rc=OK,bad=4082) OUT_ROW:CAUGHT(rc=OK,bad=4082) +PASS paged_bf16_gqa8_32q4kv_bs16_ctx127 n=4096 rc=OK violations=0 worst_scaled_err=0.00233987 chip_ns=104945 call_ns=267698 calls=1 unwritten=0 kv_staged=262144/262144 blocks=8/8 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx128 n=4096 rc=OK violations=0 worst_scaled_err=0.00222576 chip_ns=105793 call_ns=116753 calls=1 unwritten=0 kv_staged=262144/262144 blocks=8/8 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx129 n=4096 rc=OK violations=0 worst_scaled_err=0.00158538 chip_ns=105665 call_ns=278066 calls=1 unwritten=0 kv_staged=294912/294912 blocks=9/9 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx300 n=4096 rc=OK violations=0 worst_scaled_err=0.00184017 chip_ns=106369 call_ns=133778 calls=1 unwritten=0 kv_staged=622592/622592 blocks=19/19 | mutants 0/0 +PASS paged_bf16_gqa8_32q4kv_bs16_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00133 chip_ns=108417 call_ns=353299 calls=1 unwritten=0 kv_staged=327680/2064384 blocks=10/63 | mutants 0/0 +PASS paged_bf16_split1_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00241483 chip_ns=210130 call_ns=517205 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split2_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.00192453 chip_ns=105505 call_ns=407715 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4094) SLOT:CAUGHT(rc=OK,bad=4089) +PASS paged_bf16_split4_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.0012482 chip_ns=173585 call_ns=474308 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split8_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.000781902 chip_ns=106561 call_ns=468116 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split16_32q8kv_ctx1000 n=4096 rc=OK violations=0 worst_scaled_err=0.000781902 chip_ns=73041 call_ns=449364 calls=1 unwritten=0 kv_staged=4128768/4128768 blocks=63/63 | mutants 0/0 +PASS paged_bf16_split1_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00257739 chip_ns=103665 call_ns=112177 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split2_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00257739 chip_ns=103953 call_ns=250802 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split4_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00257739 chip_ns=103232 call_ns=123201 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split8_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00257739 chip_ns=103121 call_ns=140033 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_split16_32q8kv_ctx100 n=4096 rc=OK violations=0 worst_scaled_err=0.00257739 chip_ns=103393 call_ns=175041 calls=1 unwritten=0 kv_staged=131072/458752 blocks=2/7 | mutants 0/0 +PASS paged_bf16_batch_3seq_32q8kv_ctx40_0_100 n=12288 rc=OK violations=0 worst_scaled_err=0.00208243 chip_ns=209153 call_ns=238291 calls=2 unwritten=0 kv_staged=458752/458752 blocks=7/7 | mutants 4/4 KV_HEAD:CAUGHT(rc=OK,bad=8190) SLOT:CAUGHT(rc=OK,bad=8184) Q_ROW:CAUGHT(rc=OK,bad=8190) OUT_ROW:CAUGHT(rc=OK,bad=8190) +PASS paged_bf16_shared_prefix_4seq_8q2kv_10pre n=4096 rc=OK violations=0 worst_scaled_err=0.00212011 chip_ns=105521 call_ns=256194 calls=1 unwritten=0 kv_staged=311296/802816 blocks=19/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=4095) SLOT:CAUGHT(rc=OK,bad=4093) +PASS paged_bf16_shared_prefix_4seq_32q8kv_10pre n=16384 rc=OK violations=0 worst_scaled_err=0.00198582 chip_ns=212802 call_ns=542661 calls=2 unwritten=0 kv_staged=1900544/3211264 blocks=29/49 | mutants 2/2 KV_HEAD:CAUGHT(rc=OK,bad=16379) SLOT:CAUGHT(rc=OK,bad=16365) +mutant NO_MAX: caught 1 of 1 +mutant KV_HEAD: caught 12 of 12 +mutant SLOT: caught 12 of 12 +mutant NO_RESCALE: caught 6 of 6 +mutant Q_ROW: caught 8 of 8 +mutant OUT_ROW: caught 8 of 8 +device_opens=1 + hd128 dominant token 5 (warp 0 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 40 (warp 1 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 70 (warp 2 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 100 (warp 3 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 127 (warp 3 of chunk 0): rc OK, 0 bad, worst 0 + hd128 dominant token 131 (warp 0 of chunk 1): rc OK, 0 bad, worst 0 + hd128 dominant token 299 (warp 1 of chunk 2): rc OK, 0 bad, worst 0 +PASS: 225 checks, 0 failed diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention_timing.json b/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention_timing.json new file mode 100644 index 0000000..a18a874 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention_timing.json @@ -0,0 +1 @@ +{"schema":"OMEGA_GPU_ATTENTION_TIMING_V1","gate_median_ms":3.0,"calls":100,"cases":[{"case":"gqa_f32_tinyllama_32q4kv_ctx2048","first_call_ms":141.979,"ok_calls":100,"violations":0,"worst_scaled_err":0.00323017,"median_ms":0.6516,"p90_ms":1.1672,"min_ms":0.5115,"max_ms":1.5765,"chip_us_mean":567.0,"device_opens":1,"pass":true}],"checks":2,"failed":0,"verdict":"OMEGA_GPU_ATTENTION_TIMING_PASS"} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention_timing.log b/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention_timing.log new file mode 100644 index 0000000..4d8ebe0 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/existing/attention_timing.log @@ -0,0 +1,2 @@ +PASS timing gqa_f32_tinyllama_32q4kv_ctx2048 first_call_ms=141.979 ok_calls=100/100 violations=0 worst_scaled_err=0.00323017 median_ms=0.652 p90_ms=1.167 min_ms=0.512 max_ms=1.577 chip_us_mean=567.0 device_opens=1 +PASS: 2 checks, 0 failed diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/existing/elementwise.json b/evidence/STACK7-GPU-20261026/gpu-runs/existing/elementwise.json new file mode 100644 index 0000000..2e6afc9 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/existing/elementwise.json @@ -0,0 +1 @@ +{"schema":"OMEGA_GPU_ELEMENTWISE_V1","tolerances":{"ex2_rel":1e-6,"xchg":"exact","rmsnorm_rel":1e-5,"rmsnorm_abs":1e-6,"rope":"exact","swiglu_rel":1e-5,"swiglu_abs":1e-6},"cases":[{"case":"ex2_probe","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0.152538,"pass":true,"chip_elapsed_ns":216513,"chip_calls":1,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":4096,"mutant_caught":true},{"case":"shared_xchg_probe","n":4096,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":103681,"chip_calls":1,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":4096,"mutant_caught":true},{"case":"rmsnorm_4x2048","n":8192,"rc":"OK","violations":0,"worst_scaled_err":0.0244808,"pass":true,"chip_elapsed_ns":103649,"chip_calls":1,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":8192,"mutant_caught":true},{"case":"rmsnorm_1x256","n":256,"rc":"OK","violations":0,"worst_scaled_err":0.0206888,"pass":true,"chip_elapsed_ns":103633,"chip_calls":1,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":256,"mutant_caught":true},{"case":"rmsnorm_2x8192","n":16384,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":103952,"chip_calls":1,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":16384,"mutant_caught":true},{"case":"rope_32h_64d_pos17_theta10000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":103201,"chip_calls":1,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":1024,"mutant_caught":true},{"case":"rope_4h_64d_pos17_theta10000","n":256,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":102993,"chip_calls":1,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":128,"mutant_caught":true},{"case":"rope_32h_64d_pos1023_theta500000","n":2048,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":103008,"chip_calls":1,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":1024,"mutant_caught":true},{"case":"rope_8h_64d_pos1023_theta500000","n":512,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":103217,"chip_calls":1,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":256,"mutant_caught":true},{"case":"swiglu_5632","n":5632,"rc":"OK","violations":0,"worst_scaled_err":0.0196297,"pass":true,"chip_elapsed_ns":102977,"chip_calls":1,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":5630,"mutant_caught":true},{"case":"swiglu_8192","n":8192,"rc":"OK","violations":0,"worst_scaled_err":0.0177689,"pass":true,"chip_elapsed_ns":65680,"chip_calls":1,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":8192,"mutant_caught":true},{"case":"swiglu_1000","n":1000,"rc":"OK","violations":0,"worst_scaled_err":0.017264,"pass":true,"chip_elapsed_ns":103249,"chip_calls":1,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":1000,"mutant_caught":true},{"case":"swiglu_131073","n":131073,"rc":"OK","violations":0,"worst_scaled_err":0.0236441,"pass":true,"chip_elapsed_ns":213586,"chip_calls":2,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":131059,"mutant_caught":true},{"case":"swiglu_1572864","n":1572864,"rc":"OK","violations":0,"worst_scaled_err":0.0250368,"pass":true,"chip_elapsed_ns":1267596,"chip_calls":12,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":1572612,"mutant_caught":true},{"case":"icache_reuse_rotation","n":20,"rc":"OK","violations":0,"worst_scaled_err":0,"pass":true,"chip_elapsed_ns":2242660,"chip_calls":20,"unwritten_words":0,"mutant_rc":"OK","mutant_violations":0,"mutant_caught":true}],"device_opens":1,"checks":35,"failed":0,"verdict":"OMEGA_GPU_ELEMENTWISE_PASS"} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/existing/elementwise.log b/evidence/STACK7-GPU-20261026/gpu-runs/existing/elementwise.log new file mode 100644 index 0000000..9e36746 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/existing/elementwise.log @@ -0,0 +1,17 @@ +PASS ex2_probe n=4096 rc=OK violations=0 worst_scaled_err=0.152538 chip_ns=216513 calls=1 unwritten=0 | mutant rc=OK violations=4096 CAUGHT +PASS shared_xchg_probe n=4096 rc=OK violations=0 worst_scaled_err=0 chip_ns=103681 calls=1 unwritten=0 | mutant rc=OK violations=4096 CAUGHT +PASS rmsnorm_4x2048 n=8192 rc=OK violations=0 worst_scaled_err=0.0244808 chip_ns=103649 calls=1 unwritten=0 | mutant rc=OK violations=8192 CAUGHT +PASS rmsnorm_1x256 n=256 rc=OK violations=0 worst_scaled_err=0.0206888 chip_ns=103633 calls=1 unwritten=0 | mutant rc=OK violations=256 CAUGHT +PASS rmsnorm_2x8192 n=16384 rc=OK violations=0 worst_scaled_err=0 chip_ns=103952 calls=1 unwritten=0 | mutant rc=OK violations=16384 CAUGHT +PASS rope_32h_64d_pos17_theta10000 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=103201 calls=1 unwritten=0 | mutant rc=OK violations=1024 CAUGHT +PASS rope_4h_64d_pos17_theta10000 n=256 rc=OK violations=0 worst_scaled_err=0 chip_ns=102993 calls=1 unwritten=0 | mutant rc=OK violations=128 CAUGHT +PASS rope_32h_64d_pos1023_theta500000 n=2048 rc=OK violations=0 worst_scaled_err=0 chip_ns=103008 calls=1 unwritten=0 | mutant rc=OK violations=1024 CAUGHT +PASS rope_8h_64d_pos1023_theta500000 n=512 rc=OK violations=0 worst_scaled_err=0 chip_ns=103217 calls=1 unwritten=0 | mutant rc=OK violations=256 CAUGHT +PASS swiglu_5632 n=5632 rc=OK violations=0 worst_scaled_err=0.0196297 chip_ns=102977 calls=1 unwritten=0 | mutant rc=OK violations=5630 CAUGHT +PASS swiglu_8192 n=8192 rc=OK violations=0 worst_scaled_err=0.0177689 chip_ns=65680 calls=1 unwritten=0 | mutant rc=OK violations=8192 CAUGHT +PASS swiglu_1000 n=1000 rc=OK violations=0 worst_scaled_err=0.017264 chip_ns=103249 calls=1 unwritten=0 | mutant rc=OK violations=1000 CAUGHT +PASS swiglu_131073 n=131073 rc=OK violations=0 worst_scaled_err=0.0236441 chip_ns=213586 calls=2 unwritten=0 | mutant rc=OK violations=131059 CAUGHT +PASS swiglu_1572864 n=1572864 rc=OK violations=0 worst_scaled_err=0.0250368 chip_ns=1267596 calls=12 unwritten=0 | mutant rc=OK violations=1572612 CAUGHT +PASS icache_reuse_rotation n=20 rc=OK violations=0 worst_scaled_err=0 chip_ns=2242660 calls=20 unwritten=0 | mutant rc=OK violations=0 CAUGHT +device_opens=1 +PASS: 35 checks, 0 failed diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/existing/elementwise_timing.json b/evidence/STACK7-GPU-20261026/gpu-runs/existing/elementwise_timing.json new file mode 100644 index 0000000..0c4b5c0 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/existing/elementwise_timing.json @@ -0,0 +1 @@ +{"schema":"OMEGA_GPU_ELEMENTWISE_TIMING_V1","gate_median_ms":0.5,"calls":100,"cases":[{"case":"rmsnorm_1x2048","first_call_ms":140.205,"ok_calls":100,"violations":0,"worst_scaled_err":0,"median_ms":0.1053,"p90_ms":0.1062,"min_ms":0.0668,"max_ms":0.1129,"chip_us_mean":101.6,"device_opens":1,"pass":true},{"case":"swiglu_5632","first_call_ms":0.749,"ok_calls":100,"violations":0,"worst_scaled_err":0.0208791,"median_ms":0.1090,"p90_ms":0.1121,"min_ms":0.0640,"max_ms":0.1765,"chip_us_mean":101.7,"device_opens":1,"pass":true}],"checks":4,"failed":0,"verdict":"OMEGA_GPU_ELEMENTWISE_TIMING_PASS"} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/existing/elementwise_timing.log b/evidence/STACK7-GPU-20261026/gpu-runs/existing/elementwise_timing.log new file mode 100644 index 0000000..ad1e2d0 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/existing/elementwise_timing.log @@ -0,0 +1,3 @@ +PASS timing rmsnorm_1x2048 first_call_ms=140.205 ok_calls=100/100 violations=0 worst_scaled_err=0 median_ms=0.105 p90_ms=0.106 min_ms=0.067 max_ms=0.113 chip_us_mean=101.6 device_opens=1 +PASS timing swiglu_5632 first_call_ms=0.749 ok_calls=100/100 violations=0 worst_scaled_err=0.0208791 median_ms=0.109 p90_ms=0.112 min_ms=0.064 max_ms=0.177 chip_us_mean=101.7 device_opens=1 +PASS: 4 checks, 0 failed diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/mutant/check.jsonl b/evidence/STACK7-GPU-20261026/gpu-runs/mutant/check.jsonl new file mode 100644 index 0000000..65c0665 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/mutant/check.jsonl @@ -0,0 +1,9 @@ +{"case": "rmsnorm_1x2048", "arm": "omega", "n": 2048, "max_abs": 1.0463501221781581, "max_rel": 0.41499672458480197, "rtol": 1e-05, "atol": 1e-06, "violations": 2048, "nonfinite": 0} +{"case": "rmsnorm_64x2048", "arm": "omega", "n": 131072, "max_abs": 1.1510493200890521, "max_rel": 0.4402330274028913, "rtol": 1e-05, "atol": 1e-06, "violations": 131072, "nonfinite": 0} +{"case": "rope_32x128", "arm": "omega", "n": 4096, "max_abs": 1.9711659423594696, "max_rel": 1.4518684602397094, "rtol": 1e-06, "atol": 1e-06, "violations": 2048, "nonfinite": 0} +{"case": "swiglu_5632", "arm": "omega", "n": 5632, "max_abs": 5.407381506456285, "max_rel": 0.9497790228891604, "rtol": 1e-05, "atol": 1e-06, "violations": 5628, "nonfinite": 0} +{"case": "swiglu_131072", "arm": "omega", "n": 131072, "max_abs": 5.421297444147994, "max_rel": 0.9501898990924272, "rtol": 1e-05, "atol": 1e-06, "violations": 131004, "nonfinite": 0} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "arm": "omega", "n": 4096, "max_abs": 0.09116044633431741, "max_rel": 1.1799539179683023, "rtol": 0.0002, "atol": 2e-05, "violations": 4089, "nonfinite": 0} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "arm": "omega", "n": 2048, "max_abs": 0.06961602013324586, "max_rel": 1.7517398437193608, "rtol": 0.0002, "atol": 2e-05, "violations": 2046, "nonfinite": 0} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "arm": "omega", "n": 1048576, "max_abs": 1.96320378780365, "max_rel": 1.9652419811768818, "rtol": 0.0002, "atol": 2e-05, "violations": 1048265, "nonfinite": 0} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "arm": "omega", "n": 4096, "max_abs": 0.07354696002634531, "max_rel": 0.9293711491871574, "rtol": 0.0002, "atol": 2e-05, "violations": 4088, "nonfinite": 0} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/mutant/check_perturb_q.jsonl b/evidence/STACK7-GPU-20261026/gpu-runs/mutant/check_perturb_q.jsonl new file mode 100644 index 0000000..622eda8 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/mutant/check_perturb_q.jsonl @@ -0,0 +1,9 @@ +{"case": "rmsnorm_1x2048", "arm": "omega", "n": 2048, "max_abs": 1.729619456547482e-07, "max_rel": 6.859906584147514e-08, "rtol": 1e-05, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "rmsnorm_64x2048", "arm": "omega", "n": 131072, "max_abs": 3.945226589863182e-07, "max_rel": 1.5089006310446218e-07, "rtol": 1e-05, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "rope_32x128", "arm": "omega", "n": 4096, "max_abs": 9.849130577777032e-08, "max_rel": 7.254408033014421e-08, "rtol": 1e-06, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "swiglu_5632", "arm": "omega", "n": 5632, "max_abs": 5.538928160575551e-07, "max_rel": 9.728845227442306e-08, "rtol": 1e-05, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "swiglu_131072", "arm": "omega", "n": 131072, "max_abs": 7.632354259712315e-07, "max_rel": 1.3377214584862993e-07, "rtol": 1e-05, "atol": 1e-06, "violations": 0, "nonfinite": 0} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "arm": "omega", "n": 4096, "max_abs": 1.0789449723935807e-07, "max_rel": 1.3965545350437207e-06, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "arm": "omega", "n": 2048, "max_abs": 6.390801764871723e-08, "max_rel": 1.6081100389551725e-06, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "arm": "omega", "n": 1048576, "max_abs": 1.44076562402784e-07, "max_rel": 1.4422614233765968e-07, "rtol": 0.0002, "atol": 2e-05, "violations": 0, "nonfinite": 0} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "arm": "omega", "n": 4096, "max_abs": 0.0009286766451099345, "max_rel": 0.01173515914974497, "rtol": 0.0002, "atol": 2e-05, "violations": 121, "nonfinite": 0} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/mutant/omega.jsonl b/evidence/STACK7-GPU-20261026/gpu-runs/mutant/omega.jsonl new file mode 100644 index 0000000..e8db7b4 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/mutant/omega.jsonl @@ -0,0 +1,9 @@ +{"case":"rmsnorm_1x2048","rc":0,"mutant":1,"first_call_ns":186141689,"warm":0,"reps":0,"timed_outputs_differing_from_first":0,"wall_ns":[],"chip_ns":[]} +{"case":"rmsnorm_64x2048","rc":0,"mutant":1,"first_call_ns":892072,"warm":0,"reps":0,"timed_outputs_differing_from_first":0,"wall_ns":[],"chip_ns":[]} +{"case":"rope_32x128","rc":0,"mutant":1,"first_call_ns":317939,"warm":0,"reps":0,"timed_outputs_differing_from_first":0,"wall_ns":[],"chip_ns":[]} +{"case":"swiglu_5632","rc":0,"mutant":1,"first_call_ns":265714,"warm":0,"reps":0,"timed_outputs_differing_from_first":0,"wall_ns":[],"chip_ns":[]} +{"case":"swiglu_131072","rc":0,"mutant":1,"first_call_ns":627158,"warm":0,"reps":0,"timed_outputs_differing_from_first":0,"wall_ns":[],"chip_ns":[]} +{"case":"gqa_f32_32q8kv_hd128_ctx2048","rc":0,"mutant":1,"first_call_ns":4151061,"warm":0,"reps":0,"timed_outputs_differing_from_first":0,"wall_ns":[],"chip_ns":[]} +{"case":"gqa_f32_32q4kv_hd64_ctx2048","rc":0,"mutant":1,"first_call_ns":997017,"warm":0,"reps":0,"timed_outputs_differing_from_first":0,"wall_ns":[],"chip_ns":[]} +{"case":"gqa_rows_f32_32q8kv_hd128_m256","rc":0,"mutant":1,"first_call_ns":4376966,"warm":0,"reps":0,"timed_outputs_differing_from_first":0,"wall_ns":[],"chip_ns":[]} +{"case":"paged_bf16_32q8kv_hd128_ctx2048_bs16","rc":0,"mutant":1,"first_call_ns":490900,"warm":0,"reps":0,"timed_outputs_differing_from_first":0,"wall_ns":[],"chip_ns":[]} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/paired/r-1/omega/stderr.txt b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r-1/omega/stderr.txt new file mode 100644 index 0000000..f0cdabe --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r-1/omega/stderr.txt @@ -0,0 +1 @@ +LOCK_HELD_S .758649163 diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/paired/r-1/omega/stdout.jsonl b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r-1/omega/stdout.jsonl new file mode 100644 index 0000000..8889f84 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r-1/omega/stdout.jsonl @@ -0,0 +1,9 @@ +{"case":"rmsnorm_1x2048","rc":0,"mutant":0,"first_call_ns":95257055,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[106305,106721,107201,107840,106321,106337,111009,108369,109713,107553,107681,107729,107265,108129,107297,107521,108497,108081,108913,109201,109441,109361,108752,108913,108833,109393,110593,109009,108849,108257,108673,109361,108513,110161,64656,107985,108369,108849,109585,108289,108433,107361,107585,108673,109105,110273,108017,107665,107665,108129],"chip_ns":[103857,104241,104673,105184,103904,103889,104465,105617,106961,104833,104993,105153,104769,105329,104385,105025,105873,105121,106209,105921,106593,106576,105920,106081,105873,106417,107601,106049,105905,105345,105809,106353,105793,107553,61792,105361,105889,106033,106785,105489,105713,104609,105025,106017,106321,107409,105265,104977,105185,105553]} +{"case":"rmsnorm_64x2048","rc":0,"mutant":0,"first_call_ns":999401,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[210322,208018,210034,210194,209810,209890,214834,208050,207185,207937,210978,167010,208690,212994,211602,211394,215489,211665,211041,211618,213074,213842,210626,208866,209650,209794,208546,207202,210385,214817,210065,211234,211842,212354,211122,209650,209058,209330,214754,210306,214050,211154,208994,208721,208993,213378,214370,218594,213410,213506],"chip_ns":[107969,106896,107201,107809,107217,107745,107953,107665,106785,107793,107953,64640,108577,108465,107585,108689,108689,108353,108385,108737,111265,108577,108273,107808,107777,107201,107057,107761,108193,109089,107937,108849,109681,110353,109761,107169,107697,107441,107905,108401,111537,108145,107937,106801,107473,108225,108033,108849,107841,107249]} +{"case":"rope_32x128","rc":0,"mutant":0,"first_call_ns":584021,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[107745,107521,107745,108401,109297,109345,110961,113297,109713,109617,111057,109793,110897,111793,112049,111361,110545,110369,110657,109713,108816,108961,109473,109857,110321,109873,111857,109889,109793,110353,109537,109985,108833,108225,108193,108497,109761,107969,107953,109329,109281,109521,110033,110113,110561,110656,111185,109745,110753,65441],"chip_ns":[103505,103569,103729,104225,104929,105089,106609,108785,105249,105377,106689,105553,106657,107185,107505,106497,106097,106081,105889,105281,104448,104897,105297,105729,106177,105889,107681,105745,105345,106017,105105,105793,104769,104337,104225,104449,105713,103921,104065,105089,105025,105201,105985,105937,106384,106320,107216,105425,106577,61025]} +{"case":"swiglu_5632","rc":0,"mutant":0,"first_call_ns":601190,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[109873,111297,111121,110865,111153,111361,111361,111313,111825,106609,110913,111745,110721,110737,112625,111473,111489,110753,105681,111841,110289,110913,110049,110113,109265,109745,108577,113169,109489,109104,109393,109617,109089,109169,109393,109345,109201,111041,109073,108881,109409,110449,111457,110145,109969,110689,110529,110625,109937,109569],"chip_ns":[104305,105873,105377,105473,105793,105505,105857,105569,106097,100961,105425,106561,105313,105393,107345,105697,105729,105233,99921,106513,104721,105233,104545,104433,103969,104641,103553,108081,104176,103872,103889,104241,103889,103937,103985,104113,103857,105553,103761,103569,104113,105153,105745,104689,104641,105361,105137,105297,104625,104161]} +{"case":"swiglu_131072","rc":0,"mutant":0,"first_call_ns":798055,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[224322,226402,193010,229154,228482,230146,232514,225458,221394,229826,225186,227266,220850,222690,224466,226642,227874,227506,228130,203330,226914,227522,223538,232002,228930,229522,231666,234898,236418,228402,225026,229794,234466,226914,226466,226386,225586,225010,223618,225474,223378,225698,221970,224738,226898,222530,222530,225506,222594,233010],"chip_ns":[108913,108241,75377,107985,108353,108609,109057,108257,107793,109393,108417,107553,106945,107361,107025,107345,108929,109105,109697,84833,109553,109057,109809,109953,108497,109425,109329,109473,107921,108529,109473,109040,108673,109665,109505,108385,107825,108977,109137,109329,107089,107457,108033,109009,106977,107745,107841,107649,106896,107137]} +{"case":"gqa_f32_32q8kv_hd128_ctx2048","rc":0,"mutant":0,"first_call_ns":5538641,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[1222362,1378380,1252331,1406173,1313083,1427820,1217531,1194139,1148538,1213066,1403820,1310092,1457933,1351787,1233819,1212827,1117754,1117497,1204731,1334955,1455533,1308412,1435532,1135642,1336028,1232682,1170155,1142202,1133098,1162426,1396572,1266859,1362732,1270059,1296971,1238523,1106890,1100009,1244491,1336668,1263291,1345980,1324859,1225947,1250459,1127338,1253019,1380364,1232154,1301836],"chip_ns":[509972,519124,419891,515653,516500,525972,422132,419972,417924,422116,524612,522789,521909,520372,421684,417620,424100,422083,498485,525108,514980,522981,519076,420612,509909,418563,424772,420420,400900,420820,518709,524485,522837,524021,525700,508532,402148,420019,518212,520229,524133,525397,519764,418276,493589,415412,519653,521973,526340,517397]} +{"case":"gqa_f32_32q4kv_hd64_ctx2048","rc":0,"mutant":0,"first_call_ns":812951,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[652758,664277,674678,646006,653446,539636,541621,533429,536948,539589,594677,640502,681830,575989,540645,665493,586038,552580,651670,660182,803415,740550,955145,530100,880072,846839,540549,540037,555637,529684,516741,532196,553317,541765,577381,553461,658694,548468,552901,666726,537461,645605,524085,643686,642085,534469,538645,536356,540341,671142],"chip_ns":[523221,514180,519972,527061,514341,417683,410099,416772,415555,414899,470724,515813,520101,422404,415684,527076,431428,424195,532453,527589,661510,606565,827512,415875,749415,700086,422788,416692,414596,415571,398836,416467,416899,420836,439172,431396,525989,426915,428516,531125,420644,526148,411476,523829,522868,417620,413956,415715,417204,536821]} +{"case":"gqa_rows_f32_32q8kv_hd128_m256","rc":0,"mutant":0,"first_call_ns":3840929,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[2678648,2867321,3218701,2857321,2641895,2718328,3127147,2878553,3013051,3017674,3140763,2974394,3004042,2939786,3123691,2876057,2682327,2796681,3100043,2877993,3114028,3003467,2701880,2685191,2638087,2710408,2711768,2696887,2617830,2886937,2911562,2864953,2676727,2781640,2618327,2651815,2860873,2657367,2618310,2769944,2651527,2664103,2834664,2656471,2676119,3050122,2827865,2691255,3042475,2628823],"chip_ns":[1622013,1830096,2083425,1738815,1613118,1629501,1981970,1753229,1879745,1908497,2011523,1790417,1864881,1796607,1934082,1761712,1602029,1688302,2018321,1797679,2030529,1917969,1669918,1643310,1612814,1683199,1670558,1679966,1603134,1840831,1853775,1819968,1619503,1707776,1591086,1621694,1794944,1620382,1579407,1716320,1626238,1617214,1790160,1613599,1624687,2007058,1781519,1591999,1930256,1586510]} +{"case":"paged_bf16_32q8kv_hd128_ctx2048_bs16","rc":0,"mutant":0,"first_call_ns":518388,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[142514,168513,171698,171057,172738,199857,171858,173505,174722,171602,171857,173330,174769,172882,172945,175074,171617,177522,177425,175650,677350,173217,170482,172577,171026,172945,138145,1002553,175842,174369,174370,170529,174418,230210,174769,174034,174161,281603,176433,172834,174337,175346,173409,174770,171665,171266,171841,168818,170817,177554],"chip_ns":[75296,103793,105313,104401,105665,132641,105121,105937,104289,104785,105953,105793,105089,105281,105393,105873,105265,105041,108513,104497,609669,104817,104113,104145,104561,104689,69457,933097,106385,104433,105137,104321,104305,158545,104465,103633,103697,212466,105553,104369,104753,104353,104433,103936,103857,103824,103697,103856,103761,104961]} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/paired/r-1/torch/stderr.txt b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r-1/torch/stderr.txt new file mode 100644 index 0000000..588069f --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r-1/torch/stderr.txt @@ -0,0 +1,15 @@ +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Memory efficient kernel not used because: (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:1240.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Memory Efficient attention has been runtime disabled. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/sdp_utils_cpp.h:600.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Flash attention kernel not used because: (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:1242.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Flash attention has been runtime disabled. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/sdp_utils_cpp.h:588.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: cuDNN attention kernel not used because: (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:1244.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Expected query, key and value to all be of dtype: {Half, BFloat16}. Got Query dtype: float, Key dtype: float, and Value dtype: float instead. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/sdp_utils_cpp.h:110.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: cuDNN attention has been runtime disabled. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:922.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +LOCK_HELD_S 3.176894679 diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/paired/r-1/torch/stdout.jsonl b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r-1/torch/stdout.jsonl new file mode 100644 index 0000000..17ba7d2 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r-1/torch/stdout.jsonl @@ -0,0 +1,32 @@ +{"case": "rmsnorm_1x2048", "backend": "torch_rms_norm", "warm": 10, "reps": 50, "dev_ns": [16608, 11424, 11008, 11488, 9600, 10368, 10400, 10656, 11424, 10112, 10656, 9984, 10496, 11552, 10720, 10464, 10592, 10432, 10784, 10080, 10304, 10080, 10592, 10240, 10240, 10592, 10336, 10176, 10656, 16928, 10112, 10176, 10496, 10560, 10496, 11200, 10432, 10304, 10240, 10048, 11232, 10176, 10400, 10400, 11072, 10464, 10368, 10144, 10208, 11680], "wall_ns": [50352, 21952, 19569, 18432, 20368, 19504, 19200, 18464, 19889, 18112, 18720, 19376, 18128, 17888, 17921, 19616, 18416, 20544, 20576, 20480, 18065, 17952, 17840, 18576, 18560, 18528, 18177, 19568, 17904, 17776, 17936, 22912, 19169, 18832, 17792, 18496, 20288, 17984, 18737, 19104, 17904, 17888, 18128, 18160, 19281, 18128, 18512, 18704, 17664, 17776]} +{"case": "rmsnorm_64x2048", "backend": "torch_rms_norm", "warm": 10, "reps": 50, "dev_ns": [11936, 10336, 10432, 10368, 10432, 10624, 10400, 10208, 10176, 10368, 10784, 11008, 10400, 10496, 10336, 10848, 10208, 10176, 10272, 10400, 10368, 10240, 10304, 10496, 10528, 10272, 10272, 10464, 10304, 10272, 10240, 10688, 10400, 10432, 11488, 10208, 10528, 10528, 10560, 11584, 10816, 10656, 11328, 10560, 10176, 9792, 9248, 10880, 10176, 10848], "wall_ns": [351635, 46928, 38833, 38880, 38576, 38785, 39120, 38560, 37745, 39776, 39600, 37745, 38592, 40240, 38177, 38016, 38592, 38049, 37776, 37600, 43041, 37680, 38944, 38401, 38320, 37808, 38273, 38304, 38096, 37489, 38352, 37760, 39873, 38320, 37616, 38497, 38000, 38432, 37921, 38448, 38464, 37281, 37824, 38944, 38801, 38048, 38416, 38161, 37472, 37968]} +{"case": "rope_32x128", "backend": "torch_ops", "warm": 10, "reps": 50, "dev_ns": [43072, 35328, 37760, 35840, 35360, 35872, 35392, 36512, 36384, 36512, 36512, 36288, 34432, 35584, 36448, 40864, 37600, 36544, 36896, 35104, 35520, 35424, 35680, 34592, 35104, 35232, 35328, 35488, 35392, 34976, 35808, 36512, 35360, 35936, 36352, 36096, 36000, 35680, 39200, 35968, 36032, 37184, 36128, 37920, 34912, 37632, 34752, 36448, 38080, 37472], "wall_ns": [102544, 48017, 45600, 45201, 45104, 44144, 45105, 44192, 46689, 54032, 46480, 48257, 48272, 46321, 45632, 46033, 45024, 48640, 46961, 47408, 46321, 43760, 46416, 45025, 45168, 46097, 45904, 44640, 45601, 44032, 46865, 47408, 44176, 43969, 46064, 46545, 45888, 45376, 50177, 47616, 45825, 46672, 46816, 46097, 45616, 45041, 48128, 46080, 46785, 48048]} +{"case": "swiglu_5632", "backend": "torch_silu_mul", "warm": 10, "reps": 50, "dev_ns": [15968, 11264, 12352, 11904, 11328, 12480, 11008, 13088, 11200, 12544, 12736, 13152, 11648, 12672, 13472, 11424, 11392, 11360, 13408, 16288, 11296, 11232, 11264, 11264, 11072, 12288, 12256, 12224, 12512, 12704, 10752, 13024, 11392, 12832, 13056, 11264, 12928, 11904, 11808, 12800, 11232, 13568, 11392, 11552, 13408, 13536, 12352, 11744, 12640, 14112], "wall_ns": [59968, 34961, 34608, 32496, 30497, 29296, 32784, 43617, 32880, 31888, 31680, 34417, 32352, 32592, 30401, 29328, 31616, 29504, 33569, 30176, 33296, 36737, 29904, 30704, 32368, 28897, 31472, 31424, 29440, 29361, 31184, 31936, 34224, 33617, 32144, 30224, 31809, 32688, 38976, 31441, 32128, 30848, 32784, 32737, 35408, 33104, 36081, 31632, 30096, 29584]} +{"case": "swiglu_131072", "backend": "torch_silu_mul", "warm": 10, "reps": 50, "dev_ns": [13312, 11552, 11392, 12800, 12608, 12576, 13696, 14080, 11424, 12800, 13056, 12800, 11936, 13632, 11520, 13312, 12320, 13600, 12640, 11520, 21696, 12864, 13728, 11392, 11104, 13664, 11168, 12416, 12576, 13984, 12704, 13184, 12160, 20160, 11744, 11968, 12320, 12320, 11648, 12608, 12768, 12224, 13120, 11904, 11936, 11488, 13024, 13152, 12160, 14048], "wall_ns": [69297, 127793, 65633, 59680, 59313, 58048, 57457, 58640, 59313, 61360, 58449, 58336, 59265, 60144, 57953, 60176, 58977, 59184, 59889, 58513, 59648, 59377, 58384, 58001, 58992, 57729, 58848, 59793, 56608, 57729, 59024, 58913, 58896, 59745, 58880, 60273, 58144, 58417, 58832, 60369, 56944, 58353, 56592, 59473, 59808, 57969, 58624, 58097, 57696, 59761]} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_cudnn_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_flash_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_efficient_f32", "warm": 10, "reps": 50, "dev_ns": [237952, 236896, 237984, 236256, 236192, 234304, 238272, 236608, 235520, 236448, 236608, 235744, 236224, 236288, 238720, 235712, 233696, 237184, 235136, 236064, 237248, 234528, 235360, 236416, 236064, 235008, 235360, 236160, 234656, 236544, 234784, 235200, 235520, 235168, 237312, 234720, 234208, 233792, 273312, 238752, 269696, 274464, 268064, 234528, 236576, 236096, 242656, 267936, 237088, 237760], "wall_ns": [1916529, 1750975, 583685, 555813, 557781, 546549, 552885, 544724, 544581, 546341, 546549, 543700, 546661, 551093, 557765, 562085, 573461, 552501, 545588, 554821, 570453, 576213, 552085, 549829, 565173, 687030, 573637, 552085, 545268, 548773, 546709, 544501, 543956, 561317, 562421, 577445, 566037, 554837, 545957, 562069, 575413, 557477, 549172, 554453, 546901, 564069, 568437, 552501, 620629, 553797]} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_math_f32", "warm": 10, "reps": 50, "dev_ns": [982816, 979968, 979552, 979904, 963936, 1063296, 988736, 979296, 988256, 987008, 1050464, 1154432, 1214240, 1146176, 1169696, 1027264, 1105216, 1199168, 1123264, 1108384, 1042432, 1153088, 1185568, 1181472, 1084000, 1307232, 1168480, 1176864, 990336, 1166592, 1305440, 1031552, 1201536, 986720, 1145344, 1185664, 1207360, 1109120, 1149984, 1043104, 989568, 1079328, 992736, 991904, 994848, 982464, 994912, 980416, 1051584, 1009984], "wall_ns": [1519533, 1459773, 1438781, 1314171, 1564750, 1524493, 1709679, 1490717, 1514317, 1721199, 1385036, 1343276, 1294188, 1291467, 1333915, 1578286, 1515165, 1490013, 1485837, 1513182, 1417340, 1300235, 1512317, 1497998, 1362043, 1337772, 1277755, 1323820, 1310891, 1314828, 1299243, 1437485, 1445884, 1504717, 1275868, 1428428, 1473149, 1381468, 1427228, 1350604, 1414124, 1405069, 1499277, 1304283, 1307468, 1284859, 1302427, 1393548, 1599694, 1536798]} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_cudnn_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [79072, 78336, 80416, 79232, 78848, 83264, 82208, 84896, 92800, 84864, 88384, 84640, 87648, 84960, 87328, 90400, 85600, 82688, 85792, 87168, 88672, 86688, 85760, 89760, 87840, 89056, 83744, 86464, 83104, 81792, 83968, 77440, 80736, 84000, 85696, 86592, 85376, 84768, 83776, 84768, 83680, 86080, 85216, 78592, 78688, 79712, 77664, 78656, 75712, 83616], "wall_ns": [445268, 452404, 448980, 449156, 437092, 445428, 441988, 425203, 438212, 427764, 426676, 424115, 427764, 425188, 423619, 435140, 422836, 432132, 444164, 461620, 447236, 447443, 438515, 450292, 425716, 434084, 452708, 445092, 454596, 446595, 447268, 442228, 421668, 438164, 440276, 442387, 442388, 431108, 438036, 441204, 424675, 422612, 426772, 426020, 423699, 424884, 423764, 425315, 426612, 447652]} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_flash_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [86720, 83488, 86432, 89664, 96960, 92544, 94784, 94976, 88896, 93696, 93984, 94144, 96672, 92672, 93632, 93888, 91520, 92768, 94688, 94752, 93792, 94656, 95040, 94176, 90912, 92896, 91968, 83168, 90944, 92832, 92544, 92672, 91392, 95488, 95744, 94240, 90752, 86336, 86848, 85888, 82464, 82176, 87712, 84800, 83200, 88864, 89440, 88416, 88192, 90944], "wall_ns": [436580, 426004, 436020, 436212, 429955, 441124, 439092, 457460, 456932, 464756, 448452, 444500, 453460, 432787, 433220, 442436, 445172, 459700, 458596, 429732, 442356, 447795, 446116, 439284, 428884, 449188, 451812, 453620, 454804, 442772, 451620, 449508, 433971, 425812, 430932, 433108, 439187, 431060, 427812, 436308, 510836, 571637, 635318, 498052, 634934, 605237, 533541, 446035, 432228, 454372]} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_cudnn_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_flash_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_efficient_f32", "warm": 10, "reps": 50, "dev_ns": [175968, 174144, 172640, 326176, 195968, 192448, 197088, 369120, 176448, 172704, 170528, 183744, 195680, 187232, 196608, 215712, 189056, 188704, 173952, 220800, 174592, 214688, 198208, 198272, 188000, 187008, 202304, 200192, 180320, 208448, 180544, 180512, 171712, 171584, 171296, 170848, 170912, 171744, 171008, 170656, 171936, 173056, 172608, 174112, 171648, 170432, 171648, 171456, 173088, 172224], "wall_ns": [299219, 274882, 270531, 272306, 269123, 270338, 269394, 272227, 270130, 268882, 315715, 272034, 358436, 337490, 269379, 275010, 270915, 269218, 375683, 271011, 271378, 307123, 290034, 266163, 266674, 267154, 266354, 266947, 263378, 266226, 267971, 266002, 266418, 271491, 268194, 269027, 268354, 268242, 268019, 268082, 266290, 268931, 267074, 268114, 267587, 268962, 266322, 268995, 267154, 268402]} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_math_f32", "warm": 10, "reps": 50, "dev_ns": [553408, 554816, 523712, 521824, 527392, 523616, 525920, 540832, 540000, 560960, 544960, 565056, 681536, 601888, 591968, 550400, 552704, 545952, 547264, 550944, 529120, 741920, 535424, 542560, 546496, 544864, 573888, 606048, 549056, 556928, 540992, 572160, 548096, 567136, 538688, 541568, 547744, 557728, 549792, 545088, 556992, 531712, 536224, 583040, 553632, 566944, 698592, 620576, 573248, 551712], "wall_ns": [713542, 643333, 644022, 832631, 659878, 649142, 698438, 721446, 636982, 661045, 638998, 646934, 649765, 638054, 634725, 637846, 635798, 642933, 651062, 638853, 629382, 646118, 621605, 634342, 638165, 629062, 657189, 636886, 631973, 635414, 634965, 629206, 628021, 656566, 650518, 652982, 655701, 648678, 577317, 560933, 567029, 564965, 564949, 554292, 713398, 664646, 677765, 680294, 660710, 645478]} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_cudnn_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [41504, 38336, 37024, 36064, 36480, 40096, 36512, 36640, 36960, 37088, 36352, 35648, 36608, 36704, 36352, 36832, 36288, 35712, 36960, 36032, 34944, 35776, 34752, 36640, 36064, 35552, 35744, 35584, 35744, 35808, 37088, 36576, 36288, 36480, 35776, 35648, 36800, 35968, 36608, 35296, 39296, 36224, 36000, 35360, 36384, 35584, 35360, 36096, 35584, 36832], "wall_ns": [153746, 131665, 130033, 129377, 128817, 128097, 130609, 127682, 129201, 127889, 127249, 126817, 127889, 128033, 126113, 126881, 130402, 126081, 126097, 128001, 130097, 130193, 127233, 127697, 127857, 127394, 129425, 131585, 128689, 127953, 128737, 129041, 128417, 137170, 127905, 131233, 126961, 127905, 128657, 127681, 127650, 127249, 126993, 129633, 127361, 129089, 128465, 128097, 128546, 125953]} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_flash_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [43552, 39232, 39008, 38976, 37664, 37664, 37888, 38656, 37664, 37440, 46464, 37344, 37120, 37472, 37760, 36032, 37280, 51936, 74688, 34752, 37696, 37120, 37472, 36288, 36608, 38144, 54272, 53664, 39456, 33984, 33088, 36736, 40256, 44256, 61248, 58304, 34336, 37216, 36608, 37568, 36928, 37088, 37888, 36832, 37600, 37408, 37504, 39488, 41088, 37824], "wall_ns": [168465, 135633, 159890, 241458, 134545, 132833, 129249, 149730, 155505, 153057, 129601, 129953, 132562, 130577, 130833, 128529, 128721, 129505, 130721, 136226, 129841, 130417, 130129, 127745, 130593, 129009, 127890, 129137, 129041, 127889, 127889, 127233, 130257, 128305, 127202, 129953, 130241, 128417, 129745, 128705, 128977, 128529, 129122, 133857, 130561, 130161, 127393, 128545, 129569, 129265]} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_cudnn_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_flash_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_efficient_f32", "warm": 10, "reps": 50, "dev_ns": [94368, 91776, 90752, 92000, 89984, 90272, 90560, 92672, 90944, 90912, 92032, 90560, 90912, 90880, 90656, 90976, 91136, 92032, 90144, 90848, 93024, 90752, 90528, 90880, 90912, 90848, 90720, 90048, 90752, 91872, 90784, 90880, 90816, 91328, 90304, 93824, 90816, 90880, 89152, 90720, 90688, 90688, 90912, 90944, 89792, 90912, 90848, 90624, 89760, 91136], "wall_ns": [738903, 471076, 297667, 289346, 287875, 301922, 295043, 300611, 290578, 291683, 293794, 296163, 286194, 286819, 294706, 287027, 293506, 287683, 294210, 285875, 288354, 285843, 297059, 294178, 291283, 299234, 292675, 288930, 288403, 285474, 289747, 301363, 291122, 298691, 289378, 294083, 289458, 285731, 298850, 293843, 291794, 300323, 292659, 290866, 296099, 291522, 292547, 287650, 295731, 286626]} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_math_f32", "warm": 10, "reps": 50, "dev_ns": [474368, 652864, 423264, 510144, 521216, 427232, 436192, 442912, 447392, 434112, 480192, 472512, 486240, 478336, 458976, 470080, 426528, 465312, 488864, 484832, 482624, 443392, 469760, 445824, 440512, 463520, 464640, 467840, 472544, 461152, 463040, 467904, 429248, 441472, 450880, 501408, 447712, 623136, 588832, 455744, 429920, 486816, 510496, 649248, 455520, 506976, 544384, 425280, 439552, 427328], "wall_ns": [673958, 634486, 705814, 706694, 681110, 684390, 642373, 709159, 689542, 683590, 678070, 642373, 660982, 635317, 639126, 664230, 646230, 655813, 767511, 937128, 813143, 653958, 697030, 915336, 735238, 717495, 691830, 701270, 681894, 682694, 640773, 674390, 628998, 626277, 631878, 633733, 675334, 685078, 699142, 707814, 664390, 689110, 650294, 696150, 686534, 682470, 687398, 645030, 691958, 699446]} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_cudnn_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [55936, 52992, 52288, 52096, 52096, 52032, 50816, 57184, 50880, 50880, 52032, 50976, 52896, 50880, 52128, 52864, 52736, 52000, 52128, 50784, 52256, 51200, 52544, 51872, 51712, 50080, 51200, 51872, 50528, 51872, 51072, 51136, 51840, 51200, 50976, 50688, 52064, 52128, 51840, 51104, 52096, 52480, 50848, 51776, 51104, 50720, 50656, 50912, 51072, 50816], "wall_ns": [19312232, 247762, 224162, 220434, 222242, 218706, 223554, 219858, 217026, 222466, 226274, 220418, 221506, 227378, 226306, 221858, 226370, 288754, 222642, 222466, 221298, 221682, 219634, 220146, 225122, 227298, 227154, 230450, 225634, 226626, 224914, 222210, 224625, 222482, 221314, 217810, 224466, 219794, 231554, 223234, 326867, 223330, 223058, 219954, 218354, 223794, 222530, 220530, 217217, 218818]} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_flash_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [55008, 53056, 55936, 51872, 52704, 52512, 53088, 52992, 53600, 52128, 54048, 51840, 51968, 53696, 51936, 52096, 50624, 51200, 53792, 53024, 52096, 52896, 52256, 50016, 49952, 56096, 51072, 53600, 50208, 52064, 51136, 51776, 51424, 51232, 51200, 51360, 49344, 49536, 48544, 49440, 51392, 51392, 52064, 51072, 50592, 49824, 51296, 52000, 49184, 50656], "wall_ns": [257170, 244242, 230562, 235122, 242786, 224226, 216882, 227090, 222770, 224258, 216338, 221938, 229730, 226450, 228546, 227042, 228482, 223906, 228530, 218225, 223154, 223810, 221298, 217634, 218370, 228962, 219554, 218594, 220274, 218754, 221074, 221186, 216322, 221810, 224561, 217346, 216578, 229810, 227122, 225522, 224578, 238738, 250354, 223762, 222146, 224770, 220370, 217938, 221506, 231170]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_cudnn_bf16_pregathered", "warm": 10, "reps": 50, "dev_ns": [35808, 33088, 30656, 30912, 29600, 29344, 31648, 31520, 30464, 29760, 31168, 37728, 30080, 30464, 31328, 40224, 30688, 29632, 29568, 30272, 29248, 32576, 29472, 30304, 30624, 29824, 31616, 30496, 29152, 30752, 29568, 30656, 29696, 29664, 29952, 30784, 29824, 3210656, 40096, 30432, 29376, 31008, 29664, 31264, 30656, 29664, 31072, 29792, 28576, 29600], "wall_ns": [72209, 45712, 43472, 42993, 44832, 42305, 50800, 42736, 40257, 41328, 40896, 40929, 41824, 40865, 44880, 44048, 40913, 41856, 40832, 40337, 42784, 41440, 41985, 40960, 41841, 42800, 42416, 42353, 40864, 40864, 52129, 39392, 40385, 41872, 40912, 40929, 42240, 42560, 40961, 41248, 42641, 42656, 51264, 39857, 43136, 41504, 41073, 40512, 41217, 42608]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "gather+sdpa_cudnn_bf16", "warm": 10, "reps": 50, "dev_ns": [199904, 222624, 265280, 234464, 219552, 204768, 198368, 194016, 202464, 213792, 218816, 216384, 218720, 216480, 216544, 216480, 234848, 228096, 211712, 198368, 209280, 233984, 238272, 213248, 219872, 196832, 196320, 193344, 198560, 203584, 207520, 208928, 213536, 207360, 209152, 209664, 217472, 222784, 219648, 213152, 213248, 213280, 205536, 197184, 237280, 238272, 228000, 234016, 198400, 195520], "wall_ns": [222802, 207490, 213793, 232515, 216129, 212050, 213138, 208866, 204562, 208866, 204833, 205570, 206738, 206770, 204834, 223265, 210642, 207890, 204530, 209954, 213666, 229426, 221426, 204465, 208914, 217762, 232402, 241602, 236610, 240466, 247747, 232274, 235634, 235730, 235906, 213778, 209921, 208258, 265987, 249762, 246482, 224850, 217026, 205202, 200481, 210530, 224258, 239698, 240946, 243938]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_flash_bf16_pregathered", "warm": 10, "reps": 50, "dev_ns": [36736, 35072, 35648, 35808, 34368, 34880, 34624, 35520, 35392, 34720, 35552, 34560, 41152, 35424, 34880, 34656, 34688, 33920, 34848, 34784, 34560, 34304, 34560, 34784, 35488, 35712, 34880, 34496, 35616, 34240, 36512, 34784, 35680, 35584, 35616, 34720, 34688, 34432, 34848, 34880, 34592, 35200, 35488, 35776, 34848, 34464, 34656, 34848, 34560, 34432], "wall_ns": [52177, 52112, 51072, 50961, 50144, 51073, 51168, 46289, 49808, 51233, 51056, 50352, 49985, 51184, 52001, 51008, 49041, 50016, 49104, 49281, 49920, 50097, 50192, 49969, 50192, 49185, 50000, 52336, 51153, 49968, 49953, 49184, 50065, 50016, 50160, 49025, 49104, 50177, 51024, 52129, 49376, 50833, 50048, 50336, 52001, 50000, 50161, 53136, 49937, 52448]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "gather+sdpa_flash_bf16", "warm": 10, "reps": 50, "dev_ns": [226560, 226208, 231904, 233952, 229952, 224448, 215808, 222048, 237920, 210816, 202912, 252096, 247584, 229760, 215936, 199200, 204576, 217824, 220576, 221280, 227104, 223872, 216992, 228736, 228512, 221568, 219040, 205920, 201728, 243168, 242880, 230304, 223264, 201792, 201184, 209440, 219008, 221440, 224992, 217568, 216768, 219328, 217536, 243328, 261824, 218240, 221600, 219136, 287264, 367168], "wall_ns": [259890, 332707, 229282, 237186, 219122, 215170, 219778, 211794, 217170, 210674, 226529, 227298, 345427, 267411, 250786, 225314, 210722, 226450, 242418, 289842, 277283, 257890, 240530, 250690, 248995, 253618, 213762, 219298, 277410, 252754, 240658, 228162, 211890, 215090, 229234, 236578, 232274, 234434, 249394, 246914, 233346, 248515, 244498, 214962, 244930, 267010, 253842, 240690, 211714, 211858]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_efficient_bf16_pregathered", "warm": 10, "reps": 50, "dev_ns": [108256, 106464, 108096, 106368, 107040, 105984, 107424, 106496, 105376, 105024, 105504, 105120, 107136, 105632, 105344, 106400, 105440, 107456, 104672, 105856, 108224, 107136, 107232, 107424, 104800, 107072, 104512, 106016, 106432, 106528, 106048, 107104, 107296, 105248, 106016, 107072, 106976, 106336, 107360, 107104, 105984, 105760, 107136, 105664, 107232, 104800, 106112, 106880, 105376, 105120], "wall_ns": [130177, 119009, 119473, 117729, 117681, 126738, 116321, 117233, 117681, 118625, 126769, 116801, 123825, 121985, 117409, 117713, 117745, 117585, 124945, 118625, 125697, 122193, 124545, 126018, 117473, 117777, 116593, 117729, 117841, 116689, 115537, 125745, 116657, 116609, 124753, 123793, 125073, 123841, 119569, 124833, 116625, 124993, 119425, 115809, 116545, 115729, 123874, 116769, 123409, 123825]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "gather+sdpa_efficient_bf16", "warm": 10, "reps": 50, "dev_ns": [275776, 293600, 292576, 291264, 284352, 295968, 293856, 286304, 314080, 298592, 268704, 269920, 286784, 292448, 290592, 302752, 295296, 278912, 290176, 272320, 286880, 316992, 301408, 270048, 314368, 269920, 346752, 276096, 283200, 398528, 378464, 272704, 293184, 288832, 275808, 281952, 299808, 384480, 353216, 296640, 300224, 280256, 346144, 296416, 277952, 273216, 275840, 286816, 295296, 289568], "wall_ns": [345315, 320194, 292323, 282770, 311827, 321267, 304083, 281538, 278882, 296531, 307763, 304914, 302035, 314963, 306018, 298835, 284819, 297714, 331011, 319091, 280338, 284883, 287538, 294803, 282818, 286323, 284530, 280467, 279378, 280611, 282434, 281459, 276818, 286306, 276275, 288738, 280819, 286226, 280515, 282594, 285699, 304498, 293395, 350003, 292451, 340499, 399923, 437924, 309299, 301026]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_math_bf16_pregathered", "warm": 10, "reps": 50, "dev_ns": [1293376, 1137632, 1096064, 1172704, 1207360, 1231648, 1172736, 1136992, 1126784, 1132640, 1275392, 1185664, 1101856, 1118528, 1104896, 1150240, 1119328, 1182688, 1359520, 1291648, 1582912, 1139456, 1280160, 1298400, 1420576, 1192736, 1302240, 1228896, 1261728, 1204384, 1232064, 1133952, 1103168, 1170016, 1115456, 1126784, 1123232, 1167648, 1236608, 1290304, 1274400, 1257216, 1182016, 1187104, 1288448, 1272480, 1208896, 1215072, 1162048, 1282048], "wall_ns": [1382028, 1297211, 1163867, 1389404, 1118857, 1175403, 1141530, 1129465, 1156187, 1179802, 1163338, 1336460, 1310843, 1194042, 1344540, 1155898, 1286428, 1307851, 1217115, 1307691, 1167706, 1266379, 1266539, 1217355, 1275675, 1206859, 1178570, 1149610, 1137866, 1231435, 1186682, 1147002, 1281755, 1352476, 1247419, 1363996, 1160346, 1276443, 1286987, 1267467, 1252283, 1210923, 1251963, 1263467, 1225706, 1350364, 1133770, 1274699, 1320860, 1317771]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "gather+sdpa_math_bf16", "warm": 10, "reps": 50, "dev_ns": [1504064, 1509664, 1507520, 1516928, 1502208, 1469632, 1451232, 1485760, 1455616, 1493568, 1469408, 1491968, 1496096, 1491136, 1491904, 1468160, 1499936, 1480576, 1476704, 1496224, 1473216, 1475488, 1495776, 1545984, 1576800, 1618432, 1385376, 1301856, 1456224, 1592448, 1558912, 1554496, 1559904, 1585632, 1581728, 1591648, 1597728, 1532736, 1610656, 1579296, 1603296, 1465120, 1337888, 1256512, 1234368, 1242496, 1239456, 1246496, 1239136, 1246784], "wall_ns": [1269291, 1256187, 1256795, 1259995, 1252203, 1246955, 1258683, 1250043, 1252378, 1247739, 1254539, 1249947, 1242011, 1240843, 1249115, 1257179, 1247291, 1255179, 1249019, 1256299, 1261450, 1255179, 1256347, 1251339, 1259323, 1254747, 1256523, 1251051, 1251291, 1251819, 1248107, 1256379, 1249211, 1259803, 1244379, 1258203, 1255483, 1248042, 1254091, 1251067, 1387260, 1281404, 1311755, 1336268, 1489229, 1302731, 1266619, 1263339, 1260491, 1263499]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_efficient_f32q_f32kv_pregathered", "warm": 10, "reps": 50, "dev_ns": [236224, 236032, 234240, 233760, 234592, 233536, 234176, 234112, 234400, 235232, 232544, 234144, 235552, 233376, 234080, 232512, 233024, 233440, 234048, 233440, 235360, 234528, 233984, 234336, 234144, 234176, 233792, 234496, 234208, 233472, 234080, 233056, 234432, 233664, 234304, 234176, 234400, 235040, 234976, 235360, 234144, 233536, 235296, 236608, 234368, 234592, 235296, 236128, 234304, 235232], "wall_ns": [266018, 247346, 248850, 248594, 247843, 248194, 249938, 246402, 246882, 246082, 246163, 245714, 246130, 246162, 244866, 245714, 244594, 246419, 245842, 245698, 245762, 245794, 246706, 244658, 246771, 246450, 245010, 246306, 245810, 245490, 245058, 246947, 246418, 247314, 249010, 246258, 246914, 246531, 244850, 249522, 247938, 248834, 247314, 247842, 247731, 245602, 247698, 244690, 244978, 245362]} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/paired/r0/omega/stderr.txt b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r0/omega/stderr.txt new file mode 100644 index 0000000..90adf16 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r0/omega/stderr.txt @@ -0,0 +1 @@ +LOCK_HELD_S .804653101 diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/paired/r0/omega/stdout.jsonl b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r0/omega/stdout.jsonl new file mode 100644 index 0000000..7a31059 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r0/omega/stdout.jsonl @@ -0,0 +1,9 @@ +{"case":"rmsnorm_1x2048","rc":0,"mutant":0,"first_call_ns":88536644,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[107441,107073,107521,107617,92049,107104,108065,107697,107153,107377,108465,108337,108129,108321,107825,107265,106977,109137,107265,106369,163617,106913,109873,107905,106737,107121,107809,108113,106641,107681,107264,106801,107777,108225,106881,108401,107521,107169,106609,107697,107841,63456,106641,107569,107425,107601,107185,107937,108001,107457],"chip_ns":[104705,104465,105025,104881,89536,104720,105425,105041,104577,104849,105825,105377,105361,105665,105121,104561,104449,106481,104577,103793,161137,104385,107265,105105,104241,104545,105329,105713,104145,105281,104640,104304,105377,105649,104209,105841,104945,104689,104017,105249,105153,61008,104177,104993,104929,105089,104833,105553,105345,104577]} +{"case":"rmsnorm_64x2048","rc":0,"mutant":0,"first_call_ns":996665,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[208418,209346,208497,213121,209457,208434,216530,214866,212914,212162,214882,211410,214530,212322,208466,213538,213218,214178,213586,207762,215937,212273,208690,214050,216850,209378,210274,212258,212066,214930,214114,213922,209570,213490,211522,213713,208001,211426,210370,211970,214946,209730,214706,210610,216866,210594,215666,211442,211058,208370],"chip_ns":[107649,109537,108289,109361,109377,108433,107985,108081,108065,108897,110736,108321,108577,108225,107873,107873,107937,107809,107809,105073,107601,106641,107617,109041,106801,108545,107841,107552,110081,108513,107617,108193,107329,107649,106929,108593,107361,111201,108593,107505,108545,109409,107537,109569,111153,109345,112321,109681,109569,108929]} +{"case":"rope_32x128","rc":0,"mutant":0,"first_call_ns":552789,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[110305,111569,110225,110065,109121,109457,108785,109361,109905,110241,109761,110161,109681,110065,109473,110049,110001,110480,110737,111025,111185,110225,111041,109569,109921,109873,782295,112609,110577,110737,110305,110241,110241,110097,111137,109937,109921,110609,110401,110881,109921,62608,109441,109793,110945,110529,110481,110897,111137,110609],"chip_ns":[106065,107057,106113,105937,105105,105425,104721,105201,105761,105393,105521,105921,105585,105569,105025,105937,106016,106432,106513,106529,106929,106017,106721,105329,105761,105889,778263,107905,106161,106449,105953,105505,105969,106129,107009,105601,105857,106337,106225,106849,105889,58512,105473,105617,106641,105745,106529,106897,106785,106369]} +{"case":"swiglu_5632","rc":0,"mutant":0,"first_call_ns":644374,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[111585,112385,110801,111729,112177,116001,112609,111889,112417,111313,111473,112561,112689,112817,111297,112641,110657,111393,111185,117297,111041,109857,110465,110832,110433,110401,110641,116353,110113,110321,110945,111649,111169,112129,112385,111729,107025,111825,112369,111441,111873,111665,110657,110193,110161,105553,109313,110017,110369,110305],"chip_ns":[106097,106529,105105,106209,106241,108097,106497,106049,106689,105793,106081,106865,106689,106865,105809,107281,104929,105665,105409,106081,105505,104561,105088,105648,105168,105057,105393,111153,104833,104849,105393,105905,105473,106593,106561,106257,101505,106177,106449,105777,106305,106081,105073,104897,104769,100385,104081,104769,104401,104481]} +{"case":"swiglu_131072","rc":0,"mutant":0,"first_call_ns":877656,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[229122,228770,238594,235762,238994,229586,235074,235458,228786,232530,240194,233554,227250,235058,226338,235075,233266,231266,228130,231122,228706,178962,228066,231250,228242,234626,230162,232706,231442,227442,228994,231602,232258,231650,229714,231698,233394,231330,224274,234946,231826,228610,228850,749814,234114,231058,231698,227698,212482,231138],"chip_ns":[110385,108897,110625,110897,112305,109025,112353,110689,110689,110145,111713,109985,109953,108737,110689,110497,111041,110065,109553,110993,109681,60592,109313,111425,110817,109232,108833,111745,113601,109745,109841,111441,111073,109649,110464,108929,109729,110769,110625,110257,109905,108417,108049,630854,107889,106881,108913,109889,90513,108465]} +{"case":"gqa_f32_32q8kv_hd128_ctx2048","rc":0,"mutant":0,"first_call_ns":5102716,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[3709905,1784255,1202347,1185466,1146154,1126234,1128074,1229818,1220507,1151274,1169146,1353228,1386572,1297004,1439532,1175258,1246683,1333884,1232139,1360748,1311771,1269339,1185002,1218091,1155994,1133306,1137866,1314027,1247611,1332524,1320107,1346140,1226955,1160826,1151930,1152330,1183099,1166090,1156010,1104409,1130074,1207723,1206154,1157658,1123738,1185195,1113913,1109594,1195226,1127898],"chip_ns":[432708,420628,422884,420820,420548,420148,418900,521988,422340,430628,427795,518852,531076,508229,671174,422595,528884,529653,419764,531845,508980,423476,429299,424628,426036,426564,416452,523956,420323,582341,508516,528548,421476,418212,416211,416787,422372,428532,424868,421715,413539,478980,424371,423923,420803,423188,410467,394387,429107,425315]} +{"case":"gqa_f32_32q4kv_hd64_ctx2048","rc":0,"mutant":0,"first_call_ns":847464,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[541269,543509,548293,552404,700838,545556,1451613,548981,543925,555508,544853,543285,1169466,558197,636118,565493,642389,538997,545989,541268,547909,616501,582022,623957,671782,648790,539716,650790,661862,617893,548165,660374,673318,671909,548565,536613,552085,535796,546997,534389,546597,539460,544613,651798,573749,543348,544245,547589,591237,551029],"chip_ns":[419411,418244,417684,418083,572149,416995,1321116,415588,418260,424547,418419,419572,1025305,415252,486197,415668,499524,418180,416500,421427,420772,491572,451604,476388,519925,525685,415411,520389,519189,492212,418676,511925,519493,526020,416659,415940,416292,417043,418436,416596,419844,415139,419316,524085,427060,395187,417859,418500,420484,417748]} +{"case":"gqa_rows_f32_32q8kv_hd128_m256","rc":0,"mutant":0,"first_call_ns":4157572,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[2579063,2498038,2715831,2744104,2957178,2306564,2463766,2461541,2655287,2504614,2406117,2814632,2576614,2415125,2624231,2511829,2670232,2551911,2752872,2847129,2635015,2381957,2523462,2851161,2641639,2482661,2497142,2516118,2430789,2419253,2635815,2420133,2532038,2465862,2467509,2573926,2456165,2432134,2412101,2555990,2265284,2402885,2530806,2423701,2524502,2432837,2537974,2501877,2655159,2585318],"chip_ns":[1487340,1459325,1661583,1693231,1884929,1278682,1379083,1383533,1585838,1489341,1380349,1766080,1503165,1384972,1594398,1444716,1595471,1500076,1556015,1582639,1569470,1366189,1491454,1763791,1581646,1370395,1421980,1475389,1374524,1369773,1580718,1375931,1480717,1382284,1394332,1481118,1390363,1384764,1363645,1500638,1236251,1369500,1481517,1374779,1474316,1385853,1479133,1444141,1617311,1582446]} +{"case":"paged_bf16_32q8kv_hd128_ctx2048_bs16","rc":0,"mutant":0,"first_call_ns":488484,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[181057,177506,173745,175218,178801,167794,175233,173778,172497,171746,173489,236322,173714,173825,171154,174578,179489,171394,174577,175362,175073,174866,144977,176290,172209,171986,173185,173234,132881,173073,172594,172369,174258,174593,231522,173010,170673,174290,170737,180594,174897,177762,176481,173186,174514,147265,174241,173842,175425,175170],"chip_ns":[104577,104657,104657,105121,104657,100593,105809,104433,104705,105105,104673,166018,105120,106465,105809,107345,106337,105329,105857,106817,105073,107185,76753,104961,104881,104945,106129,106593,64640,106129,106209,105969,106113,106273,164786,105745,106449,107377,106049,106641,107809,106896,106769,105425,105537,78656,104977,105457,104737,104913]} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/paired/r0/torch/stderr.txt b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r0/torch/stderr.txt new file mode 100644 index 0000000..f7fda9e --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r0/torch/stderr.txt @@ -0,0 +1,15 @@ +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Memory efficient kernel not used because: (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:1240.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Memory Efficient attention has been runtime disabled. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/sdp_utils_cpp.h:600.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Flash attention kernel not used because: (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:1242.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Flash attention has been runtime disabled. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/sdp_utils_cpp.h:588.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: cuDNN attention kernel not used because: (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:1244.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Expected query, key and value to all be of dtype: {Half, BFloat16}. Got Query dtype: float, Key dtype: float, and Value dtype: float instead. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/sdp_utils_cpp.h:110.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: cuDNN attention has been runtime disabled. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:922.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +LOCK_HELD_S 3.490689865 diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/paired/r0/torch/stdout.jsonl b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r0/torch/stdout.jsonl new file mode 100644 index 0000000..83f87f4 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r0/torch/stdout.jsonl @@ -0,0 +1,32 @@ +{"case": "rmsnorm_1x2048", "backend": "torch_rms_norm", "warm": 10, "reps": 50, "dev_ns": [16064, 11008, 11648, 10240, 10464, 10272, 10240, 11136, 10016, 10080, 16800, 10176, 10048, 11136, 10560, 10432, 10624, 10432, 10368, 10496, 10816, 10656, 10624, 10592, 10624, 10496, 9248, 9792, 10848, 10624, 10368, 10592, 10464, 9824, 10432, 11072, 10272, 10528, 10272, 10272, 10624, 10688, 10688, 10432, 9952, 10432, 10464, 10432, 9728, 9248], "wall_ns": [48672, 23601, 19520, 21104, 18752, 19872, 19537, 19088, 18832, 20176, 18688, 19200, 18257, 23248, 18656, 19856, 18880, 19952, 19697, 20128, 18800, 18960, 18896, 19136, 18849, 20624, 18720, 20272, 18672, 18176, 19729, 19344, 18352, 19040, 19120, 19280, 18625, 18400, 19984, 20320, 18768, 19328, 19825, 18912, 18576, 19328, 19632, 18929, 18688, 19968]} +{"case": "rmsnorm_64x2048", "backend": "torch_rms_norm", "warm": 10, "reps": 50, "dev_ns": [10944, 10528, 10240, 10304, 10240, 10144, 10016, 10400, 11008, 9440, 10400, 10272, 10144, 10368, 10112, 10400, 10720, 10432, 9344, 10336, 10688, 10944, 10112, 10368, 10368, 10528, 10112, 18080, 10112, 10208, 9632, 9408, 10880, 9248, 10528, 10272, 10304, 10272, 10496, 10976, 10144, 10144, 10208, 10560, 10336, 10368, 10400, 10176, 10272, 9760], "wall_ns": [345187, 49328, 39040, 38049, 37392, 36576, 37473, 46304, 37008, 36945, 36592, 37408, 37313, 36848, 37760, 36289, 37136, 38096, 37425, 37024, 37232, 37329, 37456, 36800, 37617, 37504, 36736, 37089, 37040, 37728, 37377, 38560, 38784, 37745, 37760, 38480, 40241, 49920, 38192, 37921, 37824, 37184, 37153, 36864, 37840, 36817, 37152, 37584, 37873, 37168]} +{"case": "rope_32x128", "backend": "torch_ops", "warm": 10, "reps": 50, "dev_ns": [43040, 36352, 35936, 35136, 35968, 35104, 34880, 36480, 33792, 34848, 35392, 35072, 34944, 35776, 35040, 35712, 35200, 35360, 34912, 34816, 36864, 40640, 35392, 35296, 34752, 35424, 35232, 35104, 35168, 35744, 34784, 36352, 35392, 35136, 35680, 35296, 35936, 35200, 34976, 35168, 35072, 35488, 35008, 35936, 39200, 36320, 35392, 35072, 35328, 34848], "wall_ns": [71329, 46512, 42560, 42001, 42272, 42161, 42496, 44208, 43841, 44800, 44128, 45105, 44064, 44849, 45760, 44080, 47329, 46752, 43905, 44320, 44208, 43905, 43120, 43856, 46321, 43728, 43745, 43872, 44144, 44225, 44352, 46161, 46000, 44720, 44369, 45744, 44497, 43856, 44208, 47105, 43712, 43649, 44176, 43344, 45105, 44912, 46032, 46849, 45552, 45169]} +{"case": "swiglu_5632", "backend": "torch_silu_mul", "warm": 10, "reps": 50, "dev_ns": [14560, 12800, 12832, 12576, 12672, 11744, 13312, 13248, 12512, 12192, 13376, 13248, 12640, 12192, 12128, 12832, 12384, 11968, 12768, 14880, 12224, 12832, 12384, 12288, 11712, 13120, 12288, 12096, 12896, 12576, 11904, 12896, 12480, 12000, 12928, 12192, 12096, 12960, 12320, 12096, 12896, 13120, 12384, 12160, 12832, 12288, 12096, 12832, 12320, 12576], "wall_ns": [46096, 36401, 31376, 31872, 32417, 29424, 31664, 31744, 32257, 32160, 32160, 31233, 30048, 30288, 29040, 29201, 31712, 29888, 29712, 29537, 28960, 29104, 30016, 30337, 30672, 29056, 32064, 30033, 31184, 29232, 29441, 28064, 28240, 34208, 28801, 28272, 30864, 28400, 32769, 29904, 29568, 31568, 31521, 29648, 32848, 29489, 29296, 29904, 34048, 29537]} +{"case": "swiglu_131072", "backend": "torch_silu_mul", "warm": 10, "reps": 50, "dev_ns": [14496, 12256, 11584, 11808, 11872, 12896, 12224, 11872, 12896, 13056, 12288, 11904, 12896, 12096, 12064, 12032, 11712, 11840, 11936, 13024, 12128, 11904, 12896, 13056, 12032, 12128, 12864, 12320, 12000, 12896, 12224, 12000, 12832, 5472, 11936, 11808, 11936, 11808, 13280, 12160, 12032, 12768, 12032, 11808, 12544, 12192, 11936, 11872, 11616, 12128], "wall_ns": [62673, 102272, 58481, 57248, 58369, 57088, 56609, 56272, 56129, 56528, 56177, 57776, 57585, 58384, 57009, 56368, 56081, 55984, 56161, 56208, 56097, 56848, 56385, 57568, 55665, 55872, 56385, 56192, 56305, 57728, 56353, 55792, 56929, 57616, 56433, 56688, 56945, 56400, 55441, 55952, 56305, 56528, 57153, 56816, 56353, 58192, 57457, 62112, 57441, 57776]} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_cudnn_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_flash_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_efficient_f32", "warm": 10, "reps": 50, "dev_ns": [236928, 237184, 238208, 237344, 235552, 236160, 239520, 238496, 237344, 236288, 235200, 238304, 236512, 235488, 313792, 242400, 237344, 237504, 235392, 242656, 235584, 233856, 235520, 234528, 234112, 236096, 236480, 237472, 235232, 235168, 234432, 236448, 234720, 235712, 235648, 234336, 234272, 234176, 235520, 236320, 235968, 240000, 235424, 269600, 239488, 272192, 278400, 273728, 236256, 236352], "wall_ns": [1983585, 1748479, 558309, 547365, 546661, 543877, 547396, 557045, 571109, 566261, 551573, 543525, 566101, 562133, 550228, 548261, 560165, 553301, 567317, 547573, 546772, 548837, 548613, 547061, 545444, 554725, 565333, 578821, 667318, 853880, 566436, 579029, 764967, 645414, 576325, 567189, 550837, 550660, 544725, 545269, 545045, 545140, 547461, 549333, 568341, 573061, 552229, 550533, 554244, 569029]} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_math_f32", "warm": 10, "reps": 50, "dev_ns": [986432, 984736, 989408, 996384, 1004000, 1007840, 975744, 975776, 968192, 966848, 963200, 982752, 995136, 996416, 988384, 980704, 986400, 980256, 974048, 970496, 973504, 970688, 980192, 976352, 973440, 987872, 975296, 980384, 985696, 984352, 1053504, 1026144, 1167584, 1068832, 979008, 984864, 984928, 1075104, 1047456, 979392, 1046912, 1069664, 1002720, 999456, 989664, 1021056, 980384, 1003936, 994656, 987680], "wall_ns": [1938064, 1345308, 1300716, 1326155, 1308604, 1326699, 1307596, 1296491, 1310235, 1296956, 1310811, 1301371, 1292156, 1300859, 1302091, 1313436, 1308571, 1283804, 1291115, 1299147, 1310811, 1304364, 1296235, 1297260, 1304651, 1290731, 1290299, 1357724, 1554750, 1482637, 1380492, 1460269, 1438316, 1291979, 1305356, 1296203, 1276107, 1313548, 1371132, 1283675, 1280971, 1281387, 1284171, 1271868, 1277579, 1273755, 1283019, 1283787, 1276875, 1284908]} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_cudnn_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [91584, 88864, 87552, 87520, 86144, 88832, 87840, 86624, 89792, 89280, 88672, 86208, 88416, 89472, 87872, 87008, 91648, 87712, 88256, 88960, 90976, 87840, 89920, 89216, 91904, 87392, 91072, 88160, 86400, 89984, 86912, 88224, 89504, 87424, 92544, 90944, 86176, 87808, 88608, 90016, 87296, 88352, 92704, 88096, 89664, 88416, 92096, 85312, 89152, 88736], "wall_ns": [425572, 433604, 429620, 429827, 426804, 497684, 447028, 716215, 492996, 423204, 446148, 642805, 437124, 451428, 548885, 424851, 441412, 434804, 427908, 425908, 424995, 424260, 427716, 436995, 442788, 446836, 449428, 446548, 443316, 434036, 438132, 421811, 430884, 421524, 429923, 421236, 432804, 420483, 431012, 421492, 429316, 424163, 423060, 419540, 424675, 420852, 426980, 425924, 446371, 482213]} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_flash_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [171712, 94080, 96352, 95008, 100384, 104096, 95040, 101184, 94016, 94240, 103200, 97760, 100032, 105824, 101952, 101344, 96416, 99936, 95200, 98880, 102688, 142112, 141600, 122880, 106688, 110592, 106944, 103360, 105856, 106624, 104704, 106080, 104672, 123264, 104032, 126176, 124608, 121952, 102336, 96224, 102240, 104896, 106496, 102912, 102336, 104224, 103360, 99104, 101856, 94016], "wall_ns": [38758482, 454708, 429540, 434195, 431060, 431044, 431044, 428851, 428980, 438548, 468612, 450452, 457908, 444308, 441636, 427268, 439811, 465828, 471669, 457780, 440819, 445620, 447396, 434948, 26240501, 455316, 427908, 447860, 465716, 467492, 461652, 2483861, 594294, 35218195, 573829, 446436, 450356, 430771, 440180, 422740, 426916, 423331, 439124, 425060, 463636, 426900, 447316, 455332, 460116, 453556]} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_cudnn_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_flash_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_efficient_f32", "warm": 10, "reps": 50, "dev_ns": [175232, 171168, 173248, 171040, 172032, 172576, 171648, 170592, 171744, 172544, 171520, 172608, 170528, 172672, 172640, 170912, 170528, 172736, 170816, 171680, 170976, 171104, 172736, 170880, 173024, 172032, 171136, 171424, 174848, 170080, 170144, 171072, 172864, 172192, 172736, 171520, 170816, 170720, 173024, 172064, 171744, 171200, 171968, 171904, 172672, 172864, 171936, 172032, 171200, 171872], "wall_ns": [297955, 270610, 265570, 266995, 268162, 268002, 264323, 266674, 264306, 299299, 265970, 267043, 265346, 266994, 263218, 267043, 265250, 263106, 264099, 263170, 264226, 266243, 265106, 267426, 266083, 266082, 38303422, 266082, 267763, 267122, 265154, 264179, 266290, 267762, 265363, 267410, 266866, 267347, 267058, 266098, 265235, 270546, 267122, 266259, 266050, 268322, 264115, 265250, 263922, 266947]} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_math_f32", "warm": 10, "reps": 50, "dev_ns": [568768, 596288, 608128, 520064, 490208, 562720, 558880, 454656, 495872, 633024, 572992, 516352, 516352, 526304, 575680, 626912, 468192, 452576, 480288, 472480, 465600, 463328, 483776, 461120, 483776, 486240, 453696, 489760, 518656, 528800, 526464, 532800, 525344, 490240, 551936, 538560, 454272, 695168, 547456, 560896, 571424, 543040, 524672, 570784, 528544, 480768, 465312, 469504, 459936, 466208], "wall_ns": [606805, 570613, 569045, 571221, 562933, 564069, 19727900, 582805, 570501, 558261, 570213, 559061, 562085, 557941, 557716, 573493, 588614, 571365, 578277, 569141, 570277, 571285, 566325, 570212, 19430010, 568405, 568053, 564277, 566117, 571093, 568133, 566341, 567077, 565557, 566293, 569060, 565285, 568005, 579669, 566981, 35267540, 700758, 571653, 565781, 584053, 767671, 578149, 565125, 670934, 584085]} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_cudnn_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [41888, 38912, 46144, 37216, 36768, 40480, 36320, 36160, 37408, 36704, 36960, 36704, 36768, 36864, 37664, 36576, 34976, 36704, 36864, 35808, 35136, 36576, 36800, 36224, 40672, 36704, 36608, 37984, 35840, 35456, 36576, 36384, 36832, 37248, 35360, 36800, 35904, 35840, 36192, 36544, 36768, 36512, 35840, 36672, 36736, 36288, 36896, 41024, 36832, 37600], "wall_ns": [166305, 136545, 130737, 130993, 140914, 130977, 128849, 128225, 127073, 129857, 127409, 130818, 129697, 131185, 130817, 131073, 129281, 127649, 130001, 131378, 129009, 131985, 128033, 129649, 126769, 128433, 128178, 129265, 129585, 129921, 127313, 129633, 128849, 129089, 130882, 129361, 128273, 132273, 130065, 129793, 129249, 129746, 131457, 130529, 133489, 127761, 127057, 127921, 127633, 128066]} +{"case": "gqa_f32_32q4kv_hd64_ctx2048", "backend": "sdpa_flash_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [41376, 38528, 38880, 38208, 37504, 46240, 38176, 39328, 37056, 39552, 37440, 36032, 37824, 37472, 37440, 36544, 36896, 37504, 36800, 36960, 37184, 36640, 36800, 37152, 37664, 38080, 36672, 39584, 37760, 38944, 36864, 36608, 36832, 36608, 37216, 36384, 36704, 37280, 36960, 36896, 36896, 36448, 37088, 37312, 37088, 37952, 38976, 40480, 37024, 40608], "wall_ns": [159089, 132226, 132161, 132001, 130625, 130913, 129665, 130849, 142626, 129537, 129265, 130497, 130497, 129057, 132626, 129841, 130689, 131057, 128785, 132257, 130721, 129650, 129937, 132097, 128481, 130017, 129121, 129537, 132050, 134785, 131185, 132001, 130961, 130321, 129841, 129746, 129985, 131249, 128049, 130465, 130993, 128881, 130241, 130162, 128785, 129937, 129553, 130145, 129361, 130929]} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_cudnn_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_flash_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_efficient_f32", "warm": 10, "reps": 50, "dev_ns": [95616, 90272, 93056, 91936, 93312, 90560, 95808, 90880, 93216, 91776, 93312, 92736, 91616, 92512, 91360, 90304, 92992, 91296, 91616, 91296, 92160, 92256, 90976, 91008, 90656, 92480, 91808, 88640, 90016, 91392, 90592, 90240, 93280, 91552, 90656, 92800, 90432, 91328, 92288, 89888, 90464, 90752, 91136, 91040, 91936, 92288, 92064, 91296, 92384, 91872], "wall_ns": [684646, 483156, 297443, 288658, 296643, 291810, 288691, 286530, 298979, 287634, 301155, 301699, 301170, 294387, 299234, 289683, 295858, 572117, 288563, 288051, 301826, 299523, 299026, 296819, 288850, 292435, 298819, 291570, 293075, 292866, 286355, 287650, 295891, 294002, 295331, 290419, 297090, 286339, 285234, 287075, 287858, 298659, 298994, 291699, 298995, 299266, 296563, 287058, 287891, 287522]} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_math_f32", "warm": 10, "reps": 50, "dev_ns": [471744, 468288, 463680, 464608, 445440, 430336, 429600, 435424, 428512, 462784, 480544, 432544, 435616, 425568, 447744, 469888, 478112, 476512, 467584, 431424, 488256, 489920, 436288, 452032, 459776, 466240, 461664, 467808, 474496, 473216, 517984, 447296, 510816, 490400, 656704, 549856, 437216, 438784, 427616, 683648, 447680, 491072, 543136, 551040, 463200, 499008, 489664, 428576, 458016, 485728], "wall_ns": [723366, 686870, 705639, 669541, 680998, 677606, 690326, 730423, 638357, 691382, 657686, 639510, 651269, 669270, 683334, 779303, 860263, 960153, 665126, 746838, 995433, 716406, 782231, 659286, 704726, 755542, 717351, 705062, 637381, 665606, 634134, 646613, 641302, 650822, 776438, 748119, 707238, 694182, 694358, 724695, 722982, 689382, 674438, 742598, 713366, 727607, 667654, 708374, 629589, 659046]} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_cudnn_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [56512, 54272, 52320, 52704, 53056, 53760, 51904, 53120, 53312, 52096, 53120, 51200, 52000, 51648, 51584, 53216, 52480, 51776, 51936, 56416, 51968, 52544, 52768, 50496, 51296, 50976, 51104, 50656, 52256, 51904, 52128, 52992, 52960, 52096, 53184, 50816, 50880, 52096, 51264, 51776, 51008, 51104, 51744, 51264, 50304, 51904, 53248, 52128, 52064, 52288], "wall_ns": [29104782, 262722, 224722, 216882, 220498, 219426, 218482, 219698, 228850, 219362, 221506, 218498, 230082, 230610, 239314, 228738, 235970, 232626, 223106, 224018, 333891, 217746, 219506, 229058, 302370, 230130, 231362, 229858, 232626, 222850, 219634, 223410, 220722, 217634, 229874, 229458, 228850, 223554, 294418, 229810, 222450, 222434, 220786, 222482, 219634, 217202, 219586, 223778, 223762, 216210]} +{"case": "gqa_rows_f32_32q8kv_hd128_m256", "backend": "sdpa_flash_bf16_REFONLY", "warm": 10, "reps": 50, "dev_ns": [53216, 51712, 51904, 52160, 52128, 52736, 52224, 59392, 52160, 50976, 52864, 52192, 52160, 51936, 52160, 51200, 50400, 52160, 51872, 52192, 51808, 51456, 52000, 52768, 53376, 56800, 52800, 52160, 52064, 50912, 51136, 52064, 50976, 51456, 50976, 51552, 50912, 50112, 51456, 51040, 52000, 52864, 51680, 51840, 50944, 51904, 54208, 53088, 51264, 51328], "wall_ns": [258466, 245250, 224386, 220530, 224402, 224706, 222626, 225698, 228338, 229026, 234194, 225474, 360691, 225858, 219586, 218610, 223026, 222626, 220338, 217442, 220690, 217425, 217634, 217586, 220594, 217554, 221490, 217362, 219762, 219858, 218322, 218466, 222481, 217762, 220418, 217490, 219474, 218658, 228834, 223714, 218898, 224290, 233682, 235074, 232034, 228178, 228370, 230434, 224770, 227042]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_cudnn_bf16_pregathered", "warm": 10, "reps": 50, "dev_ns": [33440, 30784, 29344, 30592, 29600, 31232, 29088, 29504, 31456, 30624, 31648, 29600, 29984, 31616, 31520, 29824, 30336, 31872, 29408, 30592, 31648, 31712, 29216, 30080, 31520, 30208, 30368, 29088, 29344, 28544, 30560, 30656, 30304, 30592, 28640, 28480, 29792, 29888, 30144, 30432, 29216, 27968, 32512, 30688, 32960, 28000, 28448, 28032, 30368, 29472], "wall_ns": [48128, 42897, 41712, 43616, 39809, 40496, 41921, 41216, 44640, 43873, 41872, 49313, 43792, 43792, 39265, 43584, 42528, 39329, 49968, 40849, 42016, 39344, 43457, 43856, 41040, 42273, 46416, 43121, 41856, 39872, 41137, 42496, 41024, 41809, 40800, 42896, 40481, 50816, 41617, 41168, 45760, 48705, 49136, 41953, 40880, 41632, 42913, 40960, 41920, 39329]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "gather+sdpa_cudnn_bf16", "warm": 10, "reps": 50, "dev_ns": [197088, 206464, 200096, 198240, 198240, 196224, 196320, 210048, 220064, 206496, 198304, 208320, 201376, 217344, 198784, 196384, 200672, 209632, 213696, 215712, 220864, 228224, 222816, 227232, 219712, 219744, 221472, 203456, 198208, 201280, 204640, 201760, 204544, 198240, 197760, 198464, 202976, 206752, 225600, 245504, 216512, 216192, 199392, 206688, 197408, 200480, 199328, 201472, 198656, 212096], "wall_ns": [235490, 233938, 235379, 243282, 239634, 242770, 235234, 234338, 218050, 213714, 215218, 210849, 213826, 211826, 219394, 210818, 219266, 209858, 231090, 246594, 247778, 236770, 218530, 219282, 215842, 220034, 215618, 208065, 210018, 222242, 226130, 222050, 236354, 229314, 237170, 220770, 239810, 223346, 227314, 229346, 225938, 207074, 213298, 212114, 210641, 206674, 207954, 214994, 212786, 218898]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_flash_bf16_pregathered", "warm": 10, "reps": 50, "dev_ns": [36288, 34944, 36608, 34976, 34624, 35392, 35552, 35520, 35488, 35264, 35520, 34880, 34816, 36768, 34016, 34912, 35968, 35520, 35648, 34816, 34848, 34848, 35616, 35104, 35264, 35872, 34624, 35904, 34848, 34752, 34144, 34720, 34848, 33984, 34816, 35040, 35744, 34560, 34368, 36800, 35808, 35872, 34624, 36800, 34912, 35168, 34208, 34784, 36288, 34816], "wall_ns": [59040, 53025, 50928, 53200, 51313, 51936, 50257, 52272, 52113, 50928, 54497, 49680, 51264, 52145, 50464, 51681, 52240, 50049, 51152, 50017, 50224, 49888, 51313, 50000, 51169, 50032, 51281, 51024, 50305, 49888, 51296, 49937, 50144, 50129, 51008, 50049, 50256, 53057, 50176, 52000, 50305, 50704, 50369, 52016, 50177, 50096, 51153, 49968, 51249, 54816]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "gather+sdpa_flash_bf16", "warm": 10, "reps": 50, "dev_ns": [205344, 206016, 212576, 229536, 231520, 232992, 230912, 227776, 230368, 228544, 227968, 230944, 219968, 267424, 208832, 211616, 217280, 313696, 325632, 238752, 339200, 230208, 231168, 230912, 231008, 220864, 220544, 216576, 212576, 208736, 204032, 222976, 391936, 229024, 238016, 228992, 230176, 234688, 231488, 264704, 240672, 250592, 244320, 212672, 213440, 212608, 214816, 211776, 211136, 207520], "wall_ns": [289522, 267235, 261922, 249842, 228130, 223794, 226498, 231490, 218834, 229282, 225234, 229266, 234370, 221170, 220962, 224290, 226322, 225938, 221266, 231394, 233234, 232370, 220210, 228146, 218242, 218833, 215922, 226306, 223234, 226450, 220594, 228514, 224978, 220130, 223138, 221154, 221106, 221970, 254386, 256754, 261283, 261442, 220898, 219234, 217906, 221137, 251795, 252738, 235442, 223154]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_efficient_bf16_pregathered", "warm": 10, "reps": 50, "dev_ns": [109216, 106144, 106528, 107200, 106944, 106880, 107296, 106240, 105120, 106240, 107328, 106048, 106240, 106304, 107136, 106432, 106944, 106208, 107328, 105184, 107392, 109664, 105536, 106304, 105824, 105056, 105888, 107328, 105696, 107328, 107488, 105728, 107360, 107744, 108128, 106528, 107232, 107296, 106752, 108064, 105536, 106848, 107488, 107232, 105472, 107296, 108320, 108320, 106304, 106400], "wall_ns": [141121, 118193, 125009, 117329, 116641, 118881, 125730, 119745, 123649, 123793, 124849, 117681, 123825, 123873, 124721, 117745, 123953, 116497, 116753, 117617, 115633, 117729, 125889, 126050, 116625, 117521, 125009, 115585, 117793, 116625, 117825, 127921, 117953, 118225, 126993, 117553, 128273, 118609, 125729, 125793, 125922, 117665, 117761, 124785, 116529, 116609, 119409, 118289, 117409, 117601]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "gather+sdpa_efficient_bf16", "warm": 10, "reps": 50, "dev_ns": [287296, 291520, 284256, 293056, 284992, 272832, 274112, 274112, 277600, 278336, 278560, 295808, 322688, 322112, 271680, 271008, 272192, 281376, 280192, 273280, 271104, 270208, 270688, 285376, 280096, 271424, 268896, 269824, 288608, 290496, 273984, 291712, 289184, 306208, 312288, 294592, 311008, 305728, 318144, 311904, 276512, 308384, 290624, 283360, 270304, 285440, 298816, 316064, 300352, 312896], "wall_ns": [333411, 290770, 326163, 319219, 288834, 289779, 306931, 305298, 316691, 323027, 316435, 319634, 305715, 328659, 330803, 319011, 281506, 287843, 296978, 298755, 283570, 283363, 318290, 294499, 304867, 434068, 351555, 401939, 329443, 311571, 316178, 323507, 313411, 386275, 404660, 287842, 297891, 347091, 357923, 310611, 332435, 315763, 287922, 311139, 327651, 295714, 289683, 312210, 303379, 316051]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_math_bf16_pregathered", "warm": 10, "reps": 50, "dev_ns": [1290528, 1110176, 1243520, 1263392, 1240224, 1278816, 1131232, 1199616, 1241024, 1239552, 1214592, 1302176, 1115360, 1158688, 1181024, 1139968, 1451680, 1255808, 1279232, 1303072, 1403840, 1162080, 1245888, 1315968, 1252192, 1280224, 1121696, 1203360, 1227616, 1221888, 1267040, 1446016, 1325312, 1117440, 1092128, 1123584, 1331488, 1148608, 1318784, 1290752, 1206112, 1305792, 1105920, 1231488, 1205472, 1201824, 1147072, 1124832, 1272160, 1157728], "wall_ns": [1160954, 1239003, 1254634, 1252651, 1138106, 1256891, 1184491, 1117033, 1191931, 1272667, 1274283, 1283483, 1267547, 1281836, 1255562, 1268571, 1259324, 1251114, 1240907, 1267387, 1244187, 1322796, 1297579, 1315019, 1329836, 1314428, 1309771, 1301675, 1295756, 1284043, 1322043, 1311532, 1310187, 1300444, 1299435, 1305323, 1292108, 1333211, 1311692, 1305819, 1270379, 1297244, 1318939, 1291419, 1302748, 1310331, 1292635, 1311292, 1291243, 1334348]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "gather+sdpa_math_bf16", "warm": 10, "reps": 50, "dev_ns": [1267968, 1283360, 1489344, 1295200, 1332928, 1251040, 1264960, 1315520, 1365120, 1281568, 1278144, 1260864, 1251392, 1254560, 1249664, 1249408, 1255296, 1275360, 1266688, 1244672, 1264480, 1240448, 1262016, 1258912, 1260544, 1259520, 1251776, 1268864, 1265920, 1271168, 1264704, 1273984, 1259552, 1248352, 1270208, 1269920, 1262688, 1253504, 1266816, 1257792, 1254688, 1252960, 1259776, 1252832, 1251648, 1247296, 1250496, 1258976, 1254528, 1259904], "wall_ns": [1285803, 1284027, 1282651, 1276891, 1277067, 1276604, 1290923, 1293275, 1296491, 1304956, 1298395, 1296140, 1291067, 1296155, 1288955, 1288620, 1280459, 1300011, 1287995, 1289052, 1292283, 1293083, 1284491, 1294572, 1288027, 1293819, 1288043, 1280828, 1285675, 1289515, 1299419, 1296076, 1308427, 1286555, 1296428, 1295163, 1298315, 1286716, 1295307, 1292219, 1280827, 1300988, 1294059, 1306699, 1280668, 1292027, 1296299, 1290059, 1293628, 1304027]} +{"case": "paged_bf16_32q8kv_hd128_ctx2048_bs16", "backend": "sdpa_efficient_f32q_f32kv_pregathered", "warm": 10, "reps": 50, "dev_ns": [240576, 238688, 237152, 235072, 236608, 238240, 235136, 235104, 234848, 238688, 236448, 235584, 236416, 236384, 235936, 236288, 234272, 237600, 236384, 237248, 235776, 236992, 238656, 237600, 235552, 237344, 237184, 235456, 235520, 235552, 235488, 236544, 236416, 237504, 237344, 237504, 235712, 235936, 237248, 235776, 235328, 235904, 236448, 236736, 236672, 236736, 237568, 236768, 237376, 235424], "wall_ns": [271698, 249474, 247554, 255907, 246866, 247570, 247762, 247794, 249475, 247634, 248770, 255042, 247746, 256002, 247859, 247426, 255954, 254690, 255506, 254675, 256018, 254546, 254978, 253859, 256066, 248722, 254914, 255762, 254947, 255970, 255986, 247794, 257107, 255234, 255042, 256242, 248498, 247987, 254754, 295874, 256019, 318850, 358211, 315779, 257938, 249539, 255954, 354707, 249714, 257122]} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/paired/r1/omega/stderr.txt b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r1/omega/stderr.txt new file mode 100644 index 0000000..2ffe5be --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r1/omega/stderr.txt @@ -0,0 +1 @@ +LOCK_HELD_S .945308408 diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/paired/r1/omega/stdout.jsonl b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r1/omega/stdout.jsonl new file mode 100644 index 0000000..9a966ca --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r1/omega/stdout.jsonl @@ -0,0 +1,9 @@ +{"case":"rmsnorm_1x2048","rc":0,"mutant":0,"first_call_ns":90441589,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[106209,112721,106368,107313,106017,108177,83553,106897,106673,107121,106017,107553,106417,106673,106176,107041,106769,106449,106561,109249,106369,111025,106481,107249,107057,70592,106465,106849,106881,106849,106609,108401,106817,108177,107057,106961,106193,106593,107025,106208,106257,107249,107201,107025,73105,107473,106993,106561,107841,110849],"chip_ns":[103777,110337,103920,104577,103521,105761,81041,104353,104081,104465,103537,105105,103793,104209,103712,104609,104305,104049,104097,106769,103905,108561,103777,104593,104529,68288,103985,104385,104481,104481,103985,106097,104161,105617,104753,104625,103793,104081,104481,103920,103905,104769,104433,104545,70801,105185,104417,104017,105329,108449]} +{"case":"rmsnorm_64x2048","rc":0,"mutant":0,"first_call_ns":904264,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[205442,209185,211121,178242,205074,208114,207186,212162,208002,217506,206097,207793,211522,207442,205890,209586,204242,205218,206338,210785,209377,212946,212386,211314,205938,211458,177634,206178,205473,209010,210690,208882,210130,211346,208114,210306,209650,209218,204594,209889,210529,211746,209474,208626,208946,207506,208562,208098,205938,182513],"chip_ns":[106657,106161,108129,77184,106017,109185,107073,111041,107521,118913,106337,107553,105761,108177,106577,109361,105825,106401,105281,107281,105521,107153,106513,107617,105921,107632,75857,107441,106225,107089,105617,106609,105553,106640,105313,107585,105857,107217,105393,106897,105665,106945,105889,107217,105728,107057,105601,107537,106689,85089]} +{"case":"rope_32x128","rc":0,"mutant":0,"first_call_ns":527717,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[107937,107985,117873,107841,107921,108129,109153,107281,108417,108161,109073,107713,110913,107889,107633,107872,112641,107297,111361,107937,108705,107745,109313,107665,107697,109169,108689,655030,108977,109393,110208,68161,111249,108081,603381,109393,66833,108673,107841,108401,109217,108785,108721,108881,108400,109089,109409,108801,107857,108929],"chip_ns":[103841,103761,114001,103713,103793,103825,104977,103377,104401,104145,104913,103505,106817,103361,103713,103744,108433,103281,107297,103313,104593,103457,105121,103537,103729,104897,104545,650694,104593,105009,105680,64208,106961,104049,599157,105297,62881,104577,103873,104385,104673,104625,104577,104641,104256,104881,105105,104593,103681,104641]} +{"case":"swiglu_5632","rc":0,"mutant":0,"first_call_ns":551941,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[111105,109569,109441,109281,110241,109409,114177,109697,110129,110321,109313,109345,110129,109136,109857,109537,110449,109697,111009,110545,110561,108849,109345,109025,110097,109857,142625,109345,108801,110065,109089,109537,109025,111265,109201,109873,109249,109745,110033,110577,109281,109761,109153,113329,109249,109136,109409,109217,109649,109313],"chip_ns":[105601,103809,104081,103793,104945,103777,105025,104209,104785,104881,103921,103921,104736,103744,104288,104145,105025,104161,105713,104833,105153,103825,104081,103777,104577,104369,136961,103617,103425,104401,103729,104081,103569,106097,103601,104321,103905,104065,104769,104785,103873,104241,103665,104241,103920,103936,104065,103889,104161,103857]} +{"case":"swiglu_131072","rc":0,"mutant":0,"first_call_ns":826071,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[178226,227890,223394,228898,232146,224338,228066,223074,225714,231042,223794,232242,225026,227906,224498,232034,222818,188626,226786,234434,223378,231042,228178,227762,230002,229186,234498,231650,228802,225810,229906,228306,230210,228978,230450,225986,224114,226706,216658,230930,228402,233026,233666,227810,229602,231698,228882,236290,226770,234226],"chip_ns":[63216,109697,107264,107280,107121,106705,105825,106417,105457,107889,106097,107377,106369,106881,106593,107105,106112,69296,107665,107121,106913,107168,106465,108209,109105,108641,108561,110673,107649,108609,106449,107585,107376,108225,107313,107265,107937,107297,99089,107025,106529,107329,107713,106625,107745,107616,108129,107585,107713,108017]} +{"case":"gqa_f32_32q8kv_hd128_ctx2048","rc":0,"mutant":0,"first_call_ns":5166941,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[1113194,1210843,1165914,1184026,1209067,1198106,1162282,1162891,1152058,1105769,1167675,1165546,1140394,1139002,1124857,1110346,1121866,1133386,1114314,1191818,1181914,1271291,1253611,1278540,1120761,1186843,1162058,1224987,1411948,1296027,1190411,1150554,1200426,1255963,1281067,1301484,1360491,1299004,1218554,1191083,1398316,1295323,1354092,1276379,1399629,1220970,1202827,1211626,1339692,1339980],"chip_ns":[424404,425332,421972,418899,415140,425203,426579,425700,425028,375779,428148,421332,424756,425300,426259,425524,426900,426644,413460,422724,426483,425443,411603,423172,423107,424292,421924,403860,524293,421380,418499,421892,419236,420564,512996,424660,523924,423348,424307,420036,529397,424003,434404,420291,478629,392163,421972,420307,525333,498821]} +{"case":"gqa_f32_32q4kv_hd64_ctx2048","rc":0,"mutant":0,"first_call_ns":846951,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[550516,553205,649542,707014,655846,556405,540404,543189,530389,514484,540709,632677,685814,551749,492805,548500,533621,669862,652662,533748,560213,663142,666246,552741,552036,532213,522053,536628,528213,541765,597765,653958,543124,550069,532773,620885,675414,548981,532997,658101,558101,549557,550629,632101,907064,559205,822167,754871,657062,540948],"chip_ns":[415603,416116,495509,517461,504677,412244,419875,415108,412676,386499,412852,517540,517476,415459,380772,413267,416020,515829,508997,413763,415364,516021,516677,415812,415955,414100,394308,419779,416148,419028,489252,516229,414131,412564,417252,476356,541765,418756,413459,472564,417876,414212,417220,521892,796167,416052,707318,621654,517381,416931]} +{"case":"gqa_rows_f32_32q8kv_hd128_m256","rc":0,"mutant":0,"first_call_ns":3855970,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[2729624,2598103,2640887,2598230,2579430,2366357,2747416,2830777,2441749,2681191,2815672,2676775,2357989,2597831,2603815,2679496,2564551,2624966,2632535,2659815,2453221,2547126,2529942,2506678,2493030,2489845,2728616,2493765,2521110,2445461,2507686,2468294,2508438,2422917,2507286,2600135,2870106,2402149,2486806,2588983,2447142,2299732,2556038,2608679,2498518,2421349,2446694,2634775,2475830,2404293],"chip_ns":[1684847,1581102,1575758,1535118,1531518,1359963,1678863,1767328,1430429,1678862,1755551,1621085,1361467,1574669,1532526,1566829,1541565,1549390,1585709,1585661,1440732,1485006,1468220,1461581,1465261,1421933,1672990,1461629,1479245,1369260,1448813,1473132,1494286,1387453,1475132,1540749,1856703,1372141,1447517,1551549,1431324,1289898,1472509,1558590,1428605,1426076,1367723,1569118,1434477,1374156]} +{"case":"paged_bf16_32q8kv_hd128_ctx2048_bs16","rc":0,"mutant":0,"first_call_ns":476100,"warm":10,"reps":50,"timed_outputs_differing_from_first":0,"wall_ns":[171090,171329,135697,170914,172993,169538,169681,172834,143361,172370,173441,172946,171905,176082,236146,175617,171394,174065,172162,177186,171105,170770,173377,175906,175089,159297,174450,172193,173937,174690,169745,132273,174658,171041,174866,170033,173506,129841,171393,174626,173249,174866,173522,236562,173457,173634,170033,170482,174513,173634],"chip_ns":[105537,104113,70145,103713,104593,103681,105025,104753,76145,104177,103793,104497,103601,104481,167938,107217,103985,105297,104129,105441,105185,105377,104033,105809,104465,89121,103873,104961,104673,104609,103985,64241,105825,104817,106145,104721,106433,63776,104081,106352,104817,105281,104609,167425,104481,105937,104049,104833,104769,105105]} diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/paired/r1/torch/stderr.txt b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r1/torch/stderr.txt new file mode 100644 index 0000000..0bb7150 --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r1/torch/stderr.txt @@ -0,0 +1,15 @@ +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Memory efficient kernel not used because: (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:1240.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Memory Efficient attention has been runtime disabled. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/sdp_utils_cpp.h:600.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Flash attention kernel not used because: (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:1242.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Flash attention has been runtime disabled. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/sdp_utils_cpp.h:588.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: cuDNN attention kernel not used because: (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:1244.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: Expected query, key and value to all be of dtype: {Half, BFloat16}. Got Query dtype: float, Key dtype: float, and Value dtype: float instead. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/sdp_utils_cpp.h:110.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +/tmp/OmegaDnn/gpu/bench/torch_arm.py:52: UserWarning: cuDNN attention has been runtime disabled. (Triggered internally at /__w/pytorch/pytorch/aten/src/ATen/native/transformers/cuda/sdp_utils.cpp:922.) + return F.scaled_dot_product_attention(q, k, v, is_causal=causal, enable_gqa=True) +LOCK_HELD_S 3.414120252 diff --git a/evidence/STACK7-GPU-20261026/gpu-runs/paired/r1/torch/stdout.jsonl b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r1/torch/stdout.jsonl new file mode 100644 index 0000000..34749de --- /dev/null +++ b/evidence/STACK7-GPU-20261026/gpu-runs/paired/r1/torch/stdout.jsonl @@ -0,0 +1,32 @@ +{"case": "rmsnorm_1x2048", "backend": "torch_rms_norm", "warm": 10, "reps": 50, "dev_ns": [22912, 10912, 10624, 10176, 10176, 10016, 10336, 10176, 10688, 10496, 10528, 10400, 10208, 10368, 10816, 10176, 10592, 10528, 11328, 10528, 10720, 10656, 10560, 10432, 10144, 10304, 10848, 11136, 11104, 11616, 11392, 10400, 10624, 10400, 9216, 10080, 10272, 10848, 11072, 10592, 10624, 10304, 10496, 10496, 10656, 10656, 10944, 10944, 10528, 11168], "wall_ns": [40096, 21504, 18673, 18256, 22496, 18096, 19040, 18352, 19345, 17680, 17952, 19552, 17840, 18240, 19649, 18000, 18080, 19168, 17920, 19712, 18833, 19312, 18064, 20128, 17920, 18768, 18560, 18737, 18768, 18112, 19712, 18416, 19696, 18273, 18560, 18928, 18048, 19856, 18576, 19393, 20304, 20368, 18144, 18496, 19616, 18081, 17792, 19584, 17936, 20256]} +{"case": "rmsnorm_64x2048", "backend": "torch_rms_norm", "warm": 10, "reps": 50, "dev_ns": [11296, 10848, 10752, 10496, 10400, 10496, 13024, 10912, 10336, 10496, 10208, 10656, 10688, 10656, 10176, 11072, 10176, 10912, 10304, 10432, 10656, 10880, 10208, 10176, 10848, 10208, 10176, 10880, 10112, 9440, 10080, 4224, 10368, 10400, 10688, 10464, 10432, 10496, 10464, 10720, 10656, 10688, 10368, 10528, 10336, 10528, 10464, 10592, 10400, 9824], "wall_ns": [331123, 46465, 38768, 37904, 38113, 37760, 38592, 37825, 43488, 37552, 37329, 38256, 37872, 37153, 38208, 37728, 38129, 38128, 38208, 37185, 38416, 38176, 38737, 37568, 38400, 37809, 37232, 37904, 37729, 38192, 37952, 37121, 37680, 38144, 39473, 36960, 37632, 36753, 37024, 36688, 37313, 37056, 37808, 36961, 37264, 38640, 37041, 38032, 38432, 39121]} +{"case": "rope_32x128", "backend": "torch_ops", "warm": 10, "reps": 50, "dev_ns": [42944, 36160, 36096, 36896, 37312, 35424, 35264, 36320, 34272, 36032, 43872, 35968, 35584, 35168, 36384, 35712, 35968, 36416, 35424, 35712, 35936, 35456, 36608, 38176, 36736, 35776, 35648, 35552, 36832, 36192, 36160, 37024, 36000, 38944, 36544, 35552, 35872, 36096, 36064, 34976, 35360, 35808, 35456, 36800, 35520, 36576, 35168, 35808, 36000, 34272], "wall_ns": [83313, 47792, 44032, 44977, 43648, 45713, 42608, 44992, 46769, 44224, 45201, 44800, 47200, 46561, 43600, 46417, 44848, 46080, 45649, 45152, 45521, 43872, 43840, 43585, 44384, 43793, 46576, 48416, 44545, 44048, 45825, 44976, 45984, 46129, 43664, 44592, 45665, 45904, 47649, 44928, 46672, 45793, 46080, 46417, 45360, 45024, 45985, 48192, 44657, 48592]} +{"case": "swiglu_5632", "backend": "torch_silu_mul", "warm": 10, "reps": 50, "dev_ns": [14976, 11680, 13056, 12032, 13344, 12192, 12640, 11776, 13184, 12256, 12192, 12256, 12448, 12928, 12384, 12096, 12896, 13056, 19616, 14752, 12256, 12832, 10560, 11776, 12256, 11744, 12896, 11968, 12192, 11872, 13472, 13024, 11968, 12416, 12256, 11936, 12192, 11168, 11808, 12896, 12384, 12064, 11776, 12224, 13056, 13152, 12384, 12896, 12032, 11712], "wall_ns": [53264, 30608, 34577, 28912, 29552, 31377, 33920, 30176, 32768, 33633, 33808, 33376, 32225, 29824, 31968, 33232, 33441, 28656, 33152, 30657, 33136, 29872, 30672, 31569, 33312, 32704, 35152, 35649, 32496, 29104, 31505, 31920, 30976, 31392, 36001, 33072, 33616, 32545, 29920, 32192, 29840, 37169, 29008, 33200, 32081, 32016, 32592, 29824, 32513, 30704]} +{"case": "swiglu_131072", "backend": "torch_silu_mul", "warm": 10, "reps": 50, "dev_ns": [13408, 12448, 12224, 11808, 12512, 12160, 12864, 12064, 12864, 12288, 11968, 12160, 11904, 12032, 11712, 12416, 11840, 12000, 11744, 12096, 11968, 11936, 12192, 12608, 12384, 11872, 13312, 12256, 11904, 13024, 12320, 12064, 12864, 12128, 11616, 12320, 11968, 11968, 12128, 12800, 12096, 12160, 12640, 12096, 12896, 12128, 12096, 12416, 12864, 11776], "wall_ns": [66305, 105809, 57360, 57009, 58240, 57393, 55776, 56641, 56736, 56849, 57072, 56497, 56224, 56897, 56368, 56913, 55952, 55537, 56320, 56865, 56224, 57473, 56864, 56193, 56640, 56017, 58256, 56417, 55680, 55505, 57168, 59329, 56416, 55809, 56752, 57105, 56096, 56513, 56544, 56065, 55664, 57521, 56528, 68721, 55840, 55665, 57216, 56017, 56768, 56833]} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_cudnn_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_flash_f32", "error": "RuntimeError: No available kernel. Aborting execution."} +{"case": "gqa_f32_32q8kv_hd128_ctx2048", "backend": "sdpa_efficient_f32", "warm": 10, "reps": 50, "dev_ns": [242272, 238016, 235648, 236640, 234528, 233696, 234528, 238080, 237280, 237216, 235744, 235328, 235648, 234368, 233632, 237408, 234560, 233600, 233376, 234624, 235648, 237664, 234400, 235648, 234464, 237376, 234624, 237600, 236448, 234688, 237280, 237760, 237440, 236000, 235424, 235456, 236672, 242880, 236480, 236576, 235712, 235776, 233952, 237568, 235328, 236704, 235680, 236736, 235776, 234560], "wall_ns": [1798048, 1633166, 579157, 553413, 604133, 702662, 734471, 548597, 776086, 628166, 595813, 556981, 545669, 544596, 544789, 542501, 545813, 544308, 542517, 543797, 542517, 545572, 545669, 544773, 543669, 543332, 545701, 544533, 544805, 544596, 542901, 542325, 546165, 543812, 544661, 546725, 544869, 544564, 545813, 560517, 732486, 733655, 545845, 737030, 646566, 552581, 555860, 543653, 543653, 545733]}