Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/cuda-crack/blob/main/receipts/cudapp/evidence/ATTN-GENERAL-20261027-4d51f91f/SUMMARY.md # cuda-crack I broke CUDA: GB10 sm_121 machine code without the CUDA toolkit - method, encoder tables, receipts Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `cuda-crack / receipts / cudapp / evidence / ATTN-GENERAL-20261027-4d51f91f / SUMMARY.md` 51 lines · 3557 bytes Raw Blame History Rendered 1 # ATTN-GENERAL-`20261027`-`4d51f91f` 2 3 GB10 (sm_121) chip run of feat/attn-general at `4d51f91`, made on 2026-10-27 beside the live 35B. It used one flock hold of `/tmp/aien-gb10.lock` for the run itself (`chip.sh`) and a second hold for the A/B v2 (`ab2.sh`). Both holds were health-checked before and after: compute apps showed only 79557, and 18091 reported `"status":"ok"` (`health_pre.txt`, `health_post.txt`, `ab2/health_*.txt`). 4 5 Label: chip-EXERCISED. This is not a qualification. 6 7 | run | command | result | 8 |---|---|---| 9 | general sweep | `gpu_attention_test --general` | 318 of 318 configs pass, PASS 348 checks, 0 failed (`general.json`, `general.log`) | 10 | hd 64 battery | `gpu_attention_test` | PASS 219 checks, 0 failed (`hd64.json`) | 11 | hd 128 battery | `gpu_attention_test --hd 128` | PASS 225 checks, 0 failed (`hd128.json`) | 12 | head sweep | `gpu_attention_test --sweep` | 72 of 72 points; the 8 points with a non-power-of-two GQA ratio (24q / 1, 2, 4, 8 kv) were refused before 0.6.0 and now run on the general kernel. PASS 73 checks, 0 failed (`sweep.json`) | 13 14 ## General sweep coverage 15 16 The sweep draws its configs from seed 0xa77e0601 and compares every one against the f64 host oracle. 17 18 - **Tolerance:** `|got - want| <= rel*|want| + 2e-5`, where rel is 2e-4 for kv <= 2048 and 4e-4 above that. The bound grows with kv because the f32 sum rounding grows with n: 19 - WolframLanguageEvaluator: `N[4096*2^-24]` -> 2.44e-4 20 - WolframLanguageEvaluator: `N[5000*2^-24]` -> 2.98e-4 21 22 The worst scaled error was 0.0062 of the tolerance. 23 - **Shapes covered:** 24 - head_dim: {1, 2, 3, 5, 7, 31, 33, 63, 64, 65, 80, 96, 97, 112, 127, 128, 129, 160, 191, 192, 255, 256} 25 - GQA ratios: 1-16 and 1024 26 - kv: up to 5000, including kv = 0 27 - 115 configs are non-causal and 67 use a sliding window. 28 - Entries: 29 - general 139 30 - gqa_f32 67 31 - rows_f32 67 32 - paged_batch 22 33 - paged_resident 23 34 - **Mutants:** each one was caught on the chip. 35 - GQA_MAP: caught at config 4 36 - TAIL_CHUNK: caught at config 4 37 - TAIL_DIMS: caught at config 2 38 - CAUSAL: caught at config 0 39 - SCALE: caught at config 2 40 - **Routing proof:** the GQA_MAP mutant shows up when the general kernel is forced. It does not show up on the default tuned route (`"routing"` in `general.json`). 41 42 ## Served-shape A/B: main `c30c0be` (A) vs `4d51f91` (B) 43 44 - **Static check:** all 252 tuned kernels are byte-identical between main and the branch. The set is `omega_gpu_attention_codegen_hd` for hd 64/128 × f32/bf16 × log2bs 0..8 × log2gqa 0..6, and the digest lists are `tuned_kernel_digests_*.txt`, with sha256 `bb54fd5c`…fcd for both. The lists were produced by `attn_digests.c.txt`. The fused served kernels (dattn, attn256, pattn, pattn256) are not touched by this branch. 45 - **v1** (`AB-PLAN.md`, sha256 `1c1c8836`…6cde, posted on BOARD before timing): 10 + 10 clean runs. 46 - WolframLanguageEvaluator: Median A = 0.66 ms, Median B = 0.70045 ms, ratio B/A = 1.061; MannWhitneyTest p = 0.853. 47 - The ratio is outside the predeclared 1.05 band, so v1 is reported as measured. 48 - **v2** (`AB-PLAN-v2.md`, posted on BOARD before timing): 40 pairs. 2 A runs were dropped because 18091 was serving (in_flight > 0), leaving 38 A and 40 B clean runs. 49 - WolframLanguageEvaluator: Median A = 0.60305 ms, Median B = 0.60245 ms, ratio B/A = 0.9990; MannWhitneyTest p = 0.960. 50 - This is within the band, so the result is "no slower". 51 - Per-run tags are in `ab/clean.tsv` and `ab2/clean.tsv`. The workload is `--timing`: gqa_f32 32q/4kv, hd 64, ctx 2048, 100 calls per run.