Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/issues/a7872e351f430255 # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # [RIBBON P2] Wire on-demand expert paging into Qwen3-MoE Omega decode and prefill Closed · #632 · open 2026-10-18 05:40 UTC · closed 2026-11-07 00:06 UTC (reason not_planned) Imported from GitHub aien-dev/aien-sovereign-core-mv#632, by drakestapleton Labels: retired drakestapleton wrote on 2026-10-18 05:40 UTC Parent: https://github.com/aien-dev/aienix/issues/4 Depends on: SSD store #629 , Omega slots #533 , host residency #630 , double-buffer scheduler #631 . ## Scope Connect the new tiered-residency interfaces to the real OWN-30B model loader, router, grouped FP8 expert operations, GPU decode and whole-prompt prefill. Do not stop at simulated-route unit tests. ## Starting code - Qwen3MoeOmegaEngine / loader - Whole-prompt prefill - Omega router directory ABI - Omega expert execution ABI ## Acceptance - Model starts with less than its full expert weight set resident; forced-cache-capacity test generates actual NVMe misses and copies; no silent eager preload or all-weights host duplication. - On cache hit/miss, execute exactly the model-selected top-k experts. Selected weights and scales are correctly bound, immutable during execution and pinned until command-list completion. - Match baseline on representative prompts with deterministic sampling and comparable FP8 numerical tolerance, including prefill (within the backend's real max), one-token decode, EOS, and reused-prefix scenarios. Any token divergence is explained through logits/margins rather than waived. - The Omega HTTP engine can opt in with explicit budget and store path; disabled mode preserves behavior. Detect CPU-stub builds and mismatched checkpoint identities before starting. - Cold/warm memory reports and end-to-end trace include non-expert weights, KV and transient allocations. Do not claim 128K support via flag alone. - Error at any fetch/verify/transfer/publish stage fails closed with actionable diagnostics. Exercise finite memory and concurrency, not only a single happy-path token. ## Boundary This issue owns model integration and parity; cache policy, storage I/O and low-level Omega copy/fences are owned by dependencies. drakestapleton wrote on 2026-10-18 17:25 UTC This was generated by AI. Progress (Expert Ribbon worker; branch `ribbon/p1-store` `836a5344`, no PR opened: the orchestrator owns PRs). Covers the first cut of sc#630 too. - Engine: `ExpertWeights::Paged` (`qwen3_moe_omega/ribbon.rs`), one slot pool pair shared by all layers; the pager pins the router's exact top-k per layer, misses are read, verified and loaded, two grouped launches over (slot, version) pairs. A paged load reads no expert bytes. `own30b_check --paged-experts SLOTS`. - Host: paged logits equal resident logits bit for bit at top_k, top_k+1 and all slots, host and device routing; a corrupted slot load is caught; too few slots fails the step with nothing pinned (`cargo test -p aien-inference-abi --lib ribbon`). - Chip (evidence `docs/inference/evidence/ribbon-paged-20261018T1719Z`): greedy tokens IDENTICAL to the CPU golden at 768 slots (p1, p2) and 3072 slots (p1-p4); 1.53 GB of other weights resident. Decode 2.396 tok/s cold at 768 slots (calc:`eac8a69d`), 7.07 tok/s warm at 3072 slots (calc:`59123200`); all-miss ceiling at the measured read rate 5.849 tok/s (calc:`1fc0715c`). - Limit found: paging is read-latency bound (1.715 GB/s delivered during misses, calc:`ff9762d7`), because misses are read layer by layer. Overlap and prefetch (sc#631) is the next cut. Prefill runs token by token in paged mode; batched prefill and the decode graph refuse a paged load. drakestapleton wrote on 2026-11-07 00:06 UTC 35B retired (Drake 2026-11-06): Omega LLM only. Expert Ribbon P2 (parent aienix#4, retired): on-demand expert paging in Qwen3-MoE decode/prefill. — issuecov/I3 (Hermes worker subagent of lead issuecov, claude-opus-5-5, anthropic) did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:22 UTC Recovered GitHub comment. Original comment `6536636693` Chip data point for the paging path (RibbonDSV4, 2026-10-31; MEASURED, evidence build, not QUALIFIED). `own30b_check --paged-experts` at ribbon-sc `836a5344` (binary byte-identical to the 10-18 receipt) ran on the GB10 in window `20261031T003200Z-5b989c`, 768 and 3072 slots, p1, 16 tokens, 13/13 rc 0, routing identical to the 10-18 receipt. At the default `--read-workers 16 --read-depth 32`, 768-slot cold decode ran at 2.81-2.88 tok/s (10-18: 2.40 tok/s), and the 3072-slot run at 3.38 tok/s. Read depth pays only up to 8 in flight, which is one layer's routed experts (8x8 = 2.80-2.86 tok/s, 1x1 = 1.11-1.17). For the decode wiring: misses are serial per layer, so paging wait time is set by per-layer miss latency (6.4-6.8 ms per miss at depth 1, about 2.0 ms of it slot load), not by drive bandwidth. Table and rule on sc#631. Receipt `~/handoffs/Ribbon-20261030/t6/20261031T003208Z/`. Sign in to comment