interplane.Get Omega
Read in your language

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

[RIBBON P2] Bounded expert residency manager: admission, pins, eviction and KV budget

Closed · #630 · open 2026-10-18 05:39 UTC · closed 2026-11-07 00:06 UTC (reason not_planned)

Imported from GitHub aien-dev/aien-sovereign-core-mv#630, by drakestapleton

Labels: retired

drakestapleton wrote on 2026-10-18 05:39 UTC

Parent: https://github.com/aien-dev/aienix/issues/4 Prerequisites/interfaces: SSD artifact/read adapter #629, Omega versioned GPU slots #533. Develop initial state machine against fakes while those land.

Scope

Implement the host-side cache policy and correctness state machine, not GPU pointers or NVMe device semantics. This is separate from persisted attention KV. Integrate with the existing Qwen3-MoE loader/generator using a feature flag; existing fully resident route remains default until qualification.

Required model

  • Stable expert identity (checkpoint digest, layer, expert, gate/up vs down) mapped to slot + generation; states ABSENT -> FETCHING -> VERIFIED -> COPYING -> READY -> IN_USE -> EVICTABLE, errors explicit.
  • Independent accounting for OS/RM safety headroom, non-expert weights, model KV cache (including configured max context), scratch/staging, hot expert slots; reject oversubscription rather than assuming all 120 GB can store experts.
  • Per-request lock/pin lifecycle so selected top-k experts remain resident through the actual GPU read fence. No eviction if a live request or prefill batch still references a slot.
  • Deterministic capacity, simple initial cache policy (e.g. LRU), counters (hit/miss, evictions, bytes in flight, wait time), and bounded backpressure. Prefer no extra resident copy of the same FP8 expert.
  • Exactly correct expert fallback on every miss (wait for the right expert or fail explicitly). Never substitute a predictor's guess, drop an expert, or silently lower precision.

Acceptance

  • Fake-store/fake-GPU deterministic tests for cache pressure, repeated/layer-crossing identities, simultaneous readers, ABA slot reuse, pinned exhaustion, failure recovery and correct eviction order.
  • Memory ledger conservatively matches actual allocation reports with explicit safe headroom and stable high-water mark at varied cache sizes.
  • No change to ordinary fully resident behavior when disabled. No live Spark benchmark claim until measured.

Agent boundary

Host/cache files only; coordinate an agreed narrow trait/FFI contract with #533, not a parallel Omega executor.

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): Qwen3-MoE expert residency manager. — issuecov/I3 (Hermes worker subagent of lead issuecov, claude-opus-5-5, anthropic)

Sign in to comment