Outcome
Deliver an independently reproducible Omega/CUDA++ ↔ Modular MAX verification interoperability demonstration on GB10/sm_121: first two separately executed matmul + attention implementations governed by one frozen semantic contract; then an opt-in MAX graph-invoked native Omega kernel via a supported or safely characterized interoperability interface; missing published hooks trigger bounded source-guided reverse engineering, not an automatic NO-GO. This is an experimental collaboration proposal, not a claim that Modular has agreed or MAX accepts arbitrary SASS today.
Grounded code and existing owners (do not fork)
- Omega #599 mandates handwritten seeded
.omfor all final first-party software; no new.oscpath or permanent C/Python wrapper. Seed branch and integration gate: #660; source/translation owners #621, #623. - GPU pipeline #632, conformance #624, graph compiler #665, tensor lowering CUDApp #35, device contract CUDApp
src/omega_gpu_platform.h; no second IR, checker, runtime, memory manager or driver. - Existing CUDApp API/codegen:
src/omega_blackwell_matmul.h,src/omega_gpu_matmul_api.h,src/omega_gpu_attention_api.h; parity/coverage limited to supported shape, precision, layout. - Existing
src/checker2/c2_receipt.hhas immutable signed 416-byte receipts; signatures attest provenance, not full translation equivalence. Reuse its exact format and trust policy; never reinterpret old evidence. - Omega Bridge design historically excluded GPU/driver work, but the user explicitly expanded Bridge to GPU interoperability in https://github.com/aien-dev/omega-bridge/issues/3; low-level native GPU code remains with Omega/CUDApp.
- MAX 26.7 opened graph compiler/runtime/device hooks on 2026-10-22: https://www.modular.com/blog/26-7 ; official custom ops path: https://docs.modular.com/max/develop/custom-ops . Pin the exact MAX source/API/ABI/license revision before integration. Supported Mojo custom ops do not themselves prove external binary ingestion.
Stages / completion gates
- Feasibility and policy: pinned MAX 26.7 custom-op, GPU context and memory ownership API survey; license/telemetry/offline posture with an explicit supported/unknown/unsupported table. No assumed cross-context GPU pointer sharing.
- Shared frozen contract: exactly one bounded BF16 matmul operation (BF16 operands, FP32 accumulation; named layout/stride/rounding/alias policy) and one attention operation (causal/GQA head_dim 128, mask, KV/softmax semantics) plus independently generated reference and negative cases. Use existing task (#53) and numerical (#16) owners.
- Stage A independent execution: MAX and Omega independently execute on the same Spark under separate process contexts. Both results evaluated by a third-party-independent oracle; record exact input, output and executable identities, target, build and measurement receipts. No whole-stack CUDA-free claim; inspect native Omega process and MAX dependencies separately.
- Stage B including ABI discovery: if safe documented API exists, integrate it. Otherwise execute https://github.com/aien-dev/omega-bridge/issues/7 to reverse-engineer the smallest lawful interoperability ABI from public MAX sources and safe probes; establish memory/context/stream and lifetime invariants, independent checking, and a tested opt-in native path. If unprovable/unsafe, keep in-graph execution BLOCKED with exact reproducible evidence and upstream RFC, preserving Stage A independent PASS.
- Reproducibility and partner artifact: one-command local host replay and separately gated scheduled GB10 tests, five-run-or-more paired randomized benchmark, all failures kept, independent final-source review, documented limitations, public-safe integration brief for Modular.
Safety, sovereignty, owners
No unilateral modification to production/live18091, current model service, NVIDIA kernel modules, device reset, network telemetry, remote artifact storage, privileged driver state, release visibility or owner keys. No automatic upstream contact, public release or partnership claim. Ask existing ledger owners about worktrees before touching their files; parallelize only non-overlapping paths. Use one Spark GPU qualification at a time with controlled resource budget, using existing reservation/quietlock process. All public fixtures must exclude private data and secret receipts. Host tests never count as real GB10 evidence. STATUS: design/issue tracking, NOT IMPLEMENTED.
Exit criteria
Linked child/owner issues with measured test matrices, exact source/model/compiler/MAX versions, artifact hashes and independent check receipts; no made-up speedups, cross-vendor execution or binary compatibility. Close only after actual evidence on integrated revisions or explicit bounded NO-GO with proof of blocker; no auto-closing PR keywords.
Binding amendment (2026-10-23): native interface reverse engineering
User explicitly directed: if Modular does not expose native execution, reverse-engineer the interoperability interface rather than stop. https://github.com/aien-dev/omega-bridge/issues/4 assesses MAX's published API; https://github.com/aien-dev/omega-bridge/issues/7 owns source-guided ABI reconstruction and controlled differential probes; https://github.com/aien-dev/omega-bridge/issues/6 consumes the qualified result. MAX 26.7 has public GraphCompiler, MLRT, driver and GPU sources: https://github.com/modular/modular; exact applicable source licenses must be pinned per file. MAX License §1.4(d) permits AI analysis for interoperating software but prohibits using MAX content to AI-produce a MAX substitute: https://github.com/modular/modular/blob/main/Licenses/MAX_LICENSE . No license breach, security-control bypass, unsupported ABI speculation or unscheduled Spark device probes. Public API missing ≠ stop; unsafe / unqualified device execution remains blocked until verified.