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 and ownership
At core commit 230574e0f731ca441f5d64b03a7946710d788f08, crates/aien-inference-abi/src/qwen38_omega/w4.rs simulates MXFP4 values, writes them back into FP8 storage, then executes unchanged FP8 kernels. This is a drift study, not a bandwidth optimization. Inspect cascade/w4-decode and current Omega owners before creating new kernels. Coordinate omega-mv#558, #541 and core#676.
Acceptance
- Select and document a supported packed format, group/scales/rounding/layout, using measured GB10 behavior; distinguish MXFP4 and NVFP4.
- Implement .om packed loader/layout and native batch-one GEMV plus small-row verification GEMM; weights remain packed in resident memory and through reads, with fused conversion/computation, no whole-weight FP8 expansion per step.
- Stage MLP projections first; qualify vocabulary projection independently; document tensors deliberately retained at higher precision.
- Validate decoding of packed values, tails/alignment, scales, zero/extreme/nonfinite inputs, and wrong-layout rejection.
- Compare against the pinned FP8 reference on held-out coding/prose, perplexity, logit margins, task quality and long-context continuation; freeze thresholds before comparison. W4 is not a promise of identical outputs.
- Measure physical allocation, estimated/measured traffic with clear accounting, kernel time and full-model wall latency at identical context/workload. Publish W4 alone and W4+MTP separately.
- Integrate the verified implementation into the actual .om serving consumer and delete superseded active implementation; retain evidence in Git history. Research: https://arxiv.org/abs/2609.23900 evaluates Qwen3.8-27B on Spark with NVFP4 MLP/head and FP8 attention. Its checkpoint and engine differ; its results are motivation, not our receipts.