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/tree/main/crates/aien-omega-q38/om # 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 branch `main` Branches Tags History `aien-sovereign-core-mv / crates / aien-omega-q38 / om` `b26de79` perf(q38): avoid extra checkpoint passes with checked Omega policy AIEN Atlas committed 2026-11-01 ``` .. .crumb 185 README.md 2725 check.py 2332 host.py 697 identity.sha256 220 mutants.py 1554 plan.c 7705 plan.h 112 plan.om 1123 run.sh 1205 toolchain.json 601 ``` README.md # Prompt checkpoints with preserved arithmetic The dense 27B session used to split every prompt at its last turn header to save a reusable prefix. For a short prompt that scans all model weights twice. The Omega policy preserves any original piece that uses scalar decoding, because scalar decode and batched prefill can round differently. When both pieces use batched prefill, it chooses the latest batch-only checkpoint at or before the header whose two pieces cost no more model passes than the unsplit prompt. A zero cut skips checkpoint creation. It retains the requested header when that costs no extra pass or preserves a scalar piece. The work model follows the current caller: pieces shorter than the prefill minimum use one decode pass per token; larger pieces use the existing chunk splitter, including borrowing from the preceding chunk for a short tail. The minimum and chunk size are inputs, with bounded admission. The 35B path keeps its existing checkpoint scheduling. A cold reset discards any previous snapshot token record before overwriting attention KV. A host snapshot alone cannot restore attention rows overwritten by an unrelated prompt. Live-prefix reuse, restore, failure handling and repeated-prefix validation remain in the session adapter. `plan.om` owns the policy. `plan.c` and `plan.h` are checked output from the pinned Omega Bridge. The native Q38 build checks their source identities, compiles the unit and records the existing C compiler version. CPU-stub builds remain stubbed. No handwritten C policy, new third-party package, or Python production component is added. The compatibility build uses the existing C compiler and archiver; native Omega object export is its replacement path. `cargo test -p aien-omega-q38 checkpoint_policy_tests` runs an independent host oracle on Linux, including CPU-stub CI. With a native library it also tests the Rust-to-Omega boundary. `OMEGA_OMC=... OMEGA_BRIDGE=... bash crates/aien-omega-q38/om/run.sh` checks compiler/Bridge pins, regenerates both outputs byte for byte, checks the source identity, and runs the oracle and compiled source mutants. Python is an external measuring and testing tool only. The oracle enumerates every candidate cut for small and randomized prompts. It covers reused prefixes, borrowed chunk tails, preserved scalar pieces, invalid arguments and u64 limits. GPU serving and multi-turn validation are separate gates; host proof is not whole-model performance qualification. Tracking: Core#710. The policy lives inside its consuming crate so the existing aien-proof dependency hash includes the Omega source, checked binding, and oracle. Source-only policy changes cannot reuse a stamp that omitted these inputs.