interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

branch main Branches Tags History

CUDApp / evidence / MAX-INTEROP / G1

54161d0 evidence: MAX interop Gate 1 licence inventory and Gate 2 matrix tools Drake Stapleton committed 2026-10-30
..
README.md7347
license_inventory.py2732
max-source-527d069e.tsv.gz579497
max-source-main-8ed65fc6.tsv.gz727667
wheel_inventory.py2043
wheels-max-26.7.0.tsv.gz105383

README.md

Gate 1 — MAX pin and file-level licence inventory

Written 2026-10-30. Status: EXERCISED (host inventory run). This is not a legal opinion.

Pins

itemvalue
release pinmax/v26.7.0 = modular/modular 527d069ee11a41ac5320af1f9402db0a66b2b868 (committed 2026-10-22T17:37:22Z). This is the newest max/v* tag (git ls-remote --tags, 2026-10-30).
experimental referencemodular/modular main = 8ed65fc6ac15950ce62da1f8e8d50c2c7c528065 (2026-10-29T19:28:33Z). It is in no tagged release.
wheelsmax, max-core, max-mojo-libs, modular 26.7.0; mojo, mojo-compiler, mojo-compiler-mojo-libs, mojo-lldb-libs 1.2.0. Installed in venv ~/workspace/maxinterop/venv.
pin licenceLicenses/LICENSE "Modular MAX Community License", last modified August 18, 2026, sha256 f35ac2dfeb4a3e9482468874a50ce4dfb16fc11c3aefd2a1b4d51c44515ed02d (blob bytes at the pin)
main licenceLicenses/MAX_LICENSE sha256 5ee0ef8838bb7eb212daad69e88f0230f6af822c27d25570ef1eb331d3742ac4

Method

license_inventory.py REPO REV OUT (in this directory) reads every blob of REV from git objects, not from the working tree. For each file it records the SPDX tag, the licence header, or "no header"; for files without a header it also records the nearest governing LICENSE file. wheel_inventory.py does the same for every file in the installed wheels' RECORD.

~/workspace/maxinterop/max-source is a blob:none partial clone, so every missing blob is fetched lazily one at a time. The first run against it (bg_21) timed out after 900 s. The counts below come from a shallow bare clone, /dev/shm/modular-v26.7.0.git (depth 1, tag max/v26.7.0, plus main at depth 1). That run took 1.5 s.

Raw files (all rows, one file per row; gzip -n, zcat to read):

  • max-source-527d069e.tsv.gz: release pin, 11906 files
  • max-source-main-8ed65fc6.tsv.gz: main, 14866 files
  • wheels-max-26.7.0.tsv.gz: installed wheels

Released set (pin 527d069e, source)

countkindlicencegoverning file
9388headerApache-2.0 WITH LLVM-exception–
2168no header→ root LICENSE (Apache-2.0 WITH LLVM-exception)LICENSE
297binary→ root LICENSELICENSE
25no headerMITMojo/tools/mblack/LICENSE
11SPDXApache-2.0 WITH LLVM-exception–
4no header→ mblib2to3 LICENSEMojo/tools/mblack/src/mblib2to3/LICENSE
4SPDXApache-2.0–
2no headerMAX licence directoryLicenses/LICENSE
2+2header/SPDXMIT–
1SPDXBSD-2-Clause (AsyncRT/include/AsyncRT/Support/ConcurrentMPMCQueue.h)–
1headerMAX License (the licence text itself)–
1headerApache-2.0–

At the pin, no source file outside Licenses/ carries a MAX License header.

Pin files without a header, by extension: bazel 675, md 413, mlir 257, json 171, mdx 165, rst 149, bzl 79, patch 36, toml 32, txt 27, lock 21, test 20, other.

Released set (wheels 26.7.0)

Every distribution's metadata declares LicenseRef-MAX-Platform-Software-License. Only max ships LICENSE and Third-Party-Notices. File headers inside the wheels:

