Problem
We cannot compare an assumed fully optimized 27B engine with TandemLLM. The reviewed HTTP Omega engine targets Qwen3-30B-A3B; OWN30B_DECODE_GRAPH=1 is optional and model-specific. Qwen3.8 serving and full-model parity remain separate integration work.
Existing work to reuse
- Canonical backend/motor integration: https://github.com/aien-dev/CUDApp/issues/5
- Speed/qualification roadmap: https://github.com/aien-dev/CUDApp/issues/26
- Qwen3.8 serving: https://github.com/aien-dev/aien-sovereign-core-mv/issues/642
- Qwen3.8 graph: https://github.com/aien-dev/omega-mv/pull/559
- Existing integration branches: Omega PRs #614–#618. Recheck current state and preserve their work before changing extraction/consumer pins.
Reviewed pins: CUDApp 232332422bfdc31c8918085b50f13c1e18ab702e; Omega a8ffd2b912c84197d08f963b05f9c7d8b30a3f8a; sovereign-core 754c07b118f41ad899607b60329bd851b1ccb13e. The reviewed core omega.lock was 4799f9eba563e9c69579b47c477e7d9c2b0f15cb; current main is not automatically its linked backend.
Scope
Qualify the AIENOS side first: create an experiment readiness/optimization ledger and an AIENOS-only native adapter by reusing existing implementation owners and gates. Publish its test wrapper in the standalone public repository tracked by #32. TandemLLM code and upstream fixes are not prerequisites. This issue does not duplicate #5/#642 or require every research optimization to ship before the experiment.
Acceptance
- Reconcile each known requested speed revision to source SHA, merge state, consumer pin, effective runtime setting, hardware receipt and disposition: enabled / off / unsupported / unqualified / deferred.
- Include persistent sessions, scratch/kernel reuse, command-list decode, whole-prompt prefill, prefix reuse, barriers/prefetch and the #18–#25 experiments. Keep historical speculation/READ DRUM/lane-filter work explicitly unverified unless traced; do not claim an exhaustive audit from a partial ledger.
- Verify the exact daily Qwen3.8 artifact loads and runs full-model prefill/decode; distinguish #559's reported 2-/4-layer checks from full-model qualification.
- Prove 32K plus suffix/output fits and all branch state (KV, recurrent, convolution) is isolated and restored correctly.
- Establish host/reference and single-versus-multiple-branch comparisons, second-turn/state-reset behavior and useful first-divergence diagnostics.
- Identify actual native library/backend/binary hashes and source pins. Refuse CPU stubs, wrong-pin libraries and silent backend/model fallback.
- Implement the AIEN adapter with effective flags, committed-token timestamps, stop reasons, memory samples, warm-up and reset evidence.
- Preserve baseline behavior; enable only compatible already-qualified optimizations. Do not copy 30B graph flags into the 27B path without qualification.
- Execute final artifact checks on a coordinated Spark window. Host/simulator passes and merged PRs do not substitute for this receipt.
- Record BLOCKED with exact remaining gates if any entry condition fails, instead of timing a different model.
Verification already attempted
A clean local CUDApp make test-gpu-cmdlist test-gpu-decode-graph attempt failed before tests on this x86 host because ARM dsb sy instructions were unguarded. This is neither numerical failure nor Spark qualification. Harness unit/synthetic checks do not exercise either engine.
Completion
A reviewable readiness ledger and exact reproducible launch recipe, plus a real qualification receipt or explicit blocker links. Keep existing merge/serving ownership and do not merge, restart services or change the live driver as an incidental step.
Research follow-up: complete-state correctness and owned-runtime boundary
- Define the snapshot as state AFTER consuming the exact shared-prefix token count. Align attention KV, every recurrent/conv state, cache position and next-token convention at that boundary.
- Add small correctness controls around actual checkpoint boundaries (before/at/after), restore-versus-full-prefill, branch-order permutation and repeated restoration. A branch must not mutate the saved root or another branch's writable state. These are validation probes, not a new performance sweep.
- Test copy/visibility ordering with an imposed producer delay and a missing-dependency negative control using the native platform. A successful immediate copy or cache hit can hide an ordering fault. Check the real allocator/helper path selected by the adapter.
- Continue the owned AIENOS tensor execution layer over existing CUDApp/Omega APIs for memory, operators, command lists, complete model state and measurements. Qualify the minimum operator/model surface needed by Qwen3.8 first. A full PyTorch replacement, autograd/training stack and PyTorch compatibility backend are not Phase 1 prerequisites.
Research: Marconi establishes the hybrid exact-prefix/in-place-state difficulty; Sparse Prefix Caching formalizes checkpoint-and-exact-replay semantics; Shared KV Caching correctness case study reports delay-sensitive copy-ordering failures. The test controls above are our application of these results. Their hardware/models, prototype scope and reported gains are not AIENOS/GB10 performance evidence.