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/0f95b19fced7f8f4 # 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 # perf(own30b): make HTTP greedy generation use the existing GPU graph argmax fast path Closed · #624 · open 2026-10-17 11:38 UTC · closed 2026-11-07 00:05 UTC (reason not_planned) Imported from GitHub aien-dev/aien-sovereign-core-mv#624, by drakestapleton Labels: retired drakestapleton wrote on 2026-10-17 11:38 UTC Priority: P1 — higher potential GPU payoff, integration-dependent Agent ownership (after dependency clearance): `crates/aien-serve-http/src/omega_engine.rs`, generation controller/adapter API, focused integration tests Estimated effort: 1–2 days after related PRs settle; GB10 qualification additional ## Goal Connect eligible greedy HTTP requests to AIEN's existing one-command-list Omega decode graph and chip argmax, without changing the server's deterministic sampling and sampling receipts. This is an integration task, not a new inference engine. ## Observed on `main` (rechecked 2026-10-17) - `qwen3_moe_omega_dgraph.rs` implements opt-in `OWN30B_DECODE_GRAPH=1` and `dgraph_take_greedy`. - `Qwen3MoeOmegaEngine::generate()` uses `argmax_sampler=true` for greedy requests. - The HTTP OmegaDoor currently calls `OmegaEngine::generate_with(... sampler ...)`. The custom callback provides no explicit greedy capability, so graph logits can be read back on greedy requests rather than consuming the already-chosen token. - Chip harness, not HTTP, evidence on idle GB10 reports graph OFF 36.3 tok/s versus graph ON 39.8 tok/s for a matching prompt (October 15). HTTP speed benefit is not yet established. Evidence: https://github.com/aien-dev/aien-sovereign-core-mv/blob/main/docs/inference/evidence/own30b-idle-speed-`20261015`/NOTES.md ## Dependency / parallel-work rule - Do not implement overlapping files until PR #557 (ForwardPass/controller migration) and #595 (Omega door follow-ups) have merged or closed. Then re-read `main` and confirm this gap persists. - Until then the agent may prepare a test matrix/design note without edits to overlapping files. - Do not branch from unmerged PR heads unless explicitly coordinated with the maintainer. ## Implementation after revalidation - Introduce an explicit, typed capability or provable contract that tells the generation path when the HTTP sampler is exactly greedy argmax. Do not infer this from an arbitrary closure. - For eligible greedy graph steps, consume the GPU token directly rather than read back full-vocab logits; maintain correct `usage.aien_sampling` fields and greedy token counters. - Sampled requests retain logits readback and the existing seeded sampler. Keep stop-token, max-token, streaming/cancellation, context, KV restore and generation identity, GPU lock and error envelopes unchanged. - Leave `OWN30B_DECODE_GRAPH` opt-in; do not silently enable the graph by default. ## Acceptance criteria - Fake/CPU tests prove the GPU-token path triggers only for eligible greedy requests and updates each sampling record exactly. - Eligible greedy graph steps perform no extra full-vocab GPU-to-host readback; sampled requests continue to read back when required. - Identical greedy reference tokens, stop boundaries and max-token behavior; seeded non-greedy transcripts/receipts unchanged. - Graph OFF behavior unchanged; graph ON native correctness validated where hardware exists. - Actual HTTP serving path A/B on idle GB10: same model/pins/weights, prompt set, output length, options; record throughput, TTFT, submissions per step, readback counts, per-run SHA and variance. No cherry-picked headline. - `cargo test --locked -p aien-serve-http -p aien-inference-abi` and relevant chip/ABI gates pass, or blockers precisely documented. - Narrowly scoped and revertible PR; no speculative decoding or unrelated refactor. ## Ownership boundaries Issue #623 owns `sampling.rs` and sampler-specific tests. This issue owns `omega_engine.rs` and the generation adapter only after #557/#595. GPU isolation owns scripts/ops notes only. Coordinate necessary APIs, avoid simultaneous edits. Source: https://github.com/aien-dev/aien-sovereign-core-mv/blob/main/crates/aien-serve-http/src/omega_engine.rs GPU graph: https://github.com/aien-dev/aien-sovereign-core-mv/blob/main/crates/aien-inference-abi/src/qwen3_moe_omega_dgraph.rs Blockers: https://github.com/aien-dev/aien-sovereign-core-mv/pull/557 and https://github.com/aien-dev/aien-sovereign-core-mv/pull/595 drakestapleton wrote on 2026-11-07 00:05 UTC 35B retired (Drake 2026-11-06): Omega LLM only. HTTP greedy generation fast path for the OWN-30B engine (Qwen3-30B-A3B). The Omega LLM server keeps its own greedy path. — issuecov/I3 (Hermes worker subagent of lead issuecov, claude-opus-5-5, anthropic) Sign in to comment