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 / adr0004-step0-baseline-20261015 / check-full / run.log
| 1 | mem available before load: 64.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 | decode graph OFF (dgraph_api=true, OWN30B_DECODE_GRAPH=1 to turn on) mutant none |
| 7 | whole-prompt prefill OFF device router/combine OFF |
| 8 | LOAD: 56.4s resident 30.53 GB host 0.67 GB peak_rss 31.94 GB (before 0.13 GB) kv_resident=true mem_available_after 35.9 GB |
| 9 | LOAD peak over resident+host: 0.74 GB (budget 6 GB) -> PASS |
| 10 | 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 |
| 11 | 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 |
| 12 | 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 |
| 13 | CONTROL routing-mutant: layer 0 moe cosine(min) 0.3692 -> CAUGHT |
| 14 | CONTROL fp8-scales-dropped: layer 0 moe cosine(min) 0.8582 -> CAUGHT |
| 15 | CONTROL attention-mutant-1: layer 0 attention cosine(min) 0.8221 over 20 positions -> CAUGHT |
| 16 | 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 |
| 17 | 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 |
| 18 | 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 |
| 19 | 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 |
| 20 | PREFILL chunk 1 (p3-medium, 204 tokens): 6.25s = 30.6 ms/token; per token: attention 12.3 ms experts 18.2 ms (routing 0.00 ms, sort+swiglu+combine 0.00 ms) host 0.9 ms chip-reported 27.7 ms launches 288.0; first tokens [12, 576, 50275, 55, 26467, 5711, 279, 18865] |
| 21 | PREFILL chunk 64 (p3-medium, 204 tokens): 5.41s = 26.5 ms/token; per token: attention 7.0 ms experts 19.3 ms (routing 6.72 ms, sort+swiglu+combine 5.74 ms) host 0.2 ms chip-reported 11.2 ms launches 51.8; first tokens [12, 576, 50275, 55, 26467, 5711, 279, 18865] |
| 22 | PREFILL chunk 64 vs 1: tokens IDENTICAL ; first-step logits cosine 0.9999987 max abs diff 5.32e-2 ; 30.6 -> 26.5 ms/token -> PASS |
| 23 | 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 |
| 24 | 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 |
| 25 | 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 |
| 26 | CONTROL gemm-mutants-off: the clean prefill after the mutants is bit-identical to before -> PASS |
| 27 | TOKENS p1-one-token: 1 prompt tokens, prefill 0.02s (24.0 ms/token; chunk 64, per token attention 9.5 ms experts 14.9 ms host 0.6 ms launches 288.0), decode 16 tokens in 427 ms = 26.7 ms/token = 37.5 tok/s; per step: attention 9.1 ms experts 14.2 ms lm_head 3.1 ms host 0.7 ms chip-reported 24.1 ms launches 271; IDENTICAL |
| 28 | DECODE GRAPH OFF: 0 of 16 decode steps as one list (the first step is the prefill's lm_head); per step launches 271.0 submits 271.0; per graph token launches 0.0 submits 0.0 record 0.0 us |
| 29 | chip text: " and welcome to the 2024-25 season of the National" |
| 30 | cpu text: " and welcome to the 2024-25 season of the National" |
| 31 | TOKENS p2-short: 20 prompt tokens, prefill 0.54s (27.2 ms/token; chunk 64, per token attention 6.2 ms experts 20.8 ms host 0.2 ms launches 57.6), decode 7 tokens in 215 ms = 30.7 ms/token = 32.6 tok/s; per step: attention 10.3 ms experts 16.3 ms lm_head 3.7 ms host 1.1 ms chip-reported 27.1 ms launches 289.14285714285717; IDENTICAL |
| 32 | DECODE GRAPH OFF: 0 of 7 decode steps as one list (the first step is the prefill's lm_head); per step launches 289.1 submits 289.1; per graph token launches 0.0 submits 0.0 record 0.0 us |
| 33 | chip text: "The capital of France is Paris." |
| 34 | cpu text: "The capital of France is Paris.<|im_end|>" |
| 35 | TOKENS p3-medium: 204 prompt tokens, prefill 3.00s (14.7 ms/token; chunk 64, per token attention 6.0 ms experts 8.6 ms host 0.2 ms launches 51.1), decode 16 tokens in 434 ms = 27.1 ms/token = 36.9 tok/s; per step: attention 10.0 ms experts 13.8 ms lm_head 3.0 ms host 0.6 ms chip-reported 24.8 ms launches 271; IDENTICAL |
| 36 | DECODE GRAPH OFF: 0 of 16 decode steps as one list (the first step is the prefill's lm_head); per step launches 271.0 submits 271.0; per graph token launches 0.0 submits 0.0 record 0.0 us |
| 37 | chip text: "- The DGX Spark uses the GB10 Grace Blackwell superchip," |
| 38 | cpu text: "- The DGX Spark uses the GB10 Grace Blackwell superchip," |
| 39 | TOKENS p4-long: 657 prompt tokens, prefill 10.40s (15.8 ms/token; chunk 64, per token attention 6.6 ms experts 9.1 ms host 0.1 ms launches 51.0), decode 16 tokens in 461 ms = 28.8 ms/token = 34.7 tok/s; per step: attention 10.7 ms experts 14.6 ms lm_head 3.2 ms host 0.9 ms chip-reported 25.9 ms launches 271; IDENTICAL |
| 40 | DECODE GRAPH OFF: 0 of 16 decode steps as one list (the first step is the prefill's lm_head); per step launches 271.0 submits 271.0; per graph token launches 0.0 submits 0.0 record 0.0 us |
| 41 | chip text: "What went wrong: \nIn **run 10**, the model's output" |
| 42 | cpu text: "What went wrong: \nIn **run 10**, the model's output" |
| 43 | SUMMARY parity=PASS tokens=PASS peak_rss=33.41 GB |