interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / evidence / WIDEPF-460-CHIP-7e041401 / gates / prefill_attn.out

268 lines · 30760 bytes Raw Blame History
1codegen warps 4 mode 0: 917 instructions, 120 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
2codegen warps 4 mode 1: 174 instructions, 56 registers (declared 64, 128 threads -> 8192 of 65536), 0 placeholders patched
3codegen warps 4 mode 2: 782 instructions, 124 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
4codegen warps 8 mode 0: 866 instructions, 120 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
5codegen warps 8 mode 1: 174 instructions, 56 registers (declared 64, 256 threads -> 16384 of 65536), 0 placeholders patched
6codegen warps 8 mode 2: 731 instructions, 124 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
7codegen warps 8 APPEND + mirror: 187 instructions, 56 registers
8gpu_prefill_attn_test: 69 checks, 0 failed: PASS
9codegen warps 4 mode 0: 917 instructions, 120 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
10codegen warps 4 mode 1: 174 instructions, 56 registers (declared 64, 128 threads -> 8192 of 65536), 0 placeholders patched
11codegen warps 4 mode 2: 782 instructions, 124 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
12codegen warps 8 mode 0: 866 instructions, 120 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
13codegen warps 8 mode 1: 174 instructions, 56 registers (declared 64, 256 threads -> 16384 of 65536), 0 placeholders patched
14codegen warps 8 mode 2: 731 instructions, 124 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
15codegen warps 8 APPEND + mirror: 187 instructions, 56 registers
16sim one token at position 0 W=8: ok bad=0 worst=0.000 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
17sim 5 tokens from 0 (partial CTA) W=8: ok bad=0 worst=0.257 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
18sim 19 tokens from 37, warps 4 W=4: ok bad=0 worst=0.112 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
19sim 19 tokens from 37, sharp q (x4) W=8: ok bad=0 worst=0.107 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
20sim 64 tokens from 100 (full chunk) W=8: ok bad=0 worst=0.067 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
21sim 70 tokens from 0 (two chunks) W=8: ok bad=0 worst=0.291 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
22sim 33 tokens from 200, warps 4 W=4: ok bad=0 worst=0.051 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
23sim split: one token at position 0 W=8: ok bad=0 worst=0.000 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
24sim split: 5 tokens from 0 W=8: ok bad=0 worst=0.255 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
25sim split: 19 tokens from 37, warps 4 W=4: ok bad=0 worst=0.108 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
26sim split: 70 tokens from 0 W=8: ok bad=0 worst=0.276 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
27sim split: 141 tokens from 37, sharp q W=8: ok bad=0 worst=0.117 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
28sim mirror: 5 tokens from 0 W=8: ok bad=0 worst=0.227 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
29sim mirror: 19 tokens from 37, warps 4 W=4: ok bad=0 worst=0.095 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
30sim mirror: 141 tokens from 37, sharp q W=8: ok bad=0 worst=0.126 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
31sim mirror: 45 tokens from 300 W=8: ok bad=0 worst=0.042 rows: k 0 v 0 words differ from the emulation (max 0 ulp)
32sim fused mutant 1 at 24 tokens from 40: caught (bad=1083432 worst=41.538 rows: k 7851 v 0 words differ from the emulation (max 34162 ulp))
33sim fused mutant 2 at 24 tokens from 40: caught (bad=65059 worst=33.577 rows: k 0 v 0 words differ from the emulation (max 0 ulp))
34sim fused mutant 3 at 24 tokens from 40: caught (bad=1000000 worst=0.083 rows: k 12288 v 12288 words differ from the emulation (max 49195 ulp))
35sim fused mutant 4 at 24 tokens from 40: caught (bad=53792 worst=183.288 rows: k 0 v 0 words differ from the emulation (max 0 ulp))
36sim split mutant 1 at 24 tokens from 40: caught (bad=1083432 worst=41.538 rows: k 7851 v 0 words differ from the emulation (max 34162 ulp))
37sim split mutant 2 at 24 tokens from 40: caught (bad=75048 worst=66.804 rows: k 0 v 0 words differ from the emulation (max 0 ulp))
38sim split mutant 3 at 24 tokens from 40: caught (bad=1000000 worst=0.083 rows: k 12288 v 12288 words differ from the emulation (max 49195 ulp))
39sim split mutant 4 at 24 tokens from 40: caught (bad=53792 worst=183.288 rows: k 0 v 0 words differ from the emulation (max 0 ulp))
40sim mirror mutant 1 at 24 tokens from 40: caught (bad=1083432 worst=41.538 rows: k 7851 v 0 words differ from the emulation (max 34162 ulp))
41sim mirror mutant 2 at 24 tokens from 40: caught (bad=75048 worst=66.804 rows: k 0 v 0 words differ from the emulation (max 0 ulp))
42sim mirror mutant 3 at 24 tokens from 40: caught (bad=1000000 worst=0.083 rows: k 12288 v 12288 words differ from the emulation (max 49195 ulp))
43sim mirror mutant 4 at 24 tokens from 40: caught (bad=53792 worst=183.288 rows: k 0 v 0 words differ from the emulation (max 0 ulp))
44sim: 10233092 warp issues in total
45gpu_prefill_attn_test: 97 checks, 0 failed: PASS
46cache alloc (1 layer, 32768 positions): rc=OK 294.6 ms ()
47chip context 1024 rc=OK bad=0 worst=0.000 rows=ok (0 one-ulp k flips) grid=4x4 per_split=256 depth=4 kv_bytes=2097152 fill=0.2ms chip_med=2420.8us (0.9 GB/s) call_med=2424.1us reps=3
48gpu_decode_attn_test: 4 checks, 0 failed: PASS
49baseline exit 0 (recorded)
50codegen warps 4 mode 0: 917 instructions, 120 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
51codegen warps 4 mode 1: 174 instructions, 56 registers (declared 64, 128 threads -> 8192 of 65536), 0 placeholders patched
52codegen warps 4 mode 2: 782 instructions, 124 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
53codegen warps 8 mode 0: 866 instructions, 120 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
54codegen warps 8 mode 1: 174 instructions, 56 registers (declared 64, 256 threads -> 16384 of 65536), 0 placeholders patched
55codegen warps 8 mode 2: 731 instructions, 124 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
56codegen warps 8 APPEND + mirror: 187 instructions, 56 registers
57path: split APPEND + ATTEND, ATTEND reads the GPU-cached K/V mirror, warps 8, warm 0, dev buffers session (uncached)
58chip pos0 0 m 1: parity bad=0 worst=0.000; rows vs emulation k 0 (max 0 ulp) v 0; chunks 2 grid 1x4 x256 thr; chip 4.113 ms call 36.118 ms
59 gate 2 vs 1 decode steps: rows k 0 v 0 differ; outputs worst 0.000 of tol; decode loop chip 1.535 ms call 1.792 ms
60chip pos0 37 m 19: parity bad=0 worst=0.134; rows vs emulation k 0 (max 0 ulp) v 0; chunks 2 grid 3x4 x256 thr; chip 20.828 ms call 38.504 ms
61 gate 2 vs 19 decode steps: rows k 0 v 0 differ; outputs worst 0.134 of tol; decode loop chip 15.845 ms call 15.963 ms
62chip pos0 0 m 64: parity bad=0 worst=0.231; rows vs emulation k 0 (max 0 ulp) v 0; chunks 2 grid 8x4 x256 thr; chip 4.489 ms call 11.623 ms
63 reps chip ms (in order, 0 untimed warm calls first): 4.283 4.288 2.551 4.386 4.282 4.281 2.755 4.286 4.189
64 slowest rep, per launch ms (2 launches): 1.940 2.446
65 timing prefill pos0 0 m 64: chip median 4.282 ms (min 2.551) call median 4.777 ms; 0.01 useful TFLOPS on chip time
66 gate 2 vs 64 decode steps: rows k 0 v 0 differ; outputs worst 0.231 of tol; decode loop chip 89.607 ms call 89.862 ms
67 speed: prefill 4.282 ms vs decode loop 89.607 ms chip time: 20.9x
68chip pos0 100 m 70: parity bad=0 worst=0.086; rows vs emulation k 1 (max 1 ulp) v 0; chunks 2 grid 9x4 x256 thr; chip 19.099 ms call 25.394 ms
69 gate 2 vs 70 decode steps: rows k 0 v 0 differ; outputs worst 0.086 of tol; decode loop chip 110.917 ms call 111.221 ms
70chip pos0 200 m 64: parity bad=0 worst=0.061; rows vs emulation k 0 (max 0 ulp) v 0; chunks 2 grid 8x4 x256 thr; chip 21.485 ms call 24.303 ms
71 gate 2 vs 64 decode steps: rows k 0 v 0 differ; outputs worst 0.061 of tol; decode loop chip 107.495 ms call 107.835 ms
72chip pos0 0 m 512: parity bad=0 worst=0.237; rows vs emulation k 2 (max 1 ulp) v 0; chunks 2 grid 64x4 x256 thr; chip 3.889 ms call 26.446 ms
73 reps chip ms (in order, 0 untimed warm calls first): 4.088 2.769 3.174 4.192 3.983 4.080 3.772 4.080 2.966
74 slowest rep, per launch ms (2 launches): 1.432 2.760
75 timing prefill pos0 0 m 512: chip median 3.983 ms (min 2.769) call median 8.947 ms; 0.54 useful TFLOPS on chip time
76 gate 2 vs 512 decode steps: rows k 0 v 0 differ; outputs worst 0.237 of tol; decode loop chip 879.821 ms call 886.562 ms
77 speed: prefill 3.983 ms vs decode loop 879.821 ms chip time: 220.9x
78chip pos0 4032 m 64: parity bad=0 worst=0.011; rows vs emulation k 0 (max 0 ulp) v 0; chunks 2 grid 8x4 x256 thr; chip 22.097 ms call 41.079 ms
79 reps chip ms (in order, 0 untimed warm calls first): 4.204 4.404 4.394 2.965 4.494 3.272 4.596 4.492 4.692
80 slowest rep, per launch ms (2 launches): 1.938 2.754
81 timing prefill pos0 4032 m 64: chip median 4.404 ms (min 2.965) call median 5.037 ms; 0.97 useful TFLOPS on chip time
82 gate 2 vs 64 decode steps: rows k 0 v 0 differ; outputs worst 0.011 of tol; decode loop chip 134.059 ms call 134.487 ms
83 speed: prefill 4.404 ms vs decode loop 134.059 ms chip time: 30.4x
84chip pos0 0 m 2048: parity bad=0 worst=0.247; rows vs emulation k 8 (max 1 ulp) v 0; chunks 4 grid 128x4 x256 thr; chip 9.656 ms call 78.260 ms
85 reps chip ms (in order, 0 untimed warm calls first): 11.557 6.758 12.266 11.651 11.865 10.530 4.609 11.048 10.824
86 slowest rep, per launch ms (4 launches): 1.745 2.956 1.853 5.713
87 timing prefill pos0 0 m 2048: chip median 11.048 ms (min 4.609) call median 33.219 ms; 3.11 useful TFLOPS on chip time
88chip dev pos0 100 m 70: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 2 grid 9x4; chip 20.920 ms call 23.599 ms
89chip dev pos0 0 m 2048: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 2 grid 256x4; chip 9.060 ms call 14.432 ms
90 dev reps chip ms: 7.954 8.855 2.955 4.694 8.977 8.987 8.875 8.982 9.282
91 timing dev pos0 0 m 2048: chip median 8.875 ms (min 2.955) call median 8.876 ms; 3.87 useful TFLOPS on chip time
92chip dev pos0 4096 m 1500: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 2 grid 188x4; chip 16.593 ms call 27.571 ms
93 dev reps chip ms: 8.992 10.707 10.422 11.095 10.595 4.490 8.466 10.609 10.914
94 timing dev pos0 4096 m 1500: chip median 10.595 ms (min 4.490) call median 10.597 ms; 11.24 useful TFLOPS on chip time
95chip continuation (prefill 300, decode 5, prefill 64, rewrite, prefill 32): mirror valid 369; outputs differ mirror vs none: 0; stale control 32768 differ (must be > 0); after invalidate 0 differ
96chip mutant 1: caught (rc OK, bad 83432, worst 41.54, rows k 7851 v 0)
97chip mutant 2: caught (rc OK, bad 75048, worst 66.80, rows k 0 v 0)
98chip mutant 3: caught (rc OK, bad 0, worst 0.08, rows k 12288 v 12288)
99chip mutant 4: caught (rc OK, bad 53792, worst 183.29, rows k 0 v 0)
100gpu_prefill_attn_test: 164 checks, 0 failed: PASS
101codegen warps 4 mode 0: 917 instructions, 120 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
102codegen warps 4 mode 1: 174 instructions, 56 registers (declared 64, 128 threads -> 8192 of 65536), 0 placeholders patched
103codegen warps 4 mode 2: 782 instructions, 124 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
104codegen warps 8 mode 0: 866 instructions, 120 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
105codegen warps 8 mode 1: 174 instructions, 56 registers (declared 64, 256 threads -> 16384 of 65536), 0 placeholders patched
106codegen warps 8 mode 2: 731 instructions, 124 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
107codegen warps 8 APPEND + mirror: 187 instructions, 56 registers
108path: split APPEND + ATTEND, ATTEND reads the GPU-cached K/V mirror, warps 4, warm 0, dev buffers session (uncached)
109chip pos0 0 m 1: parity bad=0 worst=0.000; rows vs emulation k 0 (max 0 ulp) v 0; chunks 2 grid 1x4 x128 thr; chip 2.807 ms call 30.522 ms
110 gate 2 vs 1 decode steps: rows k 0 v 0 differ; outputs worst 0.000 of tol; decode loop chip 1.938 ms call 2.231 ms
111chip pos0 37 m 19: parity bad=0 worst=0.134; rows vs emulation k 0 (max 0 ulp) v 0; chunks 2 grid 5x4 x128 thr; chip 21.440 ms call 27.182 ms
112 gate 2 vs 19 decode steps: rows k 0 v 0 differ; outputs worst 0.134 of tol; decode loop chip 40.527 ms call 40.665 ms
113chip pos0 0 m 64: parity bad=0 worst=0.231; rows vs emulation k 0 (max 0 ulp) v 0; chunks 2 grid 16x4 x128 thr; chip 0.213 ms call 2.748 ms
114 reps chip ms (in order, 0 untimed warm calls first): 4.185 4.595 3.366 4.286 4.294 2.961 4.384 4.485 4.287
115 slowest rep, per launch ms (2 launches): 2.145 2.450
116 timing prefill pos0 0 m 64: chip median 4.287 ms (min 2.961) call median 4.718 ms; 0.01 useful TFLOPS on chip time
117 gate 2 vs 64 decode steps: rows k 0 v 0 differ; outputs worst 0.231 of tol; decode loop chip 107.426 ms call 107.680 ms
118 speed: prefill 4.287 ms vs decode loop 107.426 ms chip time: 25.1x
119chip pos0 100 m 70: parity bad=0 worst=0.086; rows vs emulation k 1 (max 1 ulp) v 0; chunks 2 grid 18x4 x128 thr; chip 20.247 ms call 24.846 ms
120 gate 2 vs 70 decode steps: rows k 0 v 0 differ; outputs worst 0.086 of tol; decode loop chip 98.534 ms call 98.786 ms
121chip pos0 200 m 64: parity bad=0 worst=0.061; rows vs emulation k 0 (max 0 ulp) v 0; chunks 2 grid 16x4 x128 thr; chip 22.533 ms call 24.533 ms
122 gate 2 vs 64 decode steps: rows k 0 v 0 differ; outputs worst 0.061 of tol; decode loop chip 95.541 ms call 95.758 ms
123chip dev pos0 100 m 70: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 2 grid 18x4; chip 0.275 ms call 0.762 ms
124chip continuation (prefill 300, decode 5, prefill 64, rewrite, prefill 32): mirror valid 369; outputs differ mirror vs none: 0; stale control 32768 differ (must be > 0); after invalidate 0 differ
125chip mutant 1: caught (rc OK, bad 83432, worst 41.54, rows k 7851 v 0)
126chip mutant 2: caught (rc OK, bad 75048, worst 66.80, rows k 0 v 0)
127chip mutant 3: caught (rc OK, bad 0, worst 0.08, rows k 12288 v 12288)
128chip mutant 4: caught (rc OK, bad 53792, worst 183.29, rows k 0 v 0)
129gpu_prefill_attn_test: 127 checks, 0 failed: PASS
130warps 4 exit 0 (informational)
131codegen warps 4 mode 0: 917 instructions, 120 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
132codegen warps 4 mode 1: 174 instructions, 56 registers (declared 64, 128 threads -> 8192 of 65536), 0 placeholders patched
133codegen warps 4 mode 2: 782 instructions, 124 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
134codegen warps 8 mode 0: 866 instructions, 120 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
135codegen warps 8 mode 1: 174 instructions, 56 registers (declared 64, 256 threads -> 16384 of 65536), 0 placeholders patched
136codegen warps 8 mode 2: 731 instructions, 124 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
137codegen warps 8 APPEND + mirror: 187 instructions, 56 registers
138path: fused 64-token chunks, warps 8, warm 0, dev buffers session (uncached)
139chip pos0 0 m 1: parity bad=0 worst=0.000; rows vs emulation k 0 (max 0 ulp) v 0; chunks 1 grid 1x4 x256 thr; chip 2.014 ms call 2.418 ms
140 gate 2 vs 1 decode steps: rows k 0 v 0 differ; outputs worst 0.000 of tol; decode loop chip 2.116 ms call 2.401 ms
141chip pos0 37 m 19: parity bad=0 worst=0.134; rows vs emulation k 0 (max 0 ulp) v 0; chunks 1 grid 3x4 x256 thr; chip 0.614 ms call 1.254 ms
142 gate 2 vs 19 decode steps: rows k 0 v 0 differ; outputs worst 0.134 of tol; decode loop chip 41.139 ms call 41.262 ms
143chip pos0 0 m 64: parity bad=0 worst=0.231; rows vs emulation k 0 (max 0 ulp) v 0; chunks 1 grid 8x4 x256 thr; chip 1.092 ms call 2.243 ms
144 reps chip ms (in order, 0 untimed warm calls first): 1.833 0.814 1.524 2.033 1.941 1.942 1.941 2.146 1.937
145 slowest rep, per launch ms (1 launches): 2.146
146 timing prefill pos0 0 m 64: chip median 1.941 ms (min 0.814) call median 2.422 ms; 0.02 useful TFLOPS on chip time
147 gate 2 vs 64 decode steps: rows k 0 v 0 differ; outputs worst 0.231 of tol; decode loop chip 108.868 ms call 109.267 ms
148 speed: prefill 1.941 ms vs decode loop 108.868 ms chip time: 56.1x
149chip pos0 100 m 70: parity bad=0 worst=0.086; rows vs emulation k 1 (max 1 ulp) v 0; chunks 2 grid 8x4 x256 thr; chip 2.623 ms call 3.463 ms
150 gate 2 vs 70 decode steps: rows k 0 v 0 differ; outputs worst 0.086 of tol; decode loop chip 121.440 ms call 121.909 ms
151chip pos0 200 m 64: parity bad=0 worst=0.061; rows vs emulation k 0 (max 0 ulp) v 0; chunks 1 grid 8x4 x256 thr; chip 1.022 ms call 2.085 ms
152 gate 2 vs 64 decode steps: rows k 0 v 0 differ; outputs worst 0.061 of tol; decode loop chip 126.506 ms call 127.347 ms
153chip dev pos0 100 m 70: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 2 grid 8x4; chip 0.323 ms call 0.325 ms
154chip continuation: skipped (--fused: the fused path builds no K/V mirror; the split run covers it)
155chip mutant 1: caught (rc OK, bad 83432, worst 41.54, rows k 7851 v 0)
156chip mutant 2: caught (rc OK, bad 75048, worst 66.80, rows k 0 v 0)
157chip mutant 3: caught (rc OK, bad 0, worst 0.08, rows k 12288 v 12288)
158chip mutant 4: caught (rc OK, bad 53792, worst 183.29, rows k 0 v 0)
159gpu_prefill_attn_test: 121 checks, 0 failed: PASS
160codegen warps 4 mode 0: 917 instructions, 120 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
161codegen warps 4 mode 1: 174 instructions, 56 registers (declared 64, 128 threads -> 8192 of 65536), 0 placeholders patched
162codegen warps 4 mode 2: 782 instructions, 124 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
163codegen warps 8 mode 0: 866 instructions, 120 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
164codegen warps 8 mode 1: 174 instructions, 56 registers (declared 64, 256 threads -> 16384 of 65536), 0 placeholders patched
165codegen warps 8 mode 2: 731 instructions, 124 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
166codegen warps 8 APPEND + mirror: 187 instructions, 56 registers
167path: fused 64-token chunks, warps 8, warm 0, dev buffers session (uncached)
168chip pos0 0 m 2048: parity bad=0 worst=0.247; rows vs emulation k 8 (max 1 ulp) v 0; chunks 32 grid 8x4 x256 thr; chip 31.480 ms call 81.807 ms
169 reps chip ms (in order, 0 untimed warm calls first): 44.542 45.308 57.787 46.697 45.142 49.817 55.772 51.383 49.852 54.709 50.484 47.786 48.150 53.888 43.240
170 slowest rep, per launch ms (32 launches): 2.057 1.666 1.839 1.816 1.718 0.513 1.837 1.843 1.736 1.836 1.635 1.842 0.411 2.148 1.960 1.875 3.439 2.298 0.605 1.977 1.853 2.063 2.014 1.969 2.088 0.438 2.100 2.085 1.978 2.076 2.072 2.000
171 timing prefill pos0 0 m 2048: chip median 49.817 ms (min 43.240) call median 67.213 ms; 0.69 useful TFLOPS on chip time
172chip dev pos0 0 m 2048: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 32 grid 8x4; chip 55.445 ms call 55.487 ms
173 dev reps chip ms: 60.213 74.543 54.208 58.157 75.721 57.499 60.305 75.033 56.982 62.574 66.626 70.923 56.438 61.036 78.443
174 timing dev pos0 0 m 2048: chip median 61.036 ms (min 54.208) call median 61.052 ms; 0.56 useful TFLOPS on chip time
175chip dev pos0 4096 m 1500: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 24 grid 8x4; chip 63.462 ms call 63.479 ms
176 dev reps chip ms: 64.397 55.910 65.653 60.171 56.428 66.425 59.342 66.298 51.833 56.527 66.884 57.123 67.652 54.251 60.017
177 timing dev pos0 4096 m 1500: chip median 60.017 ms (min 51.833) call median 60.034 ms; 1.98 useful TFLOPS on chip time
178chip pos0 4032 m 64: parity bad=0 worst=0.011; rows vs emulation k 0 (max 0 ulp) v 0; chunks 1 grid 8x4 x256 thr; chip 2.771 ms call 4.202 ms
179 reps chip ms (in order, 0 untimed warm calls first): 1.134 2.149 1.144 2.138 2.221 2.281 2.162 2.215 2.360 0.720 2.152 2.239 2.244 2.246 2.245
180 slowest rep, per launch ms (1 launches): 2.360
181 timing prefill pos0 4032 m 64: chip median 2.215 ms (min 0.720) call median 2.769 ms; 1.92 useful TFLOPS on chip time
182chip dev pos0 4096 m 64: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 1 grid 8x4; chip 0.619 ms call 0.621 ms
183 dev reps chip ms: 2.267 2.079 2.806 2.756 2.793 2.853 2.755 2.848 2.761 2.852 2.753 2.754 1.833 0.510 0.614
184 timing dev pos0 4096 m 64: chip median 2.755 ms (min 0.510) call median 2.755 ms; 1.57 useful TFLOPS on chip time
185gpu_prefill_attn_test: 103 checks, 0 failed: PASS
186fused-cold exit 0 (informational)
187codegen warps 4 mode 0: 917 instructions, 120 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
188codegen warps 4 mode 1: 174 instructions, 56 registers (declared 64, 128 threads -> 8192 of 65536), 0 placeholders patched
189codegen warps 4 mode 2: 782 instructions, 124 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
190codegen warps 8 mode 0: 866 instructions, 120 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
191codegen warps 8 mode 1: 174 instructions, 56 registers (declared 64, 256 threads -> 16384 of 65536), 0 placeholders patched
192codegen warps 8 mode 2: 731 instructions, 124 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
193codegen warps 8 APPEND + mirror: 187 instructions, 56 registers
194path: fused 64-token chunks, warps 8, warm 5, dev buffers session (uncached)
195chip pos0 0 m 2048: parity bad=0 worst=0.247; rows vs emulation k 8 (max 1 ulp) v 0; chunks 32 grid 8x4 x256 thr; chip 32.947 ms call 78.228 ms
196 reps chip ms (in order, 5 untimed warm calls first): 52.071 47.123 49.701 46.759 54.734 48.278 52.284 47.974 57.298 45.691 47.451 51.639 51.943 46.749 43.106
197 slowest rep, per launch ms (32 launches): 1.859 1.963 1.862 0.631 1.963 1.867 1.962 1.961 2.065 0.627 1.964 2.068 1.961 1.963 2.069 0.624 2.065 2.063 2.071 1.961 2.169 1.961 0.623 2.063 2.063 2.166 2.069 2.085 2.077 1.965 0.419 2.070
198 timing prefill pos0 0 m 2048: chip median 48.278 ms (min 43.106) call median 67.848 ms; 0.71 useful TFLOPS on chip time
199chip dev pos0 0 m 2048: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 32 grid 8x4; chip 52.319 ms call 52.343 ms
200 dev reps chip ms: 68.896 57.267 63.795 75.650 56.087 59.539 73.749 56.461 56.487 72.039 57.074 58.515 68.765 65.673 64.161
201 timing dev pos0 0 m 2048: chip median 63.795 ms (min 56.087) call median 63.821 ms; 0.54 useful TFLOPS on chip time
202chip dev pos0 4096 m 1500: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 24 grid 8x4; chip 51.663 ms call 51.688 ms
203 dev reps chip ms: 57.753 65.729 53.702 68.007 51.754 58.257 65.998 57.741 67.649 56.563 58.665 64.573 57.191 66.984 51.991
204 timing dev pos0 4096 m 1500: chip median 58.257 ms (min 51.754) call median 58.269 ms; 2.04 useful TFLOPS on chip time
205chip pos0 4032 m 64: parity bad=0 worst=0.011; rows vs emulation k 0 (max 0 ulp) v 0; chunks 1 grid 8x4 x256 thr; chip 0.935 ms call 2.419 ms
206 reps chip ms (in order, 5 untimed warm calls first): 2.255 2.270 2.047 0.724 2.160 2.059 2.449 2.249 2.349 2.447 2.288 2.357 2.179 2.353 1.532
207 slowest rep, per launch ms (1 launches): 2.449
208 timing prefill pos0 4032 m 64: chip median 2.255 ms (min 0.724) call median 2.711 ms; 1.89 useful TFLOPS on chip time
209chip dev pos0 4096 m 64: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 1 grid 8x4; chip 1.642 ms call 1.648 ms
210 dev reps chip ms: 2.760 2.756 0.916 0.612 0.614 0.612 0.510 0.612 0.510 2.750 2.753 2.855 2.747 2.750 2.749
211 timing dev pos0 4096 m 64: chip median 2.747 ms (min 0.510) call median 2.748 ms; 1.58 useful TFLOPS on chip time
212gpu_prefill_attn_test: 103 checks, 0 failed: PASS
213fused-warm5 exit 0 (informational)
214codegen warps 4 mode 0: 917 instructions, 120 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
215codegen warps 4 mode 1: 174 instructions, 56 registers (declared 64, 128 threads -> 8192 of 65536), 0 placeholders patched
216codegen warps 4 mode 2: 782 instructions, 124 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
217codegen warps 8 mode 0: 866 instructions, 120 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
218codegen warps 8 mode 1: 174 instructions, 56 registers (declared 64, 256 threads -> 16384 of 65536), 0 placeholders patched
219codegen warps 8 mode 2: 731 instructions, 124 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
220codegen warps 8 APPEND + mirror: 187 instructions, 56 registers
221path: split APPEND + ATTEND, ATTEND reads the GPU-cached K/V mirror, warps 8, warm 0, dev buffers session (uncached)
222chip pos0 0 m 2048: parity bad=0 worst=0.247; rows vs emulation k 8 (max 1 ulp) v 0; chunks 4 grid 128x4 x256 thr; chip 9.344 ms call 98.190 ms
223 reps chip ms (in order, 0 untimed warm calls first): 10.006 11.358 9.194 11.025 10.436 8.162 11.329 5.429 11.621 10.315 5.426 12.139 11.847 7.047 11.322
224 slowest rep, per launch ms (4 launches): 1.944 2.034 2.361 5.799
225 timing prefill pos0 0 m 2048: chip median 10.436 ms (min 5.426) call median 34.099 ms; 3.29 useful TFLOPS on chip time
226chip dev pos0 0 m 2048: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 2 grid 256x4; chip 7.879 ms call 13.092 ms
227 dev reps chip ms: 7.147 8.957 7.228 9.257 9.236 8.911 9.085 8.962 8.857 8.853 7.527 2.449 4.447 9.052 9.157
228 timing dev pos0 0 m 2048: chip median 8.911 ms (min 2.449) call median 8.913 ms; 3.86 useful TFLOPS on chip time
229chip dev pos0 4096 m 1500: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 2 grid 188x4; chip 7.277 ms call 18.018 ms
230 dev reps chip ms: 9.705 10.604 10.599 10.499 4.892 8.654 10.688 11.197 10.577 10.788 10.687 11.088 10.581 11.087 9.369
231 timing dev pos0 4096 m 1500: chip median 10.599 ms (min 4.892) call median 10.600 ms; 11.24 useful TFLOPS on chip time
232chip pos0 4032 m 64: parity bad=0 worst=0.011; rows vs emulation k 0 (max 0 ulp) v 0; chunks 2 grid 8x4 x256 thr; chip 3.461 ms call 24.945 ms
233 reps chip ms (in order, 0 untimed warm calls first): 3.267 4.491 4.383 2.547 4.582 4.580 4.580 2.932 4.493 4.490 4.387 0.512 0.412 0.615 4.996
234 slowest rep, per launch ms (2 launches): 2.242 2.754
235 timing prefill pos0 4032 m 64: chip median 4.387 ms (min 0.412) call median 5.054 ms; 0.97 useful TFLOPS on chip time
236chip dev pos0 4096 m 64: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 2 grid 8x4; chip 22.819 ms call 32.395 ms
237 dev reps chip ms: 4.094 4.288 5.108 5.001 4.902 0.410 0.512 0.716 0.410 5.087 4.988 5.092 3.662 4.986 1.937
238 timing dev pos0 4096 m 64: chip median 4.288 ms (min 0.410) call median 4.289 ms; 1.01 useful TFLOPS on chip time
239gpu_prefill_attn_test: 103 checks, 0 failed: PASS
240split-cold exit 0 (informational)
241codegen warps 4 mode 0: 917 instructions, 120 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
242codegen warps 4 mode 1: 174 instructions, 56 registers (declared 64, 128 threads -> 8192 of 65536), 0 placeholders patched
243codegen warps 4 mode 2: 782 instructions, 124 registers (declared 128, 128 threads -> 16384 of 65536), 16 placeholders patched
244codegen warps 8 mode 0: 866 instructions, 120 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
245codegen warps 8 mode 1: 174 instructions, 56 registers (declared 64, 256 threads -> 16384 of 65536), 0 placeholders patched
246codegen warps 8 mode 2: 731 instructions, 124 registers (declared 128, 256 threads -> 32768 of 65536), 16 placeholders patched
247codegen warps 8 APPEND + mirror: 187 instructions, 56 registers
248path: split APPEND + ATTEND, ATTEND reads the GPU-cached K/V mirror, warps 8, warm 5, dev buffers session (uncached)
249chip pos0 0 m 2048: parity bad=0 worst=0.247; rows vs emulation k 8 (max 1 ulp) v 0; chunks 4 grid 128x4 x256 thr; chip 10.042 ms call 91.940 ms
250 reps chip ms (in order, 5 untimed warm calls first): 7.038 10.905 10.253 11.022 9.919 11.532 10.535 11.346 6.748 10.326 10.971 11.741 11.495 5.218 10.772
251 slowest rep, per launch ms (4 launches): 1.842 3.060 0.943 5.896
252 timing prefill pos0 0 m 2048: chip median 10.772 ms (min 5.218) call median 32.045 ms; 3.19 useful TFLOPS on chip time
253chip dev pos0 0 m 2048: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 2 grid 256x4; chip 8.464 ms call 14.320 ms
254 dev reps chip ms: 9.045 8.714 8.975 9.082 9.095 9.022 9.388 8.899 9.092 5.978 4.478 9.005 8.994 9.199 9.102
255 timing dev pos0 0 m 2048: chip median 9.022 ms (min 4.478) call median 9.024 ms; 3.81 useful TFLOPS on chip time
256chip dev pos0 4096 m 1500: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 2 grid 188x4; chip 27.641 ms call 38.360 ms
257 dev reps chip ms: 10.629 9.823 10.649 9.312 3.956 10.538 10.990 10.808 11.136 11.125 10.614 11.106 10.503 10.305 10.623
258 timing dev pos0 4096 m 1500: chip median 10.623 ms (min 3.956) call median 10.624 ms; 11.21 useful TFLOPS on chip time
259chip pos0 4032 m 64: parity bad=0 worst=0.011; rows vs emulation k 0 (max 0 ulp) v 0; chunks 2 grid 8x4 x256 thr; chip 22.280 ms call 38.397 ms
260 reps chip ms (in order, 5 untimed warm calls first): 3.262 4.587 4.377 4.683 2.445 4.691 4.597 4.491 2.346 0.512 0.410 0.514 0.410 4.682 4.584
261 slowest rep, per launch ms (2 launches): 2.040 2.650
262 timing prefill pos0 4032 m 64: chip median 4.377 ms (min 0.410) call median 4.923 ms; 0.97 useful TFLOPS on chip time
263chip dev pos0 4096 m 64: outputs vs host entry: 0 unwritten, 0 differ; rows k 0 v 0 differ; launches 2 grid 8x4; chip 21.894 ms call 29.092 ms
264 dev reps chip ms: 5.089 3.674 0.512 0.511 0.410 0.410 0.512 0.613 5.024 5.086 5.091 3.668 5.090 3.875 5.186
265 timing dev pos0 4096 m 64: chip median 3.674 ms (min 0.410) call median 3.675 ms; 1.18 useful TFLOPS on chip time
266gpu_prefill_attn_test: 103 checks, 0 failed: PASS
267split-warm5 exit 0 (informational)
268GPU_PREFILL_ATTN_CHIP: PASS