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-step3-20261015 / red-run-naive-adapter.txt
| 1 | warning: unused import: `assert_at_ledger` |
| 2 | --> crates/aien-inference-abi/src/qwen3_moe_omega/forward_pass/tests.rs:9:5 |
| 3 | | |
| 4 | 9 | assert_at_ledger, cold_on, forward_pass_contract, gen, gen_with, greedy, |
| 5 | | ^^^^^^^^^^^^^^^^ |
| 6 | | |
| 7 | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default |
| 8 | |
| 9 | warning: `aien-inference-abi` (lib test) generated 1 warning (run `cargo fix --lib -p aien-inference-abi --tests` to apply 1 suggestion) |
| 10 | Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s |
| 11 | Running unittests src/lib.rs (target/debug/deps/aien_inference_abi-aaa13f4a3c61d9be) |
| 12 | |
| 13 | running 7 tests |
| 14 | test qwen3_moe_omega::forward_pass::tests::greedy_on_the_host_head_is_the_argmax_of_its_logits ... FAILED |
| 15 | test qwen3_moe_omega::forward_pass::tests::the_mirror_resyncs_after_a_restore_and_refuses_a_position_the_cache_does_not_hold ... FAILED |
| 16 | test qwen3_moe_omega::forward_pass::tests::reset_clears_traces_and_rewind_keeps_them ... ok |
| 17 | test qwen3_moe_omega::forward_pass::tests::the_old_loop_and_the_controller_on_the_adapter_agree ... FAILED |
| 18 | test qwen3_moe_omega::forward_pass::tests::the_30b_adapter_keeps_the_forward_pass_contract ... FAILED |
| 19 | test qwen3_moe_omega::forward_pass::tests::kv_identity_names_every_switch_and_mutants_and_tracing_refuse ... ok |
| 20 | test qwen3_moe_omega::forward_pass::tests::moved_tests_run_on_the_tiny_moe ... ok |
| 21 | |
| 22 | failures: |
| 23 | |
| 24 | ---- qwen3_moe_omega::forward_pass::tests::greedy_on_the_host_head_is_the_argmax_of_its_logits stdout ---- |
| 25 | |
| 26 | thread 'qwen3_moe_omega::forward_pass::tests::greedy_on_the_host_head_is_the_argmax_of_its_logits' (2163515) panicked at crates/aien-inference-abi/src/qwen3_moe_omega/forward_pass/tests.rs:346:5: |
| 27 | assertion `left == right` failed: the host lm_head counts one launch |
| 28 | left: 57 |
| 29 | right: 1 |
| 30 | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace |
| 31 | |
| 32 | ---- qwen3_moe_omega::forward_pass::tests::the_mirror_resyncs_after_a_restore_and_refuses_a_position_the_cache_does_not_hold stdout ---- |
| 33 | |
| 34 | thread 'qwen3_moe_omega::forward_pass::tests::the_mirror_resyncs_after_a_restore_and_refuses_a_position_the_cache_does_not_hold' (2163520) panicked at crates/aien-inference-abi/src/qwen3_moe_omega/forward_pass/tests.rs:234:5: |
| 35 | assertion `left == right` failed |
| 36 | left: [4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 4294967295, 1, 14, 14] |
| 37 | right: [40, 47, 54, 61, 4, 11, 18, 25, 32, 39, 46, 53, 60, 3, 10, 17, 24, 31, 38, 45, 62, 14, 14, 1, 14, 14] |
| 38 | |
| 39 | ---- qwen3_moe_omega::forward_pass::tests::the_old_loop_and_the_controller_on_the_adapter_agree stdout ---- |
| 40 | |
| 41 | thread 'qwen3_moe_omega::forward_pass::tests::the_old_loop_and_the_controller_on_the_adapter_agree' (2163521) panicked at crates/aien-inference-abi/src/qwen3_moe_omega/forward_pass/tests.rs:152:5: |
| 42 | assertion `left == right` failed: chunk 8 greedy Convenience cold: outcome |
| 43 | left: GenerateOutcome { emitted_tokens: 8, finish: Length, prefill_ms: 0, decode_ms: 0, prompt_tokens: 12, reused_prompt_tokens: 0, decode_timing: StepTiming { total_ns: 0, attention_ns: 0, experts_ns: 0, lm_head_ns: 0, host_ns: 0, chip_ns: 0, launches: 78, route_ns: 0, moe_host_ns: 0, graph_tokens: 0, graph_launches: 0, graph_submits: 0, graph_record_ns: 0 }, prefill_timing: StepTiming { total_ns: 0, attention_ns: 0, experts_ns: 0, lm_head_ns: 0, host_ns: 0, chip_ns: 0, launches: 40, route_ns: 0, moe_host_ns: 0, graph_tokens: 0, graph_launches: 0, graph_submits: 0, graph_record_ns: 0 } } |
| 44 | right: GenerateOutcome { emitted_tokens: 8, finish: Length, prefill_ms: 0, decode_ms: 0, prompt_tokens: 12, reused_prompt_tokens: 0, decode_timing: StepTiming { total_ns: 0, attention_ns: 0, experts_ns: 0, lm_head_ns: 0, host_ns: 0, chip_ns: 0, launches: 164, route_ns: 0, moe_host_ns: 0, graph_tokens: 0, graph_launches: 0, graph_submits: 0, graph_record_ns: 0 }, prefill_timing: StepTiming { total_ns: 0, attention_ns: 0, experts_ns: 0, lm_head_ns: 0, host_ns: 0, chip_ns: 0, launches: 40, route_ns: 0, moe_host_ns: 0, graph_tokens: 0, graph_launches: 0, graph_submits: 0, graph_record_ns: 0 } } |
| 45 | |
| 46 | ---- qwen3_moe_omega::forward_pass::tests::the_30b_adapter_keeps_the_forward_pass_contract stdout ---- |
| 47 | |
| 48 | thread 'qwen3_moe_omega::forward_pass::tests::the_30b_adapter_keeps_the_forward_pass_contract' (2163519) panicked at crates/aien-inference-abi/src/generation/tests.rs:221:5: |
| 49 | no head survives a truncate |
| 50 | |
| 51 | |
| 52 | failures: |
| 53 | qwen3_moe_omega::forward_pass::tests::greedy_on_the_host_head_is_the_argmax_of_its_logits |
| 54 | qwen3_moe_omega::forward_pass::tests::the_30b_adapter_keeps_the_forward_pass_contract |
| 55 | qwen3_moe_omega::forward_pass::tests::the_mirror_resyncs_after_a_restore_and_refuses_a_position_the_cache_does_not_hold |
| 56 | qwen3_moe_omega::forward_pass::tests::the_old_loop_and_the_controller_on_the_adapter_agree |
| 57 | |
| 58 | test result: FAILED. 3 passed; 4 failed; 0 ignored; 0 measured; 227 filtered out; finished in 4.49s |
| 59 | |
| 60 | error: test failed, to rerun pass `-p aien-inference-abi --lib` |
| 61 | |
| 62 | ## Review fix (SHOULD 2): equal-length import through kv() left the mirror claiming old tokens |
| 63 | Red, 2026-10-15: with `kv()` not marking the cache lent (`self.kv_lent = false`), the case |
| 64 | "a different sequence of the same length imported over the mirror's own" fails: |
| 65 | test qwen3_moe_omega::forward_pass::tests::the_mirror_resyncs_after_a_restore_and_refuses_a_position_the_cache_does_not_hold ... FAILED |
| 66 | panicked at crates/aien-inference-abi/src/qwen3_moe_omega/forward_pass/tests.rs:289:5 |
| 67 | (assert!(g.history()[..h.len()].iter().all(|&x| x == UNSEEN))) |
| 68 | test result: FAILED. 6 passed; 1 failed (filter qwen3_moe_omega::forward_pass) |
| 69 | Green with `kv_lent = true`: 33 passed; 0 failed (filter generation qwen3_moe_omega::forward_pass). |