interplane.Get Omega
Read in your language

omega-dnn

aien-dev/omega-dnn

Brought by drakestapleton

Unfinished: not checked yet

There is no published receipt of a rebuild from its source yet. What a receipt is

Get this repository
Git over HTTPS
git clone --no-checkout https://interplane.io/projects/omega-dnn/repo.git omega-dnn && git -C omega-dnn checkout --detach 4114cbff81f5f5042dd57f38f3ae3dadf7fd5812
Source archive of 4114cbff81f5f5042dd57f38f3ae3dadf7fd5812
Download ZIP · tar.gz

README.md

omega-dnn

Open deep-learning primitives written in seeded Omega: one OM-2 unit, om/dnn.om, with ONNX operator semantics and a small fusion-graph API. It is the Stack7 answer to NVIDIA layer #12 (cuDNN): no NVIDIA headers, no cuDNN API names, only ONNX operator definitions.

Parent: aien-dev/omega-mv at e5b32567a7aff3ce594e3254a622a846a6cd190b (the OM-2 compiler seed/out/omc, sha256 2c824805…029f, and the seeded OM-1 compiler evidence/SEED-0/omc/omc.elf, sha256 734f0a39…6b61). Binding: aien-dev/omega-bridge native ABI v2 (PR #15, 2b59387). Both pins are in PINS.

Status (evidence labels kept separate)

itemlabel
RMSNorm, LayerNorm, Softmax, RoPE (split and interleaved), SiLU, GELU (erf, tanh), SwiGLU, Add, Mul, bias, ReLUIMPLEMENTED in .om, EXERCISED on AArch64 (host): tests/test_ops.py, receipt evidence/HOST-01dc3de2
MatMul (+bias, transposed B), flash-tiled attention prefill (GQA, causal), paged-KV decodeIMPLEMENTED in .om, EXERCISED on AArch64 (host), same receipt
Conv2d (direct and im2col + GEMM, stride, pad, dilation, groups), MaxPool, AveragePool, GlobalAveragePoolIMPLEMENTED in .om, EXERCISED on AArch64 (host), same receipt
Fusion graph (producer + elementwise chain, one store)IMPLEMENTED, EXERCISED on AArch64 (host): pass counts and values in tests/test_ops.py
Mutants of om/dnn.om14 of 14 killed by the host suite: tests/mutants.py, same receipt
GB10 GPU tier: RMSNorm, RoPE (split), SwiGLU, SiLU, Softmax (c ≤ 64, through the attention kernel), GQA decode attention, causal prefill attention, paged-KV decode (single and batch), MatMul (f32, +bias, transposed B)EXERCISED on the GB10 chip through CUDApp's native kernels, gated against this repo's .om host result: tests/test_gpu.py, receipts evidence/GPU-9841bb3a (elementwise, attention; CUDApp main 9841bb3a) and evidence/GPU-b28372d1 (MatMul; CUDApp PR #139 b28372d1, not merged). Not QUALIFIED: one seed, 32 cases per op. Failed earlier runs: evidence/GPU-9841bb3a/LOSSES.md
No GPU pathsee "Not on the GPU" below
Earlier GB10 measurement (2026-10-26)omega-mv's interim C SASS codegen measured against torch/cuDNN: evidence/STACK7-GPU-20261026/GPU.md. Those kernels are not the CUDApp kernels above
SPIR-VPROPOSED, blocked: omega-mv IR mode has no floats or memory
GEMM from aien-dev/omega-blasPROPOSED (the MatMul here is an interim f64-accumulating GEMM in .om)

Not on the GPU

NOT_RUN: CUDApp has no kernel for these (header search of CUDApp src/*.h at 9841bb3a): LayerNorm, GELU (erf and tanh), ReLU, Add, Mul, bias, RoPE interleaved, Conv2d (direct and im2col), MaxPool, AveragePool, GlobalAveragePool, the fusion graph, and standalone Softmax.

Unsupported shapes, refused by the CUDApp kernels and not tested:

  • RMSNorm: dim % 128 ≠ 0, or dim > 16384.
  • Attention: head_dim ∉ {64, 128}; more than 64 query heads; a GQA ratio that is not a power of two; context above 4096.
  • RoPE: rotary width below head_dim.
  • Softmax: more than 64 logits.

Build and test

sh tools/build.sh                  # fetches the pins into .deps/, checks both compiler hashes, binds
python tests/test_ops.py 200       # needs torch (CPU); randomized, compares against torch float64
python tests/mutants.py            # each mutant of om/dnn.om must fail the suite
python tests/test_gpu.py --lib <CUDApp>/build-pic/libcudapp_dnn.so --group ew|attn|gemm \
    --cudapp-sha <sha> --out <receipt.json> [--hold]   # GB10; without --hold only the host side runs

CI: .github/workflows/gates.yml runs tools/build.sh, the host suite (200 cases) and the mutants on a GitHub arm64 runner, with both compilers born from the seed there. The GB10 tier is not run in CI.

build/ gets libomega_native.so, the generated omega_native.{py,h,c,rs,zig,go} and omega_api.h. The Python package python/omega_dnn only lays out the arena and the descriptor (docs/DESCRIPTOR.md); every value is computed by the Omega unit. Tensors enter through DLPack (torch.from_dlpack).

Numerics

f32 in and out, f64 inside, one rounding per stored element. exp is Cody–Waite with a degree-13 Taylor polynomial, erf a positive series (|x| ≥ 6 gives ±1). Tolerances are derived in docs/TOLERANCE.md, the GPU-tier bounds in its "GPU tier" section, and checked element by element in tests/.

Limits of the seeded compiler (and the proposals)

The OM-2 compiler gives each function 16 registers with no spilling, has no vector or FMA words, and bounds every loop at 1,000,000 passes. The kernels are scalar and bounds-checked. The speed gap to oneDNN is NOT_RUN: no comparison against oneDNN has been measured. The Omega extensions that close it: f32x4 vector words and FMA, a register allocator with spilling, and IR-mode floats plus a buffer ABI for the SPIR-V backend.

Licence: Apache-2.0 WITH LLVM-exception.

Human-Directed Agentic Engineering

Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, architecture, constraints, acceptance criteria, and stopping points; agents implement, execute checks, diagnose failures, and revise within those boundaries. Human review retains responsibility for claims, acceptance, and release decisions.

For the documented method and a systems-software case study, see Gregory M. Kurtzer, [*Ginux: Building an Independent Kernel That Runs Linux Userspace through Human-Directed Agentic Engineering* (2026)](https://doi.org/10.5281/zenodo.23682548).

For developers: proof and records

The full record of this project. Words that are used only here are explained once:

ID
The project's permanent id on Interplane: the SHA-256 of its first signed record. This one is git:4cd51b9e42af48765f9879d6e2f547b5cb52b83c247feda79da0679fbf5f961c. Its old id, kept only so that old links still work: z3EEujVZkpBNXbCVdnrENJuoMKBdg.
Owner
The key that signs every record of the project. This forge lists the project under drakestapleton; its key is SHA256:qg3vxoE9ul3Cgk5heosQvPmO9pqIJNsdcsGJ2cHghTs.
Refs and HEAD
Refs are the names that point at versions: branches and tags. HEAD is the version a fresh copy starts from, the newest commit of the default branch.
Patch
A proposed change, reviewed before it is merged. This forge does not show proposed changes from its own store yet. The list is under Proposed changes.
Receipt
A public record that someone checked a claim, with the fingerprint of its evidence file. The state at the top of this page is read from the list at interplane.io/receipts. This project has no receipt in that list yet.

Clones and fetches over HTTPS: 0 by visitors (git smart-HTTP info/refs requests answered 200 in the front-door download log; our own addresses and bots left out; since 2026-11-08) · not measured git-upload-pack requests from all clients (the source of this count is retired)

Downloads: 1 by visitors (1 source archives, 0 release assets; forged access log; our own addresses left out; since 2026-11-07)

commit 4114cbff81f5f5042dd57f38f3ae3dadf7fd5812 Branches Tags History
4114cbf ci: gates workflow runs the README's test command on an arm64 runner (#4) aien-spark committed 2026-11-05
.github/
docs/
evidence/
om/
python/
tests/
tools/
.crumb1697
.gitignore33
.goals.json1601
LICENSE12278
PINS266
README.md6028

Every record: History (commits) · Branches · Tags · Releases, with the SHA-256 of each download · Patches · Issues · This project as JSON