aien-sovereign-core-mv
AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.
Brought by drakestapleton
aien-sovereign-core-mv / docs / inference / evidence / own30b-f-gemm-20261013T2109Z / gate-gemm-full.raw
| 1 | mem available before load: 102.4 GB |
| 2 | engine native=true window_api=true fp8_api=true dattn_api=true weights=Fp8All attn=Fused spin_us=Some(2000) cta_budget=Some(64) |
| 3 | prefill path gemm routing host (gemm_api=true) |
| 4 | attention path fused prefill_chunk 64 batched_prefill_possible true |
| 5 | router path device lm_head path gemv (router_api=true bf16_api=true) |
| 6 | LOAD: 25.7s resident 30.53 GB host 0.67 GB peak_rss 31.94 GB (before 0.13 GB) kv_resident=true mem_available_after 73.2 GB |
| 7 | LOAD peak over resident+host: 0.74 GB (budget 6 GB) -> PASS |
| 8 | PARITY layer 0 over 20 positions (p2-short): attention cosine(min) 0.999999 moe cosine(min) 1.000000 moe p95_rel(max) 0.0000 routing_agrees=true routing weights err(max) 8.79e-7 router x' rel(max) 1.54e-7 -> PASS |
| 9 | PARITY layer 23 over 20 positions (p2-short): attention cosine(min) 0.999957 moe cosine(min) 1.000000 moe p95_rel(max) 0.0000 routing_agrees=true routing weights err(max) 9.69e-7 router x' rel(max) 2.05e-7 -> PASS |
| 10 | PARITY layer 47 over 20 positions (p2-short): attention cosine(min) 0.999997 moe cosine(min) 1.000000 moe p95_rel(max) 0.0000 routing_agrees=true routing weights err(max) 7.30e-7 router x' rel(max) 2.15e-7 -> PASS |
| 11 | CONTROL routing-mutant: layer 0 moe cosine(min) 0.3692 -> CAUGHT |
| 12 | CONTROL fp8-scales-dropped: layer 0 moe cosine(min) 0.8582 -> CAUGHT |
| 13 | CONTROL attention-mutant-1: layer 0 attention cosine(min) 0.8221 over 20 positions -> CAUGHT |
| 14 | CONTROL router-mutant-1: layer 0 moe cosine(min) 0.7682 routing_agrees=false routing weights err(max) 6.70e-1 router x' rel(max) 2.76e1 over 4 positions -> CAUGHT |
| 15 | CONTROL router-mutant-2: layer 0 moe cosine(min) 0.5346 routing_agrees=false routing weights err(max) 2.20e-1 router x' rel(max) 1.09e-7 over 4 positions -> CAUGHT |
| 16 | CONTROL router-mutant-3: layer 0 moe cosine(min) -0.1282 routing_agrees=true routing weights err(max) 6.26e-7 router x' rel(max) 1.09e-7 over 4 positions -> CAUGHT |
| 17 | CONTROL router-mutant-4: layer 0 moe cosine(min) 1.0000 routing_agrees=true routing weights err(max) 7.73e-1 router x' rel(max) 1.09e-7 over 4 positions -> CAUGHT |
| 18 | PREFILL chunk 1 (p3-medium, 204 tokens): 5.16s = 25.3 ms/token; per token: attention 10.4 ms experts 14.8 ms (routing 0.00 ms, sort+swiglu+combine 0.00 ms) host 0.6 ms chip-reported 22.9 ms launches 288.0; first tokens [12, 576, 50275, 55, 26467, 5711, 279, 18865] |
| 19 | PREFILL chunk 64 (p3-medium, 204 tokens): 2.97s = 14.5 ms/token; per token: attention 6.1 ms experts 8.3 ms (routing 1.40 ms, sort+swiglu+combine 0.79 ms) host 0.1 ms chip-reported 10.4 ms launches 51.8; first tokens [12, 576, 50275, 55, 26467, 5711, 279, 18865] |
| 20 | PREFILL chunk 64 vs 1: tokens IDENTICAL ; first-step logits cosine 0.9999987 max abs diff 5.32e-2 ; 25.3 -> 14.5 ms/token -> PASS |
| 21 | CONTROL gemm-mutant-1: prefill of 80 tokens (p3-medium, chunk 64) first-step logits cosine 0.1695 max abs diff 3.09e1 tokens [80238] vs clean [220] -> CAUGHT |
| 22 | CONTROL gemm-mutant-2: prefill of 80 tokens (p3-medium, chunk 64) first-step logits cosine 0.9568 max abs diff 8.19e0 tokens [3175] vs clean [220] -> CAUGHT |
| 23 | CONTROL gemm-mutant-3: prefill of 80 tokens (p3-medium, chunk 64) first-step logits cosine 0.9194 max abs diff 1.16e1 tokens [279] vs clean [220] -> CAUGHT |
| 24 | CONTROL gemm-mutants-off: the clean prefill after the mutants is bit-identical to before -> PASS |
| 25 | TOKENS p1-one-token: 1 prompt tokens, prefill 0.02s (24.0 ms/token; chunk 64, per token attention 9.7 ms experts 14.6 ms host 0.6 ms launches 288.0), decode 16 tokens in 414 ms = 25.9 ms/token = 38.6 tok/s; per step: attention 9.1 ms experts 13.6 ms lm_head 2.9 ms host 0.6 ms chip-reported 23.6 ms launches 271; IDENTICAL |
| 26 | chip text: " and welcome to the 2024-25 season of the National" |
| 27 | cpu text: " and welcome to the 2024-25 season of the National" |
| 28 | TOKENS p2-short: 20 prompt tokens, prefill 0.34s (16.8 ms/token; chunk 64, per token attention 6.2 ms experts 10.4 ms host 0.2 ms launches 57.6), decode 7 tokens in 197 ms = 28.1 ms/token = 35.5 tok/s; per step: attention 9.9 ms experts 14.6 ms lm_head 3.4 ms host 0.6 ms chip-reported 25.7 ms launches 289.14285714285717; IDENTICAL |
| 29 | chip text: "The capital of France is Paris." |
| 30 | cpu text: "The capital of France is Paris.<|im_end|>" |
| 31 | TOKENS p3-medium: 204 prompt tokens, prefill 2.83s (13.9 ms/token; chunk 64, per token attention 6.0 ms experts 7.7 ms host 0.1 ms launches 51.1), decode 16 tokens in 433 ms = 27.1 ms/token = 37.0 tok/s; per step: attention 10.2 ms experts 13.6 ms lm_head 2.9 ms host 0.6 ms chip-reported 24.8 ms launches 271; IDENTICAL |
| 32 | chip text: "- The DGX Spark uses the GB10 Grace Blackwell superchip," |
| 33 | cpu text: "- The DGX Spark uses the GB10 Grace Blackwell superchip," |
| 34 | TOKENS p4-long: 657 prompt tokens, prefill 9.68s (14.7 ms/token; chunk 64, per token attention 6.7 ms experts 7.9 ms host 0.1 ms launches 51.0), decode 16 tokens in 441 ms = 27.6 ms/token = 36.3 tok/s; per step: attention 10.7 ms experts 13.6 ms lm_head 2.9 ms host 0.6 ms chip-reported 25.3 ms launches 271; IDENTICAL |
| 35 | chip text: "What went wrong: \nIn **run 10**, the model's output" |
| 36 | cpu text: "What went wrong: \nIn **run 10**, the model's output" |
| 37 | LONG chunk 64, 2141 tokens): 32.91s = 15.4 ms/token; per token: attention 7.5 ms experts 7.7 ms (routing 1.12 ms, sort+swiglu+combine 0.63 ms) host 0.1 ms chip-reported 11.8 ms launches 51.0; first tokens [4713, 220, 16, 15, 702, 279, 7772, 16895, 882, 518, 220, 23, 21, 9829, 54386, 13] |
| 38 | LONG chunk 1, 2141 tokens): 57.29s = 26.8 ms/token; per token: attention 12.0 ms experts 14.7 ms (routing 0.00 ms, sort+swiglu+combine 0.00 ms) host 0.6 ms chip-reported 24.4 ms launches 288.0; first tokens [4713, 220, 16, 15, 702, 279, 7772, 16895, 882, 518, 220, 23, 21, 9829, 54386, 13] |
| 39 | LONG gemv chunk 8, 2141 tokens): 58.23s = 27.2 ms/token; per token: attention 9.0 ms experts 11.8 ms (routing 0.00 ms, sort+swiglu+combine 0.00 ms) host 7.0 ms chip-reported 18.6 ms launches 72.0; first tokens [4713, 220, 16, 15, 702, 279, 7772, 16895, 882, 518, 220, 23, 21, 9829, 54386, 13] |
| 40 | LONG GEMM chunk 64 vs GEMV chunk 8: first-step logits and tokens bit-identical -> PASS |
| 41 | LONG chunk 64 vs 1 (2141 tokens): tokens IDENTICAL ; first-step logits cosine 0.9998049 max abs diff 1.07e0 (chunk-1 top-2 margin 0.9910) ; 26.8 -> 15.4 ms/token -> PASS |
| 42 | long chip text: "Block 10 has the largest decode time at 86 ms/token." |
| 43 | SUMMARY parity=PASS tokens=PASS peak_rss=33.41 GB |
| 44 | receipt: docs/inference/evidence/own30b-f-gemm-20261013T2109Z/gate-gemm-full |