Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-bridge/blob/main/MISSION-REPORT.md # omega-bridge Omega-first language interoperability: checked conversion backends and native language bindings Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-bridge / MISSION-REPORT.md` 129 lines · 7983 bytes Raw Blame History Rendered 1 # Omega × Modular MAX — verified interoperability, current state 2 3 Date: 2026-10-23. This is the consolidated report for the three branches. It 4 separates what ran from what did not. Every `PASS` below has raw output in the 5 named `evidence/` directory; every unexecuted device test is `NOT_RUN`. 6 7 ## 1. Revisions 8 9 | Repo | Branch | Review base | Latest commit | 10 |---|---|---|---| 11 | omega-mv | `feat/max-interop-contracts` | ``cd5897e3`` | ``7d13fa0b`` | 12 | CUDApp | `feat/max-artifact-export` | ``80f3a24`` | ``9ebdc6b`` | 13 | omega-bridge | `feat/gpu-interop` | ``77376b1`` (`feat/c-python-bridge`) | ``8479910`` | 14 15 Pinned external software: Modular MAX `max/v26.7.0` = 16 ``527d069ee11a41ac5320af1f9402db0a66b2b868`` (`mojo/v1.2.0`), installed as 17 `modular==26.7.0`. Omega seed compiler: 18 ``191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9``. 19 CUDApp driver/firmware target: NVIDIA 580.173.02, GB10, sm_121. 20 21 ## 2. Completed and verified 22 23 | Deliverable | Evidence | Status | 24 |---|---|---| 25 | Frozen BF16 matmul + causal GQA contracts, canonical ids | `omega/evidence/MAX-INTEROP/680/` | PASS, 26 checks | 26 | Independent stdlib oracle, deterministic fixtures, mutation corpus | same | PASS | 27 | Native `.om` contract checker (seed-built) | `build/contract-check`, ids ``647116fc`…`, ``003696e4`…` | PASS | 28 | Native sm_121 cubin container from generated text | `cudapp/evidence/MAX-INTEROP/68/`, `nvdisasm`/`cuobjdump` | PASS offline | 29 | Artifact manifest: text/QMD/cbank SHA-256, contract/spec/ISA/shape/bounds/numeric/provenance | same | PASS, 47 checks | 30 | Admission/refusal (tamper, ISA, format, reloc, driver, contract) | same | PASS | 31 | Bridge GPU adapter v1 (negotiation + admission, named refusals, no fallback) | `bridge/evidence/MAX-INTEROP/3/` | PASS, 49 checks | 32 | Cross-runtime envelope + 416-byte C2 TEST receipt | `omega/evidence/MAX-INTEROP/681/` | PASS, 26 checks | 33 | MAX 26.7 source/API/licence pin and capability matrix | `bridge/docs/max/` | PASS (analysis) | 34 | Separate-process MAX vs Omega harness | `bridge/evidence/MAX-INTEROP/5/` | PASS on CPU | 35 | MAX/Omega numeric agreement (fixture) | same | bit-identical matmul SHA-256; GQA max abs error 2.7e-7 | 36 37 ### Exact artifacts 38 39 - Matmul artifact ``7c5ab77748c1cd29a50b9cb91efcce6d8200eb30646ce88142f31ba4d7d5544c``; 40 cubin ``b6ad13f4`…`; text ``f989e654`…`. 41 - Attention artifact ``48eac870570fd978aa011973bfc3407fedc6de2f1f1fbe1fb943cc96c9f95c22``. 42 - Envelope ``4b17c82188c4bfcbdefb3f7c5ca66f6b06245866b4df6f7f12cdf787dc177b00``; 43 receipt ``f13b1bff8aac38cbee9c6b23c1557bd0c81f954555e84ebbb17b1f52d618ba76``. 44 45 The envelope binds `execution=NOT_RUN`, `oracle_verdict=NOT_RUN`, and a zero 46 output digest. It is a provenance/identity record, not a device result. 47 48 ## 3. Blocked or not run 49 50 ### 3a. GB10 device windows (2026-11-07, DRA-105; supersedes the first four rows below) 51 52 Three exclusive `spark-window` leases (`--gb10 exclusive --quiet none`, 53 value checks), opened and closed by id by `tools/run-device-window.sh`. Raw 54 output and rc for every row: `evidence/device-window/L939*/`, summary in 55 `evidence/device-window/README.md`. Driver 580.173.02, CUDApp ``b774723f``. 56 Window 3 (`20261107T030848Z-b5d44f`, ledger dir `L939-w3`) ran all 10 rows rc 0: 57 58 | Row | Result (window 3) | 59 |---|---| 60 | `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 | 61 | `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) | 62 | Pre-fix cubin `cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin` | rejected 200 `INVALID_IMAGE` as expected (negative control) | 63 | 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 | 64 | 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 | 65 | Paired runs (6 of each path) | done; per-run timings in `.out/*.json` are shared-machine diagnostics of different spans (Omega: whole API call; MAX: execute only), not a speed comparison | 66 | `attach/torch/test_cudapp_torch.py` (PR #30) | EXERCISED PASS: 12 cases inside bound, gemm_ex mutant caught | 67 68 Window 1 (`L939`) used the stale 68 cubins (rc 4, 200) and hit a MAX harness 69 defect (host-resident inputs); both were fixed before window 2. Window 2 70 (`L939-w2`) had 2 `CUDA_ERROR_OUT_OF_MEMORY` failures at context creation (one 71 `cuCtxCreate`, one MAX `Accelerator()`) in 2 of its 10 rows; window 3 had none. 72 That intermittent context-create failure is not explained. Not QUALIFIED: one 73 chip, one driver, tiny shapes, no independent attestation beyond `SPARK_WINDOW`. 74 75 | Item | Reason | What unblocks it | 76 |---|---|---| 77 | `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) | 78 | Omega native matmul/GQA on GB10 | same | same window; `conformance/run.sh --device` (DONE, §3a) | 79 | MAX 26.7 graph matmul/GQA on GB10 | same | same window; `max_runner.py --device gpu` (DONE, §3a) | 80 | Paired ≥5-run benchmarks | requires two device paths | after the above (runs DONE, §3a; no speed claim) | 81 | 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 | 82 | AMD/Intel/Metal | no adapter, no hardware test | separate owner and qualification | 83 84 No speedup, no CUDA-free claim for MAX and no cross-context pointer sharing is 85 asserted. CPU timings in `harness.log` are harness diagnostics only. 86 87 ## 4. Upstream request (draft, not submitted) 88 89 A byte-slice native-module entry point in the released MAX, with MAX retaining 90 device, context, queue, allocation and error ownership: accept a cubin ELF as 91 bytes (not UTF-8 `String`), document primary-context identity, define the entry 92 name and parameter ABI, return deterministic errors for wrong arch/entry, and 93 ship a cubin load/launch qualification test. Details and proposed signatures: 94 `docs/MAX-INTEGRATION.md`. No PR exists. 95 96 Correction (2026-10-27, carried from omega-bridge#28): this report first said 97 "No contact with Modular has been made". That is out of date: Drake Stapleton 98 has an ongoing email thread with Modular. Nothing beyond that is claimed here. 99 100 ## 5. Reproduce 101 102 See `docs/REPRODUCE.md`. Short form: 103 104 ```sh 105 # omega-mv 106 sh tools/max-interop/build.sh && python3 tests/max-interop/test_contracts.py 107 sh tests/max-interop/build_receipt.sh && python3 tests/max-interop/test_envelope.py \ 108 --artifact ../../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8 \ 109 --fixture tests/max-interop/fixtures/matmul-v1.json 110 # CUDApp 111 make -j8 test-native-artifact && ./tools/artifact_smoke.sh evidence/MAX-INTEROP/68 112 # bridge 113 sh tools/build-gpu-adapter.sh && python3 tests/gpu/test_gpu_adapter.py 114 sh conformance/run.sh 115 ``` 116 117 ## 6. Residual risks 118 119 1. The cubin container is offline-valid only. The driver may require sections 120 absent here (for example capability metadata); `cuModuleLoadData` is the 121 decisive test, and it has not run. 122 2. `sm_121` vs `sm_121a` acceptance is untested; the MAX toolchain targets 123 `sm_121a` for DGX Spark. 124 3. The Bridge adapter is host-tested; no device is opened by design, so its 125 "real adapter" path is an admission contract, not a loader. 126 4. The MAX 26.7 report's main-branch citations are not release evidence; the 127 pin lacks those paths. 128 5. CUDApp is Apache-2.0 WITH LLVM-exception; MAX paths mix Apache-2.0 WITH LLVM-exception/LLVM and the MAX 129 Community License. Any upstream contribution needs its own licence review.