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 / aborted-gate-gemm-full.raw
| 1 | mem available before load: 73.2 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: 54.1s resident 30.53 GB host 0.67 GB peak_rss 31.94 GB (before 0.13 GB) kv_resident=true mem_available_after 43.1 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.04s = 24.7 ms/token; per token: attention 9.8 ms experts 14.8 ms (routing 0.00 ms, sort+swiglu+combine 0.00 ms) host 0.6 ms chip-reported 22.3 ms launches 288.0; first tokens [12, 576, 50275, 55, 26467, 5711, 279, 18865] |
| 19 | PREFILL chunk 64 (p3-medium, 204 tokens): 2.79s = 13.7 ms/token; per token: attention 6.0 ms experts 7.5 ms (routing 0.95 ms, sort+swiglu+combine 0.48 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 ; 24.7 -> 13.7 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 (23.0 ms/token; chunk 64, per token attention 9.1 ms experts 14.7 ms host 0.6 ms launches 288.0), decode 16 tokens in 411 ms = 25.7 ms/token = 38.9 tok/s; per step: attention 8.7 ms experts 13.7 ms lm_head 3.0 ms host 0.6 ms chip-reported 23.4 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.1 ms experts 10.6 ms host 0.1 ms launches 57.6), decode 7 tokens in 194 ms = 27.7 ms/token = 36.1 tok/s; per step: attention 9.3 ms experts 14.6 ms lm_head 3.5 ms host 0.6 ms chip-reported 25.2 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.88s (14.1 ms/token; chunk 64, per token attention 6.1 ms experts 7.9 ms host 0.1 ms launches 51.1), decode 16 tokens in 429 ms = 26.8 ms/token = 37.3 tok/s; per step: attention 9.8 ms experts 13.8 ms lm_head 3.0 ms host 0.6 ms chip-reported 24.5 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.67s (14.7 ms/token; chunk 64, per token attention 6.7 ms experts 7.8 ms host 0.1 ms launches 51.0), decode 16 tokens in 436 ms = 27.2 ms/token = 36.7 tok/s; per step: attention 10.2 ms experts 13.8 ms lm_head 3.0 ms host 0.6 ms chip-reported 25.0 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" |