distApache-2.0 WITH LLVM-exceptionApache-2.0MITno header
max1958311876 (1852 .pyc, 3 .so)
max-core9––10 (6 .so)
max-mojo-libs–––36 (32 .mojoc)
mojo-compiler6––20

Shared objects and .mojoc files without a header fall under the MAX Platform licence of their wheel. The wheel's Mojo sources keep their own Apache-2.0 WITH LLVM-exception headers (MAX licence §1.4).

Experimental set (main 8ed65fc6, not released)

  • 3578 paths exist only on main and 618 only at the pin.
  • Main-only paths by top-level directory: GraphCompiler 1429, max 1292, Mojo 384, MLRT 283, Target 112, bazel 35, Support 15, SDK 15, Kernels 10, Licenses 2, AsyncRT 1.
  • On main, 988 files carry a MAX License header. Their top-level directories:
filespath
206GraphCompiler/lib
185GraphCompiler/include
98Target/lib (includes 75 files in Target/lib/CUDA/)
85max/mojo
78MLRT/lib
61max/python
61MLRT/include
53GraphCompiler/test
51MLRT/unittests
othersrest
  • Main-only paths matching HAL or driver: 282 have a MAX License header, 23 have no header, 7 are Apache-2.0 WITH LLVM-exception, 2 are binary. This includes the whole Driver SDK, SDK/include/HAL/M_driver_*.h (13 headers, all with a MAX License header). Its README calls it the ABI-safe C interface for hardware vendors' driver plugins, "developed against (SDK versions corresponding to) one of our (stable) releases". No stable release ships it yet.

Files on our execution path

componentpinmain
max/mojo/max/gpu/host/device_context.mojo (DeviceExternalFunction, load_function)Apache-2.0 WITH LLVM-exceptionsame; plus _legacy/device_context.mojo, same licence
max/python/max/graph/ops/custom.py (ops.custom)Apache-2.0 WITH LLVM-exceptionsame
max/tests/integration/Inputs/kernel_verification_ops/__init__.mojo (op_with_external_cubin pattern)Apache-2.0 WITH LLVM-exceptionsame
AsyncRT_DeviceContext_loadFunction implementationno source at the pin; binary only: libAsyncRTMojoBindings.so sha256 ebefd2e8…830c in the max-core wheel, MAX Platform licenceMLRT/lib/Driver/DeviceContext/MojoBindings.cpp, MAX License header
CUDA backendbinary only at the pinTarget/lib/CUDA/* (75 files), MAX License header

Gates 2 and 3 call the released Apache-licensed Mojo/Python API and the released MAX-licensed binary. They do not modify or redistribute MAX.

AI-use clause that applies to this work

  • Pin: Licenses/LICENSE §1.3(d), lines 81–86.
  • Main: Licenses/MAX_LICENSE §1.4(d), lines 65–71. Main adds a new §1.3 "Contributions", so every later section number moves up by one: Additional Requirements is §1.4, Separately Licensed Components §1.5, Patent License §1.6. The clause text is the same at both revisions, except that the pin contains a stray "is prohibited,".

Clause text: "You shall not use MAX, or any portion of it, as training data, fine-tuning data, or input to any AI system in order to produce software that reimplements or substitutes for MAX … This does not restrict using AI tools to read, analyze, improve, or explain MAX, or to develop Your own software that runs on or interoperates with MAX."

Consequences for this work stream:

itemstatus
Gates 2–4: an Omega kernel loaded and run by MAXinteroperation; allowed
Gate 5: an Omega-backed device plugin written against the MAX-licensed HAL Driver SDKinteroperation by its stated purpose; experimental, main only
Using MAX-licensed GraphCompiler, MLRT or Target sources as AI input to build an Omega graph compiler, runtime or scheduler that replaces MAX'sforbidden; keep MAX's model, graph and serving layers

Section headings checked against both blobs: pin lines 65/88 are §1.3/§1.4; main lines 45/50/73 are §1.3/§1.4/§1.5.

Upstream contributions also fall under modular AI_TOOL_POLICY.md: a human reviews and submits, and only bug fixes are accepted.