Omega × Modular MAX — verified interoperability, current state
Date: 2026-10-23. This is the consolidated report for the three branches. It
separates what ran from what did not. Every PASS below has raw output in the
named evidence/ directory; every unexecuted device test is NOT_RUN.
1. Revisions
| Repo | Branch | Review base | Latest commit |
|---|---|---|---|
| omega-mv | feat/max-interop-contracts | cd5897e3 | 7d13fa0b |
| CUDApp | feat/max-artifact-export | 80f3a24 | 9ebdc6b |
| omega-bridge | feat/gpu-interop | 77376b1 (feat/c-python-bridge) | 8479910 |
Pinned external software: Modular MAX max/v26.7.0 =
527d069ee11a41ac5320af1f9402db0a66b2b868 (mojo/v1.2.0), installed as
modular==26.7.0. Omega seed compiler:
191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9.
CUDApp driver/firmware target: NVIDIA 580.173.02, GB10, sm_121.
2. Completed and verified
| Deliverable | Evidence | Status |
|---|---|---|
| Frozen BF16 matmul + causal GQA contracts, canonical ids | omega/evidence/MAX-INTEROP/680/ | PASS, 26 checks |
| Independent stdlib oracle, deterministic fixtures, mutation corpus | same | PASS |
Native .om contract checker (seed-built) | build/contract-check, ids 647116fc…, 003696e4… | PASS |
| Native sm_121 cubin container from generated text | cudapp/evidence/MAX-INTEROP/68/, nvdisasm/cuobjdump | PASS offline |
| Artifact manifest: text/QMD/cbank SHA-256, contract/spec/ISA/shape/bounds/numeric/provenance | same | PASS, 47 checks |
| Admission/refusal (tamper, ISA, format, reloc, driver, contract) | same | PASS |
| Bridge GPU adapter v1 (negotiation + admission, named refusals, no fallback) | bridge/evidence/MAX-INTEROP/3/ | PASS, 49 checks |
| Cross-runtime envelope + 416-byte C2 TEST receipt | omega/evidence/MAX-INTEROP/681/ | PASS, 26 checks |
| MAX 26.7 source/API/licence pin and capability matrix | bridge/docs/max/ | PASS (analysis) |
| Separate-process MAX vs Omega harness | bridge/evidence/MAX-INTEROP/5/ | PASS on CPU |
| MAX/Omega numeric agreement (fixture) | same | bit-identical matmul SHA-256; GQA max abs error 2.7e-7 |
Exact artifacts
- Matmul artifact
7c5ab77748c1cd29a50b9cb91efcce6d8200eb30646ce88142f31ba4d7d5544c; cubinb6ad13f4…; textf989e654…. - Attention artifact
48eac870570fd978aa011973bfc3407fedc6de2f1f1fbe1fb943cc96c9f95c22. - Envelope
4b17c82188c4bfcbdefb3f7c5ca66f6b06245866b4df6f7f12cdf787dc177b00; receiptf13b1bff8aac38cbee9c6b23c1557bd0c81f954555e84ebbb17b1f52d618ba76.
The envelope binds execution=NOT_RUN, oracle_verdict=NOT_RUN, and a zero
output digest. It is a provenance/identity record, not a device result.
3. Blocked or not run
3a. GB10 device windows (2026-11-07, DRA-105; supersedes the first four rows below)
Three exclusive spark-window leases (--gb10 exclusive --quiet none,
value checks), opened and closed by id by tools/run-device-window.sh. Raw
output and rc for every row: evidence/device-window/L939*/, summary in
evidence/device-window/README.md. Driver 580.173.02, CUDApp b774723f.
Window 3 (20261107T030848Z-b5d44f, ledger dir L939-w3) ran all 10 rows rc 0:
| Row | Result (window 3) |
|---|---|
cubin_probe load + launch, matmul 16x16x8 cubin from the current CUDApp writer | EXERCISED PASS: load 0, worst_abs=0 bad=0 untouched=0 against the fp32 oracle |
cubin_probe GQA cubin (hq 8, hkv 1, hd 128) | load + resolve PASS; launch NOT_RUN (the probe launches the matmul ABI; needs an attention probe, MAX Gate 3) |
Pre-fix cubin cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin | rejected 200 INVALID_IMAGE as expected (negative control) |
Omega native matmul/GQA on GB10 (conformance/run.sh --device) | EXERCISED PASS 6/6 runs: matmul 12 checks, max abs error 0; GQA 13 checks, 2.39e-7 |
MAX 26.7 graph matmul/GQA on GB10 (max_runner.py --device gpu) | EXERCISED PASS 6/6 runs: matmul 12 checks, 0, output SHA-256 equal to Omega's; GQA 13 checks, 2.70e-7 |
| Paired runs (6 of each path) | done; per-run timings in <row>.out/*.json are shared-machine diagnostics of different spans (Omega: whole API call; MAX: execute only), not a speed comparison |
attach/torch/test_cudapp_torch.py (PR #30) | EXERCISED PASS: 12 cases inside bound, gemm_ex mutant caught |
Window 1 (L939) used the stale 68 cubins (rc 4, 200) and hit a MAX harness
defect (host-resident inputs); both were fixed before window 2. Window 2
(L939-w2) had 2 CUDA_ERROR_OUT_OF_MEMORY failures at context creation (one
cuCtxCreate, one MAX Accelerator()) in 2 of its 10 rows; window 3 had none.
That intermittent context-create failure is not explained. Not QUALIFIED: one
chip, one driver, tiny shapes, no independent attestation beyond SPARK_WINDOW.
| Item | Reason | What unblocks it |
|---|---|---|
cuModuleLoadData + launch of the exported cubin on GB10 | chip reserved by the coordinator (CHIP-RESERVED); spark-window refuses | an authorized spark-window with --gb10 shared --quiet none; run build/cubin_probe (DONE for matmul, §3a) |
| Omega native matmul/GQA on GB10 | same | same window; conformance/run.sh --device (DONE, §3a) |
| MAX 26.7 graph matmul/GQA on GB10 | same | same window; max_runner.py --device gpu (DONE, §3a) |
| Paired ≥5-run benchmarks | requires two device paths | after the above (runs DONE, §3a; no speed claim) |
| In-MAX native Omega cubin execution | pinned 26.7.0 has no byte-safe native module API; load_function takes String and only PTX is tested; the main-branch HAL path is not in the release, not production, and not reachable from public Python | upstream change in §4, or a decision to test main |
| AMD/Intel/Metal | no adapter, no hardware test | separate owner and qualification |
No speedup, no CUDA-free claim for MAX and no cross-context pointer sharing is
asserted. CPU timings in harness.log are harness diagnostics only.
4. Upstream request (draft, not submitted)
A byte-slice native-module entry point in the released MAX, with MAX retaining
device, context, queue, allocation and error ownership: accept a cubin ELF as
bytes (not UTF-8 String), document primary-context identity, define the entry
name and parameter ABI, return deterministic errors for wrong arch/entry, and
ship a cubin load/launch qualification test. Details and proposed signatures:
docs/MAX-INTEGRATION.md. No PR exists.
Correction (2026-10-27, carried from omega-bridge#28): this report first said "No contact with Modular has been made". That is out of date: Drake Stapleton has an ongoing email thread with Modular. Nothing beyond that is claimed here.
5. Reproduce
See docs/REPRODUCE.md. Short form:
# omega-mv
sh tools/max-interop/build.sh && python3 tests/max-interop/test_contracts.py
sh tests/max-interop/build_receipt.sh && python3 tests/max-interop/test_envelope.py \
--artifact ../../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8 \
--fixture tests/max-interop/fixtures/matmul-v1.json
# CUDApp
make -j8 test-native-artifact && ./tools/artifact_smoke.sh evidence/MAX-INTEROP/68
# bridge
sh tools/build-gpu-adapter.sh && python3 tests/gpu/test_gpu_adapter.py
sh conformance/run.sh
6. Residual risks
- The cubin container is offline-valid only. The driver may require sections
absent here (for example capability metadata);
cuModuleLoadDatais the decisive test, and it has not run. sm_121vssm_121aacceptance is untested; the MAX toolchain targetssm_121afor DGX Spark.- The Bridge adapter is host-tested; no device is opened by design, so its "real adapter" path is an admission contract, not a loader.
- The MAX 26.7 report's main-branch citations are not release evidence; the pin lacks those paths.
- CUDApp is Apache-2.0 WITH LLVM-exception; MAX paths mix Apache-2.0 WITH LLVM-exception/LLVM and the MAX Community License. Any upstream contribution needs its own licence review.