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 on Spark: .om packed W4, adaptive MTP and verified full-model speed

Closed · #679 · open 2026-10-19 01:31 UTC · closed 2026-11-07 00:06 UTC (reason not_planned)

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

Labels: retired

drakestapleton wrote on 2026-10-19 01:31 UTC

Outcome

Make the daily Qwen3.8-27B measurably faster on DGX Spark through actual packed W4 execution, tuned MTP in the serving path, and complete-state reuse, implemented in .om on the owned Omega runtime.

This replaces the earlier two-task outline. The 10.15 tok/s figure is an optimistic traffic-model ceiling for approximately 26.9 GB read per ordinary FP8 token at 273 GB/s; it is not an absolute hardware limit. Quantization changes model numerics. Speculation requires correct verification, sampling and state commitment; it does not automatically guarantee exact finite-precision equivalence.

Linked implementation work

  • #710 — uncontended full-model baseline, frozen quality gates, reproducible performance receipts
  • #711 — packed W4 layout/loader and native kernels, actual traffic reduction, quality study
  • #712 — adaptive MTP integrated into the .om serving endpoint
  • #713 — compact speculative state, accepted-prefix commitment and complete-prefix reuse

Execution: establish #710's pins and quality contract first. W4 and MTP implementation may then proceed independently; #713's state-correctness contract gates MTP integration. Run the four final arms FP8 / FP8+MTP / W4 / W4+MTP under one frozen workload. Adopt additional tree verification only when whole-model results justify it.

Grounding and existing ownership

Reuse serving #642 and tracking #641; shared layouts #676; Omega https://github.com/aien-dev/omega-mv/issues/558 (projection bandwidth), https://github.com/aien-dev/omega-mv/issues/557 (GDN/prefill), https://github.com/aien-dev/omega-mv/issues/569 and https://github.com/aien-dev/omega-mv/issues/571 (arenas); qualification https://github.com/aien-dev/CUDApp/issues/33. Preserve its standalone benchmark contract; these optimization experiments do not silently change that benchmark. Inspect current successors of feat/qwen38-27b, cascade/mtp-chain, cascade/w4-decode and cascade/tree-verify-wire before implementing; a branch or merged PR is not proof the live consumer uses it.

Reviewed immutable core revision: 230574e0f731ca441f5d64b03a7946710d788f08.

  • W4 simulation writes quantized values back to FP8 and uses FP8 kernels; it does not demonstrate packed W4 execution.
  • MTP receipt: 272.67 ->191.90 ms/token at k=1, but k=4/8 slower; load1 >91 and 18 driver errors invalidate treating this as a clean performance baseline.
  • Serving source advances one token per iteration at this revision. Verify current effective runtime rather than extrapolate from this historical inspection.

Research and limits

  • LumoTree https://arxiv.org/abs/2609.23900: Qwen3.8-27B on Spark, mixed NVFP4/FP8; one replay corpus reports 10.54 ordinary /26.12 tuned MTP /28.13 tree tok/s. Different checkpoint/runtime; live-agent completion speedup was not established.
  • Bole https://arxiv.org/abs/2608.01651: compact factors and accepted-state reconstruction for hybrid models, including Qwen3.5-27B on GB10. Batch-one gains over a strong speculative baseline are around 11–14%, not the headline maximum. 20–30 tok/s is a research target under comparable workloads, never a promised acceptance result. Completion requires measured improvement at frozen quality constraints or explicit measured disposition of losing experiments.

Final acceptance and replacement

  • Final first-party implementations are .om; replace and delete superseded active Rust/C/.osc paths, tests/build references and compatibility implementations within this work's scope. Git history preserves old source. Coordinate existing migration ownership; do not rewrite unrelated repositories.
  • Exact serving artifact and linked backend use the qualified optimized path; no CPU stub or third-party inference engine substitution.
  • Frozen quality/state gates and required checks pass; actual Spark measurements include short and long context, TTFT, decode, complete-task time and memory.
  • Publish baseline/candidate receipts, commands, hashes, failures, realistic limitations and before/after results.
  • Delivery PRs link each checklist item to implementation and evidence. Do not close hardware gates on host-only results; mark exact blockers and continue independent work.

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

