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
omega-mv / evidence / OWN30B-REQUAL-MAIN-710d438c-20261015 / gates / fp8gemm.out
| 1 | host-only: emulation, permutation, budgets |
| 2 | emulation vs oracle: worst relative error 2.00e-08 of the term scale |
| 3 | codegen k 2048 lane 16 mt 8 warps 16: 797 instructions, 107 registers (declared 112, register file 57344 of 65536), shared 16384 B |
| 4 | codegen k 4096 lane 16 mt 8 warps 16: 797 instructions, 107 registers (declared 112, register file 57344 of 65536), shared 16384 B |
| 5 | codegen k 1024 lane 16 mt 8 warps 16: 788 instructions, 104 registers (declared 112, register file 57344 of 65536), shared 16384 B |
| 6 | codegen k 768 lane 8 mt 8 warps 16: 683 instructions, 103 registers (declared 104, register file 53248 of 65536), shared 8192 B |
| 7 | codegen k 768 lane 8 mt 8 warps 8: 731 instructions, 103 registers (declared 104, register file 26624 of 65536), shared 8192 B |
| 8 | codegen k 2048 lane 8 mt 8 warps 16: 541 instructions, 103 registers (declared 104, register file 53248 of 65536), shared 8192 B |
| 9 | codegen k 2048 lane 16 mt 4 warps 16: 509 instructions, 99 registers (declared 104, register file 53248 of 65536), shared 8192 B |
| 10 | codegen k 2048 lane 16 mt 8 warps 32: 765 instructions, 107 registers (declared 112, register file 114688 of 65536) DOES NOT FIT, shared 16384 B |
| 11 | codegen k 2048 lane 16 mt 8 warps 8: 861 instructions, 107 registers (declared 112, register file 28672 of 65536), shared 16384 B |
| 12 | codegen k 2048 lane 16 mt 4 warps 8: 541 instructions, 99 registers (declared 104, register file 26624 of 65536), shared 8192 B |
| 13 | codegen k 4096 lane 16 mt 4 warps 8: 541 instructions, 99 registers (declared 104, register file 26624 of 65536), shared 8192 B |
| 14 | gpu_fp8gemm_test: 53 checks, 0 failed: PASS |
| 15 | sim k 2048 n 40 lane 16 mt 8 warps 16 grid 2: ok 0 of 600 outputs differ from the emulation (bit-identical) |
| 16 | sim k 4096 n 20 lane 16 mt 8 warps 16 grid 1: ok 0 of 220 outputs differ from the emulation (bit-identical) |
| 17 | sim k 1024 n 33 lane 16 mt 8 warps 16 grid 2: ok 0 of 99 outputs differ from the emulation (bit-identical) |
| 18 | sim k 768 n 130 lane 8 mt 8 warps 16 grid 2: ok 0 of 2730 outputs differ from the emulation (bit-identical) |
| 19 | sim k 768 n 24 lane 8 mt 8 warps 8 grid 1: ok 0 of 264 outputs differ from the emulation (bit-identical) |
| 20 | sim k 2048 n 16 lane 16 mt 4 warps 16 grid 1: ok 0 of 160 outputs differ from the emulation (bit-identical) |
| 21 | sim mutant 1: caught 600 of 600 outputs differ from the emulation |
| 22 | sim mutant 2: caught 600 of 600 outputs differ from the emulation |
| 23 | sim mutant 3: caught 600 of 600 outputs differ from the emulation |
| 24 | sim: 3444454 warp issues in total |
| 25 | gpu_fp8gemm_test: 9 checks, 0 failed: PASS |
| 26 | == gateup: 128 experts, n 1536, k 2048, 64 tokens x top-8 |
| 27 | upload 403 MB: rc=OK 301 ms |
| 28 | parity vs per-row GEMV (512 calls, 28 ms): 0 of 786432 outputs differ (bit-identical) |
| 29 | 4 sampled outputs: 0 differ from the host emulation, worst relative error vs the double oracle 1.62e-08 |
| 30 | second call: bit-identical |
| 31 | chip mutant 1: caught (786432 of 786432 outputs differ) |
| 32 | chip mutant 2: caught (786432 of 786432 outputs differ) |
| 33 | chip mutant 3: caught (784896 of 786432 outputs differ) |
| 34 | GEMM (medians of 15, evict 1): mt 4 warps 16 ctas 2 x 126 segments, 512 rows, up to 3 passes: chip 4063.8 us, call 4732.8 us; streams 563 MB (distinct experts 396 MB) = 138.6 GB/s on streamed, 97.5 GB/s on distinct |
| 35 | per-token grouped GEMV baseline (64 tokens, medians of 15): chip 9417.1 us, call 10015.4 us => GEMM is 2.32x faster (chip), 2.12x (call) |
| 36 | per token: GEMM chip 63.5 us/token, call 73.9 us/token |
| 37 | == down: 128 experts, n 2048, k 768, 64 tokens x top-8 |
| 38 | upload 201 MB: rc=OK 84 ms |
| 39 | parity vs per-row GEMV (512 calls, 27 ms): 0 of 1048576 outputs differ (bit-identical) |
| 40 | 4 sampled outputs: 0 differ from the host emulation, worst relative error vs the double oracle 1.23e-08 |
| 41 | second call: bit-identical |
| 42 | chip mutant 1: caught (1048576 of 1048576 outputs differ) |
| 43 | chip mutant 2: caught (1048576 of 1048576 outputs differ) |
| 44 | chip mutant 3: caught (1048576 of 1048576 outputs differ) |
| 45 | GEMM (medians of 15, evict 1): mt 4 warps 16 ctas 2 x 126 segments, 512 rows, up to 3 passes: chip 1320.8 us, call 2174.9 us; streams 272 MB (distinct experts 198 MB) = 206.0 GB/s on streamed, 150.0 GB/s on distinct |
| 46 | per-token grouped GEMV baseline (64 tokens, medians of 15): chip 5816.0 us, call 6613.2 us => GEMM is 4.40x faster (chip), 3.04x (call) |
| 47 | per token: GEMM chip 20.6 us/token, call 34.0 us/token |
| 48 | == qkv: 1 experts, n 5120, k 2048, 64 tokens x top-1 |
| 49 | upload 10 MB: rc=OK 4 ms |
| 50 | parity vs per-row GEMV (64 calls, 7 ms): 0 of 327680 outputs differ (bit-identical) |
| 51 | 4 sampled outputs: 0 differ from the host emulation, worst relative error vs the double oracle 8.42e-09 |
| 52 | second call: bit-identical |
| 53 | chip mutant 1: caught (327680 of 327680 outputs differ) |
| 54 | chip mutant 2: caught (327680 of 327680 outputs differ) |
| 55 | chip mutant 3: caught (327680 of 327680 outputs differ) |
| 56 | GEMM (medians of 15, evict 1): mt 8 warps 16 ctas 96 x 1 segments, 64 rows, up to 8 passes: chip 1817.3 us, call 2100.4 us; streams 84 MB (distinct experts 10 MB) = 46.2 GB/s on streamed, 5.8 GB/s on distinct |
| 57 | per-token grouped GEMV baseline (64 tokens, medians of 15): chip 5167.9 us, call 5535.0 us => GEMM is 2.84x faster (chip), 2.64x (call) |
| 58 | per token: GEMM chip 28.4 us/token, call 32.8 us/token |
| 59 | == o: 1 experts, n 2048, k 4096, 64 tokens x top-1 |
| 60 | upload 8 MB: rc=OK 4 ms |
| 61 | parity vs per-row GEMV (64 calls, 6 ms): 0 of 131072 outputs differ (bit-identical) |
| 62 | 4 sampled outputs: 0 differ from the host emulation, worst relative error vs the double oracle 4.26e-09 |
| 63 | second call: bit-identical |
| 64 | chip mutant 1: caught (131072 of 131072 outputs differ) |
| 65 | chip mutant 2: caught (131072 of 131072 outputs differ) |
| 66 | chip mutant 3: caught (131072 of 131072 outputs differ) |
| 67 | GEMM (medians of 15, evict 1): mt 8 warps 16 ctas 96 x 1 segments, 64 rows, up to 8 passes: chip 1463.3 us, call 1701.3 us; streams 67 MB (distinct experts 8 MB) = 45.9 GB/s on streamed, 5.7 GB/s on distinct |
| 68 | per-token grouped GEMV baseline (64 tokens, medians of 15): chip 4418.2 us, call 4667.0 us => GEMM is 3.02x faster (chip), 2.74x (call) |
| 69 | per token: GEMM chip 22.9 us/token, call 26.6 us/token |
| 70 | gpu_fp8gemm_test: 36 checks, 0 failed: PASS |
| 71 | == gateup: 128 experts, n 1536, k 2048, 64 tokens x top-8 |
| 72 | upload 403 MB: rc=OK 302 ms |
| 73 | parity vs per-row GEMV (512 calls, 27 ms): 0 of 786432 outputs differ (bit-identical) |
| 74 | 4 sampled outputs: 0 differ from the host emulation, worst relative error vs the double oracle 1.62e-08 |
| 75 | second call: bit-identical |
| 76 | chip mutant 1: caught (786432 of 786432 outputs differ) |
| 77 | chip mutant 2: caught (786432 of 786432 outputs differ) |
| 78 | chip mutant 3: caught (784896 of 786432 outputs differ) |
| 79 | GEMM (medians of 9, evict 0): mt 4 warps 16 ctas 2 x 126 segments, 512 rows, up to 3 passes: chip 3639.6 us, call 4267.8 us; streams 563 MB (distinct experts 396 MB) = 154.7 GB/s on streamed, 108.9 GB/s on distinct |
| 80 | per-token grouped GEMV baseline (64 tokens, medians of 9): chip 9440.8 us, call 10104.4 us => GEMM is 2.59x faster (chip), 2.37x (call) |
| 81 | per token: GEMM chip 56.9 us/token, call 66.7 us/token |
| 82 | == down: 128 experts, n 2048, k 768, 64 tokens x top-8 |
| 83 | upload 201 MB: rc=OK 84 ms |
| 84 | parity vs per-row GEMV (512 calls, 28 ms): 0 of 1048576 outputs differ (bit-identical) |
| 85 | 4 sampled outputs: 0 differ from the host emulation, worst relative error vs the double oracle 1.23e-08 |
| 86 | second call: bit-identical |
| 87 | chip mutant 1: caught (1048576 of 1048576 outputs differ) |
| 88 | chip mutant 2: caught (1048576 of 1048576 outputs differ) |
| 89 | chip mutant 3: caught (1048576 of 1048576 outputs differ) |
| 90 | GEMM (medians of 9, evict 0): mt 4 warps 16 ctas 2 x 126 segments, 512 rows, up to 3 passes: chip 1308.6 us, call 2108.2 us; streams 272 MB (distinct experts 198 MB) = 207.9 GB/s on streamed, 151.4 GB/s on distinct |
| 91 | per-token grouped GEMV baseline (64 tokens, medians of 9): chip 5763.3 us, call 6621.4 us => GEMM is 4.40x faster (chip), 3.14x (call) |
| 92 | per token: GEMM chip 20.4 us/token, call 32.9 us/token |
| 93 | == qkv: 1 experts, n 5120, k 2048, 64 tokens x top-1 |
| 94 | upload 10 MB: rc=OK 4 ms |
| 95 | parity vs per-row GEMV (64 calls, 5 ms): 0 of 327680 outputs differ (bit-identical) |
| 96 | 4 sampled outputs: 0 differ from the host emulation, worst relative error vs the double oracle 8.42e-09 |
| 97 | second call: bit-identical |
| 98 | chip mutant 1: caught (327680 of 327680 outputs differ) |
| 99 | chip mutant 2: caught (327680 of 327680 outputs differ) |
| 100 | chip mutant 3: caught (327680 of 327680 outputs differ) |
| 101 | GEMM (medians of 9, evict 0): mt 8 warps 16 ctas 96 x 1 segments, 64 rows, up to 8 passes: chip 1843.7 us, call 2097.9 us; streams 84 MB (distinct experts 10 MB) = 45.5 GB/s on streamed, 5.7 GB/s on distinct |
| 102 | per-token grouped GEMV baseline (64 tokens, medians of 9): chip 4119.1 us, call 4575.6 us => GEMM is 2.23x faster (chip), 2.18x (call) |
| 103 | per token: GEMM chip 28.8 us/token, call 32.8 us/token |
| 104 | == o: 1 experts, n 2048, k 4096, 64 tokens x top-1 |
| 105 | upload 8 MB: rc=OK 3 ms |
| 106 | parity vs per-row GEMV (64 calls, 6 ms): 0 of 131072 outputs differ (bit-identical) |
| 107 | 4 sampled outputs: 0 differ from the host emulation, worst relative error vs the double oracle 4.26e-09 |
| 108 | second call: bit-identical |
| 109 | chip mutant 1: caught (131072 of 131072 outputs differ) |
| 110 | chip mutant 2: caught (131072 of 131072 outputs differ) |
| 111 | chip mutant 3: caught (131072 of 131072 outputs differ) |
| 112 | GEMM (medians of 9, evict 0): mt 8 warps 16 ctas 96 x 1 segments, 64 rows, up to 8 passes: chip 1459.7 us, call 1609.7 us; streams 67 MB (distinct experts 8 MB) = 46.0 GB/s on streamed, 5.7 GB/s on distinct |
| 113 | per-token grouped GEMV baseline (64 tokens, medians of 9): chip 4463.0 us, call 4734.7 us => GEMM is 3.06x faster (chip), 2.94x (call) |
| 114 | per token: GEMM chip 22.8 us/token, call 25.2 us/token |
| 115 | gpu_fp8gemm_test: 36 checks, 0 failed: PASS |
| 116 | --no-evict exit 0 (informational) |
| 117 | == gateup: 128 experts, n 1536, k 2048, 64 tokens x top-8 |
| 118 | upload 403 MB: rc=OK 308 ms |
| 119 | parity vs per-row GEMV (512 calls, 26 ms): 0 of 786432 outputs differ (bit-identical) |
| 120 | 4 sampled outputs: 0 differ from the host emulation, worst relative error vs the double oracle 1.62e-08 |
| 121 | second call: bit-identical |
| 122 | chip mutant 1: caught (786432 of 786432 outputs differ) |
| 123 | chip mutant 2: caught (786432 of 786432 outputs differ) |
| 124 | chip mutant 3: caught (784896 of 786432 outputs differ) |
| 125 | GEMM (medians of 9, evict 1): mt 8 warps 16 ctas 2 x 126 segments, 512 rows, up to 2 passes: chip 5701.4 us, call 6367.5 us; streams 409 MB (distinct experts 396 MB) = 71.7 GB/s on streamed, 69.5 GB/s on distinct |
| 126 | per-token grouped GEMV baseline (64 tokens, medians of 9): chip 9467.8 us, call 10048.1 us => GEMM is 1.66x faster (chip), 1.58x (call) |
| 127 | per token: GEMM chip 89.1 us/token, call 99.5 us/token |
| 128 | gpu_fp8gemm_test: 9 checks, 0 failed: PASS |
| 129 | --shape gateup --mt 8 exit 0 (informational) |
| 130 | == gateup: 128 experts, n 1536, k 2048, 64 tokens x top-8 |
| 131 | upload 403 MB: rc=OK 305 ms |
| 132 | parity vs per-row GEMV (512 calls, 31 ms): 0 of 786432 outputs differ (bit-identical) |
| 133 | 4 sampled outputs: 0 differ from the host emulation, worst relative error vs the double oracle 1.62e-08 |
| 134 | second call: bit-identical |
| 135 | chip mutant 1: caught (786432 of 786432 outputs differ) |
| 136 | chip mutant 2: caught (786432 of 786432 outputs differ) |
| 137 | chip mutant 3: caught (784896 of 786432 outputs differ) |
| 138 | GEMM (medians of 9, evict 1): mt 2 warps 16 ctas 2 x 126 segments, 512 rows, up to 5 passes: chip 4048.2 us, call 4703.0 us; streams 928 MB (distinct experts 396 MB) = 229.2 GB/s on streamed, 97.9 GB/s on distinct |
| 139 | per-token grouped GEMV baseline (64 tokens, medians of 9): chip 9657.4 us, call 10508.9 us => GEMM is 2.39x faster (chip), 2.23x (call) |
| 140 | per token: GEMM chip 63.3 us/token, call 73.5 us/token |
| 141 | gpu_fp8gemm_test: 9 checks, 0 failed: PASS |
| 142 | --shape gateup --mt 2 exit 0 (informational) |
| 143 | == gateup: 128 experts, n 1536, k 2048, 128 tokens x top-8 |
| 144 | upload 403 MB: rc=OK 302 ms |
| 145 | parity vs per-row GEMV (1024 calls, 54 ms): 0 of 1572864 outputs differ (bit-identical) |
| 146 | 4 sampled outputs: 0 differ from the host emulation, worst relative error vs the double oracle 7.66e-09 |
| 147 | second call: bit-identical |
| 148 | chip mutant 1: caught (1572864 of 1572864 outputs differ) |
| 149 | chip mutant 2: caught (1572864 of 1572864 outputs differ) |
| 150 | chip mutant 3: caught (1572864 of 1572864 outputs differ) |
| 151 | GEMM (medians of 9, evict 1): mt 4 warps 16 ctas 2 x 128 segments, 1024 rows, up to 4 passes: chip 6399.5 us, call 7896.5 us; streams 966 MB (distinct experts 403 MB) = 150.9 GB/s on streamed, 62.9 GB/s on distinct |
| 152 | per-token grouped GEMV baseline (128 tokens, medians of 9): chip 19015.3 us, call 20429.1 us => GEMM is 2.97x faster (chip), 2.59x (call) |
| 153 | per token: GEMM chip 50.0 us/token, call 61.7 us/token |
| 154 | gpu_fp8gemm_test: 9 checks, 0 failed: PASS |
| 155 | --shape gateup --tokens 128 exit 0 (informational) |
| 156 | == down: 128 experts, n 2048, k 768, 128 tokens x top-8 |
| 157 | upload 201 MB: rc=OK 223 ms |
| 158 | parity vs per-row GEMV (1024 calls, 62 ms): 0 of 2097152 outputs differ (bit-identical) |
| 159 | 4 sampled outputs: 0 differ from the host emulation, worst relative error vs the double oracle 3.32e-08 |
| 160 | second call: bit-identical |
| 161 | chip mutant 1: caught (2097152 of 2097152 outputs differ) |
| 162 | chip mutant 2: caught (2097151 of 2097152 outputs differ) |
| 163 | chip mutant 3: caught (2097152 of 2097152 outputs differ) |
| 164 | GEMM (medians of 9, evict 1): mt 4 warps 16 ctas 2 x 128 segments, 1024 rows, up to 4 passes: chip 2416.2 us, call 4183.8 us; streams 481 MB (distinct experts 201 MB) = 199.2 GB/s on streamed, 83.3 GB/s on distinct |
| 165 | per-token grouped GEMV baseline (128 tokens, medians of 9): chip 12100.0 us, call 13741.2 us => GEMM is 5.01x faster (chip), 3.28x (call) |
| 166 | per token: GEMM chip 18.9 us/token, call 32.7 us/token |
| 167 | gpu_fp8gemm_test: 9 checks, 0 failed: PASS |
| 168 | --shape down --tokens 128 exit 0 (informational) |
| 169 | GPU_FP8GEMM_CHIP: PASS |