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-mv/patches/a46a3620b182d28b # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/omega-mv#874 (code only) closed derived `a46a3620b182d28b` #874 Imported from GitHub aien-dev/omega-mv#874 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `62d1d0d668f897386a0e311374f8dbcc5c32dde8` · Head `e3c30d4fb085e106cac031bc74e05012e174b5db` ### Fetch it A git bundle of the pull request's head, 6666 bytes. ``` curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/a46a3620b182d28b.bundle -o a46a3620b182d28b.bundle git fetch a46a3620b182d28b.bundle refs/pull/874/head ``` Raw bundle · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/omega-mv 874 e3c30d4fb085e106cac031bc74e05012e174b5db ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":874,"url":"https://github.com/aien-dev/omega-mv/pull/874","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:00Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/.crumb b/.crumb index f3e51fe46..9a4249dec 100644 --- a/.crumb +++ b/.crumb @@ -72,7 +72,7 @@ }, { "digest": "f765ad87fdddd9b47f690b07298c951a0f7e7675dc5de4ffe44e33a0c14b1986", - "last_commit": "a8a6a3d3c", + "last_commit": "d94a503f7", "name": "spec", "purpose": "Directory spec. Purpose not yet described by a human." }, @@ -84,26 +84,26 @@ }, { "digest": "5395ff8ff9afceebe8e453788f80a3064b831513cc4cb92fd55869115e06b874", - "last_commit": "a8a6a3d3c", + "last_commit": "dcccc0211", "name": "tests", "purpose": "Directory tests. Purpose not yet described by a human." }, { "digest": "308db0e6cf45c0a48f01f5f5f228450f191389de68006915b9ecf9c65b9a2e29", - "last_commit": "a8a6a3d3c", + "last_commit": "a50c3bd41", "name": "tools", "purpose": "Directory tools. Purpose not yet described by a human." } ], "children_root": "sha256:07bf1706dcffbad66c0353871ff67a6749055da03cee8d8ebdf9a4c91e36bddc", - "compiled_at": "2026-10-30T12:31:50Z", + "compiled_at": "2026-10-30T16:29:02Z", "compiler": "crumb-compile/1", - "digest": "sha256:904fca8c0e0cf3e3a5e5adb73393e01c7018b920bb542d289904240f70e400d6", + "digest": "sha256:87e802330d0a9a2ce317129ad678e355433b51f032357dc8554c88c05f03954f", "evidence_files": 12622, "evidence_root": "sha256:b1a08e2ce56e6feada0d8a31f06fbd7adee57adc1c1ad8dec220293ee5d439f9", - "files": 17849, - "generated_at_commit": "52a82f392fa513ebbc2d9d719a0f14c385289b06", - "source_tree": "sha256:75458da6553a0ee5ea2af95f46afb658e8a3f6e53cca6e3b4b9874035f78c2ed" + "files": 17850, + "generated_at_commit": "4b449e08683265edc56f6cc67a630fe1e0e3bc93", + "source_tree": "sha256:c7b2e978c3a57545c24d040cdd554c3e21208e59eac860e02559e38a02fa3eca" }, "owner_lane": "", "provenance": { diff --git a/PROVENANCE.md b/PROVENANCE.md new file mode 100644 index 000000000..297377529 --- /dev/null +++ b/PROVENANCE.md @@ -0,0 +1,74 @@ +# Provenance of hardware knowledge in omega-mv + +The rule for adding hardware facts (instruction encodings, container layouts, launch descriptors) to +Omega's NVIDIA back ends, and a record of the NVIDIA tool output already stored here. It is an engineering +record, not legal advice. The same rule is in aien-dev/CUDApp `PROVENANCE.md`, which quotes the licence +clauses it follows: CUDA Toolkit EULA (https://docs.nvidia.com/cuda/eula/index.html, January 2025 +revision) §1.2(1), §1.2(8), §1.1.2(4) and §2.1; NVIDIA driver licence §2.1 and §2.2; MAX License §1.4 +(https://www.modular.com/legal/max-license, October 21, 2026). + +## Allowed sources + +- **Class A, use freely and cite:** public NVIDIA documentation (PTX ISA, CUDA Binary Utilities, + open-gpu-doc); open source under permissive licences (NVIDIA open kernel module headers MIT, Mesa + NAK/NVK MIT, LLVM `BinaryFormat/ELF.h` Apache-2.0 WITH LLVM-exception, CUTLASS BSD-3-Clause); our own + bytes run on our own NVIDIA GPU. +- **Class B, oracle only:** NVIDIA's `nvcc`, `ptxas`, `cuobjdump` and `nvdisasm` installed on our own + machine, run only on inputs we wrote (probe kernels we authored, bytes our encoders emitted), only for + NVIDIA-GPU targets, with the tool version recorded. The tools are never shipped or invoked by an Omega + program; `tools/sm121dis` replaces `nvdisasm` in the checks (C6). + +## Not allowed + +1. Reading, disassembling or extracting the machine code or containers of any NVIDIA binary: `libcuda`, + cuBLAS, cuDNN, TensorRT, NCCL, the compiler binaries, driver files, firmware, or cubins embedded in + NVIDIA libraries. This applies to rented machines as well as the Spark. +2. Using a fact learned from class B output for a non-NVIDIA target (SPIR-V, Vulkan, AMD, any other). + Those back ends take facts from that vendor's class A sources only. +3. Committing SDK files, NVIDIA binaries, firmware, or NVIDIA headers other than the MIT open-module + headers. +4. Giving MAX source or binaries to an AI system to produce software that reimplements or substitutes + for MAX. + +## What a new fact records + +Class and exact source (document and section, file and commit, or tool and version); for class B the +probe input path and command; the chip receipt or NOT_RUN. A golden copied from class B output is a +regression pin, not independent evidence; a golden written from class A and confirmed on the chip is +independent. + +## Corrections + +- 2026-10-27: cubin ABI 7 notes for `seed/sm80/cubin.om` (PR #864, branch `ck/cubin-om`) had cited CUDA + 12.8 cuBLAS cubins, which were extracted from `libcublas.so` on a rented machine. That is not allowed + (rule 1). The extracts were deleted and the notes now cite only nvcc 13.0 probe kernels and LLVM + `ELF.h` (commit `76639738a`). The emitted bytes did not change, so the knowledge was re-sourced, not + re-derived independently; this is listed as an open question for counsel. + +## NVIDIA tool output stored in this repository + +`evidence/` is additions-only, so these files stay. Each is class B output. + +| File | Input | Tool | +|---|---|---| +| `evidence/gpu-reconv-308/oracle/cf.sass` | `cf.cu`, a probe kernel I wrote, compiled by nvcc 13.0 | `cuobjdump -sass` | +| `evidence/OWN30B-T3-HMMA-MODEL-38fe3d98-20261013T2204Z/oracle.sass` | `oracle.cu`, my probe, nvcc 13.0 | `cuobjdump -sass` | +| `evidence/OWN30B-T3-TC-PEAK-BW-5faa0f70-20261013T2236Z/fa_ops.sass` | `fa_ops.cu`, my probe, nvcc 13.0 | `cuobjdump -sass` | +| `evidence/SEED-0/sm121/vecadd.sass.txt` | `seed/sm121/vecadd.bin`, made by `asm2` | `nvdisasm` | +| `evidence/SEED-0/sm121/forms-nvdisasm.tsv`, `nvdisasm-refused*.txt` | edge cases generated from `seed/sm121/sm121.tbl` | `nvdisasm -b SM121` | +| `evidence/C6-DISASM/11-*.log`, `12-*.log` | `tools/sm121dis/zero_nvdisasm.sh` (11: no file outside the oracle harness looks up `nvdisasm`; 12: red run with planted calls) | not an NVIDIA listing | +| `evidence/E1-SIMT-C3/20261002T211613Z/ldst/nvdisasm.log` | encoder output, 148 kernels | `nvdisasm` 13.0 (verdict only) | + +`bench/prime_race/tests/encoding_oracle.md` documents an nvcc + cuobjdump oracle procedure on probe kernels. +`tools/divsqrt_nvdisasm_check.sh` and `tools/ldst_nvdisasm_check.sh` run `nvdisasm` on encoder output. +`evidence/C5-ISOLATION/04-never-ending-kernel.sass.txt` is `sm121dis` output, not NVIDIA's. + +## Open questions for counsel + +1. Does deriving NVIDIA instruction encodings from nvcc output of our own probe kernels, for an + NVIDIA-only toolchain, fall within the CUDA EULA (§1.2(8) is limited to non-NVIDIA targets)? +2. `tools/sm121dis` was built to print exactly what `nvdisasm` prints, checked by comparing outputs over + many inputs. Is systematic black-box comparison with an SDK tool "reverse engineering" of the SDK under + §1.2(1)? +3. May the class B listings above be published? +4. Does re-sourcing the ABI 7 notes after the cuBLAS extraction (Corrections) cure it? ```