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 / OWN30B-REQUAL-MAIN-710d438c-20261015 / gates / bf16_gemv.out

83 lines · 6034 bytes Raw Blame History
1host-only: emulation, oracle, budgets
2emulation vs oracle: abs 3.577e-08, scale 63.821
3codegen rows 1 warps 4 depth 8: 266 instructions, 60 registers (declared 64, register file 8192 of 65536)
4codegen rows 1 warps 8 depth 8: 234 instructions, 60 registers (declared 64, register file 16384 of 65536)
5codegen rows 1 warps 16 depth 8: 218 instructions, 60 registers (declared 64, register file 32768 of 65536)
6codegen rows 1 warps 32 depth 8: 210 instructions, 60 registers (declared 64, register file 65536 of 65536)
7gpu_bf16_gemv_test: 185 checks, 0 failed: PASS
8sim k 2048 n 100 rows 1 warps 8 depth 8 grid 2: ok 0 of 100 rows differ from the emulation (bit-identical)
9sim k 2048 n 100 rows 1 warps 8 depth 4 grid 3: ok 0 of 100 rows differ from the emulation (bit-identical)
10sim k 2048 n 64 rows 1 warps 8 depth 1 grid 2: ok 0 of 64 rows differ from the emulation (bit-identical)
11sim k 2048 n 96 rows 2 warps 8 depth 4 grid 2: ok 0 of 96 rows differ from the emulation (bit-identical)
12sim k 2048 n 96 rows 4 warps 8 depth 4 grid 1: ok 0 of 96 rows differ from the emulation (bit-identical)
13sim k 512 n 70 rows 1 warps 8 depth 2 grid 2: ok 0 of 70 rows differ from the emulation (bit-identical)
14sim k 512 n 70 rows 2 warps 4 depth 1 grid 3: ok 0 of 70 rows differ from the emulation (bit-identical)
15sim k 4096 n 40 rows 1 warps 8 depth 16 grid 2: ok 0 of 40 rows differ from the emulation (bit-identical)
16sim mutant 1: caught 64 of 64 rows differ from the emulation
17sim mutant 2: caught 64 of 64 rows differ from the emulation
18sim mutant 3: caught 64 of 64 rows differ from the emulation
19sim: 297068 warp issues in total
20gpu_bf16_gemv_test: 11 checks, 0 failed: PASS
21PASS timing 1x2048x8192 upload_ms=239.1 ok_calls=100 median_ms=0.411 p90_ms=0.479 min_ms=0.297 max_ms=1.026 chip_ns_mean=411717 grid=64x1 e2e_first=2.36603e-07 e2e_last=2.36603e-07 repeat_mismatch=0
22PASS timing 1x8192x2048 upload_ms=105.2 ok_calls=100 median_ms=0.513 p90_ms=0.627 min_ms=0.418 max_ms=1.068 chip_ns_mean=540529 grid=64x1 e2e_first=5.21488e-07 e2e_last=5.21488e-07 repeat_mismatch=0
23PASS: 4 checks, 0 failed
24baseline exit 0 (recorded)
25upload 151936 x 2048 bf16 (622 MB): rc=OK 312 ms ()
26parity: 0 of 151936 rows differ from the f32 emulation (bit compare); worst error vs double oracle 2.36e-08 of the term scale (y -1.416); argmax chip 74730 oracle 74730
27second call: bit-identical
28bf16-x entry: bit-identical to the emulation
29timing (medians of 50, evict 1): rows 1 warps 16 depth 8 ctas 96: chip 2935.1 us = 212.0 GB/s on 622 MB; call 3044.9 us = 204.4 GB/s
30chip mutant 1: caught (4096 of 4096 rows differ)
31chip mutant 2: caught (4096 of 4096 rows differ)
32chip mutant 3: caught (4096 of 4096 rows differ)
33gpu_bf16_gemv_test: 12 checks, 0 failed: PASS
34upload 151936 x 2048 bf16 (622 MB): rc=OK 304 ms ()
35parity: 0 of 151936 rows differ from the f32 emulation (bit compare); worst error vs double oracle 2.36e-08 of the term scale (y -1.416); argmax chip 74730 oracle 74730
36second call: bit-identical
37bf16-x entry: bit-identical to the emulation
38timing (medians of 30, evict 0): rows 1 warps 16 depth 8 ctas 96: chip 2920.3 us = 213.1 GB/s on 622 MB; call 3016.1 us = 206.3 GB/s
39chip mutant 1: caught (4096 of 4096 rows differ)
40chip mutant 2: caught (4096 of 4096 rows differ)
41chip mutant 3: caught (4096 of 4096 rows differ)
42gpu_bf16_gemv_test: 12 checks, 0 failed: PASS
43--no-evict exit 0 (informational)
44upload 151936 x 2048 bf16 (622 MB): rc=OK 302 ms ()
45parity: 0 of 151936 rows differ from the f32 emulation (bit compare); worst error vs double oracle 2.36e-08 of the term scale (y -1.416); argmax chip 74730 oracle 74730
46second call: bit-identical
47bf16-x entry: bit-identical to the emulation
48timing (medians of 30, evict 1): rows 1 warps 16 depth 4 ctas 96: chip 2933.0 us = 212.2 GB/s on 622 MB; call 3039.4 us = 204.8 GB/s
49chip mutant 1: caught (4096 of 4096 rows differ)
50chip mutant 2: caught (4096 of 4096 rows differ)
51chip mutant 3: caught (4096 of 4096 rows differ)
52gpu_bf16_gemv_test: 12 checks, 0 failed: PASS
53--depth 4 exit 0 (informational)
54upload 151936 x 2048 bf16 (622 MB): rc=OK 305 ms ()
55parity: 0 of 151936 rows differ from the f32 emulation (bit compare); worst error vs double oracle 2.36e-08 of the term scale (y -1.416); argmax chip 74730 oracle 74730
56second call: bit-identical
57bf16-x entry: bit-identical to the emulation
58timing (medians of 30, evict 1): rows 1 warps 32 depth 8 ctas 96: chip 3034.5 us = 205.1 GB/s on 622 MB; call 3141.7 us = 198.1 GB/s
59chip mutant 1: caught (4096 of 4096 rows differ)
60chip mutant 2: caught (4096 of 4096 rows differ)
61chip mutant 3: caught (4096 of 4096 rows differ)
62gpu_bf16_gemv_test: 12 checks, 0 failed: PASS
63--warps 32 exit 0 (informational)
64upload 151936 x 2048 bf16 (622 MB): rc=OK 312 ms ()
65parity: 0 of 151936 rows differ from the f32 emulation (bit compare); worst error vs double oracle 2.36e-08 of the term scale (y -1.416); argmax chip 74730 oracle 74730
66second call: bit-identical
67bf16-x entry: bit-identical to the emulation
68timing (medians of 30, evict 1): rows 1 warps 16 depth 8 ctas 48: chip 3028.9 us = 205.5 GB/s on 622 MB; call 3138.6 us = 198.3 GB/s
69chip mutant 1: caught (4096 of 4096 rows differ)
70chip mutant 2: caught (4096 of 4096 rows differ)
71chip mutant 3: caught (4096 of 4096 rows differ)
72gpu_bf16_gemv_test: 12 checks, 0 failed: PASS
73--ctas 48 exit 0 (informational)
74quantised lm_head: weight rms error 0.0265 of weight rms (block-scaled e4m3)
75uploads: bf16 OK, fp8 OK
76state 0: bf16 argmax 68534 (18.378), fp8 argmax 68534 (18.330), margin 3.2326, logit rms rel diff 0.0276
77lm_head fp8 vs bf16 argmax study (real lm_head.weight, 1000 random hidden states = gaussian x model.norm.weight, seed 20261013)
78argmax agreement: 931 of 1000 (93.10%); bf16 argmax within fp8 top-5: 1000 of 1000
79logit rms relative difference, worst over states: 0.0284
80agreement by bf16 top1-top2 logit gap: <0.05: 30/66 disagree, <0.2: 36/154, <1: 3/490, >=1: 0/290
81chip medians: bf16 kernel 2920.9 us, fp8 kernel 1545.7 us
82study exit 0 (informational)
83GPU_BF16_GEMV_CHIP: PASS