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

Qwen3.8-27B: integrate adaptive MTP into native serving and qualify sampling/state correctness

Closed · #712 · open 2026-10-23 13:34 UTC · closed 2026-11-07 00:07 UTC (reason not_planned)

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

Labels: retired

drakestapleton wrote on 2026-10-23 13:34 UTC

Parent: https://github.com/aien-dev/aien-sovereign-core-mv/issues/679

Implementation contract: first-party implementation is .om, replacing and deleting superseded active code after validation; no permanent Rust/C/.osc compatibility implementation. Reuse current migration owners and existing branches; inspect current source/consumer pins before editing. No third-party inference engine dependency. Record blockers honestly; hardware results require a real coordinated Spark run, never simulated receipts.

Gap

The inspected qwen38_engine.rs at core commit 230574e0f731ca441f5d64b03a7946710d788f08 samples then calls session.advance for one token; separate qwen38_spec experiments do not prove endpoint integration. Reconcile current successors of cascade/mtp-chain and cascade/tree-verify-wire with #642.

Acceptance

  • Load and qualify the pinned checkpoint MTP head; implement drafting and batched full-model verification in .om on the owned runtime.
  • Start with k=0,1,2,4; tune from accepted output tokens / total drafting+verification+commit+host time. Support bounded adaptation and an ordinary-decoding fallback when measured speculation loses.
  • Preserve full KV, GDN, convolution, position and drafter state for the accepted materialized prefix. Explicitly represent an emitted but not yet consumed correction/bonus token.
  • Validate greedy output against the same-precision non-speculative reference, including ties and numerical drift. For stochastic sampling implement the correct acceptance/correction distribution and identical per-path penalties; if a sampler is unsupported, explicitly use ordinary decoding rather than silently changing semantics.
  • Exercise rejection at every draft position, all accepted, no accepted, EOS/stop/cancel, max context, second-turn restore and independent sessions; injected state/position mistakes must fail.
  • Report draft acceptance, accepted tokens/round, draft/verify/commit times and full wall latency. Do not count rejected draft tokens as output.
  • Prove serving endpoint uses the optimized path with effective settings and artifact hashes; run baseline FP8, FP8+MTP, W4, W4+MTP as distinct arms.
  • Remove superseded active first-party implementation after .om replacement passes; document measured fallback and quality behavior.

Research: https://arxiv.org/abs/2609.23900 reports 26.12 tok/s tuned MTP versus 28.13 tree verification in one replay corpus, but no established live-agent completion speedup. Larger draft budgets are not automatically faster.

drakestapleton wrote on 2026-10-23 14:04 UTC

Draft #714 records source/consumer gaps and native replacement dependencies. Inspected cascade/mtp-chain 230574e0 has separate Rust speculation experiments while qwen38_engine.rs advances ordinary tokens. Historical archive/build identity differs from omega.lock. No .om endpoint MTP integration delivered or qualified yet. Receipt arithmetic now counts full elapsed draft/verify/commit/host costs and rejects inconsistent consumed/pending-token counts, with compiled negative controls; this is not actual sampling/state correctness. Native serving/device dependencies and #710 full-model baseline remain open. All sampler, adaptation, endpoint, hardware and deletion gates stay open.

drakestapleton wrote on 2026-11-07 00:07 UTC

35B retired (Drake 2026-11-06): Omega LLM only. Adaptive MTP for Qwen3.8-27B serving (child of retired #679); the adaptive speculation method is in the Omega LLM retarget list via CUDApp#63. — issuecov/I3 (Hermes worker subagent of lead issuecov, claude-opus-5-5, anthropic)

Sign in to comment