Draft implementation packet: #714, source 1b37dcf70a83a112f555ee043ecc407b8f00eeef. This is a partial #710 delivery, NOT completion of this parent: handwritten .om receipt arithmetic/fixtures, predeclared quality thresholds, pin reconciliation, raw CPU-check receipts and pending replacement/deletion ledger. 23 structured cases, 5 malformed-input checks and 3 compiled mutants pass; independent review and full-model/hardware qualification remain NOT_RUN. Repository preflight fails on the existing browser screenshot test; audit reports eight unchanged dependency advisories.

Actual live artifact inspection found Qwen3.6-35B on port18091 (binary SHA256 19173f9ec3b609fe79af644f84741d8808b92ea8eb3ecec4bc945af6f22b3aeb), not target Qwen3.8-27B. No service changed. Historical 27B checkpoint directory is absent. Existing native model/device/serving interface dependencies are recorded with L408/L605/L419/L739; no compiler/runtime ownership duplicated. All optimization arms remain unqualified. No superseded code deleted before replacement validation; no achieved speed or model-quality claim. Keep all five issues open.

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

Review and implementation update: all 81 pinned 27B model files are restored and rehashed. PR #714 at 2698ca8fa7ca2fa45ce89d17aa4b39290a84d9a7 adds native per-phase summaries and zero-service rejection; 25 structured cases and five malformed inputs pass.

The open-work review inventories 225 issues and 120 PRs across Core/Omega/CUDApp, with deeper review of this delivery path. Existing native compiler/device owners remain the integration boundary; L419 is currently an unassigned migration slot, not an active implementer. No competing runtime or compiler was started.

#710 still needs exact corpus/tokens/reference results and qualified native full-model execution. #711-#713 remain unqualified: no packed-W4 acceleration, adaptive endpoint MTP or complete-state reuse result is claimed. Old backend correctness findings in Omega #562 must be checked in the replacements. The inspected live service is a different 35B model and was not used for these results. Hardware trials, final serving artifact and replacement/deletion audit remain open. Achieved speed and quality: NOT_MEASURED.

drakestapleton wrote on 2026-10-23 15:03 UTC

Requested publication sweep completed alongside #714. The existing Qwen3.8 proposal remains at 2698ca8fa7ca2fa45ce89d17aa4b39290a84d9a7 with a clean working folder.

Recovery archives now preserve 146 previously unpublished local branch references, 203 working-folder snapshots, two additional staged snapshots and nine unresolved-index alternatives:

Fresh remote fetches verified all 371 recorded recovery references reachable. Each index maps original branches/work folders to saved commits. Original working files, staging areas and active branches were not replaced; no product merge or qualification is implied. Generated/model artifacts and nested repository entries are explicitly excluded in the manifests. Scope: 44 discovered repository databases and 596 registered worktrees, not arbitrary ignored files, reflog-only objects or unrelated repositories.

These archives preserve unfinished work for existing owners. They do not close #679 or any hardware, quality or replacement/deletion gate.

drakestapleton wrote on 2026-10-23 23:05 UTC

Current gap review is recorded in #715, with new #716–#721 for concurrent serving/shared verification, cost-aware reuse, tokenizer trust, structured tools and serving hardening. #710–#713/#714 remain authoritative. The review reflects all 81 checkpoint files restored; full-model speed/quality remain unqualified and the inspected live 35B is not the 27B baseline.

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

35B retired (Drake 2026-11-06): Omega LLM only. Makes the daily Qwen3.8-27B faster (packed W4, adaptive MTP, state reuse); outside weights. The generic serving gaps of the 27B delivery index (#715-#721) stay open, retargeted to the Omega LLM. — issuecov/I3 (Hermes worker subagent of lead issuecov, claude-opus-5-5, anthropic)

Sign in to comment