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-blas
# omega-blas
aien-dev/omega-blas
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-blas/repo.git omega-blas && git -C omega-blas checkout --detach 20180faae23c7284e071e93ed96ef0a6490da8f5`
Source archive of `20180faae23c7284e071e93ed96ef0a6490da8f5`
Download ZIP · tar.gz
Sign in to star 0 stars 0 watching
About Files History Releases Proposed changes Issues For developers
README.md
# omega-blas
BLAS in Omega: the open replacement track for layer #6 of the NVIDIA stack (cuBLAS).
- Parent: aien-dev/omega-mv at `e5b32567a7aff3ce594e3254a622a846a6cd190b` (language, compiler, gates). Exact pins: PINS .
- Binding: aien-dev/omega-bridge `tools/native`, ABI v2.
- GPU execution: aien-dev/CUDApp (ADR 0042: Omega owns compute, CUDApp owns GPU execution, omega-bridge owns compatibility).
## What is here
Path Role Status
`om/blas.om` the compute unit: f16/bf16/e4m3/e5m2 widening and RNE narrowing, panel packing, the 2x2 f32 gemm macro-kernel, the fused epilogue (alpha, beta, bias by row or column, relu, gelu-tanh), gemv, strided copy, reference argument checks Omega (OM-2)
`src/omegablas.c`, `include/omegablas.h` interim C layer: CBLAS and Fortran 77 entry points, xerbla routing, workspace, cache blocking, batch loops, and (built only with `GB10=1`) the GB10 device dispatch C, retired by the extensions in docs/EXTENSIONS.md
`python/omegablas` DLPack binding (numpy, torch, any `__dlpack__` producer) Python over ctypes
`tests/smoke.py`, `tests/convert.py` numpy checks of cblas_sgemm and cblas_sgemv; exhaustive format-conversion check against ml_dtypes Python
`tests/netlib/` `run.sh`: the unmodified netlib BLAS/CBLAS SGEMV/SGEMM test drivers (sblat2, sblat3, c_sblat2, c_sblat3) against a build, on the host or the GB10 path; `fetch.sh`: the pinned LAPACK source shell
`tests/gb10/` `batched.c` + `run.sh`: strided, pointer-array and single products, route predictions and untouched padding, on either device; `hooks.c`: test-only HMMA-model backend and CUDApp mutants C test drivers (migration-pending, docs/EXTENSIONS.md)
`receipts/` dated run receipts with their logs
On the host path every floating-point operation runs in Omega; the C layer moves no numbers except the bias copy into the workspace and the batch pointer arithmetic. On the GB10 path the f32 products run in CUDApp (see below), not in Omega.
## Routines
- `cblas_sgemm`, `sgemm_`, `cblas_sgemv`, `sgemv_` (standard CBLAS / F77 ABI, LP64).
- `omb_gemm_ex`: A and B in f32, f16, bf16, OCP FP8 e4m3 or e5m2; C in f32, f16 or bf16; f32 accumulation; fused `C = act(alpha op(A) op(B) + beta C + bias)` with bias per row or column and act none, relu or gelu-tanh.
- `omb_hgemm`, `omb_bfgemm`, `omb_gemm_batched`, `omb_gemm_strided_batched`, `omb_widen`, `omb_narrow`.
Numerics: no FMA (one rounding per operation); see docs/TOLERANCE.md for the bound the tests enforce.
## Build
```
make BRIDGE=/path/to/omega-bridge OMC=/path/to/seeded/omc OMC2=/path/to/om2/omc
python3 tests/smoke.py
```
CI: `.github/workflows/gates.yml` runs these two steps on a GitHub arm64 runner, with both compilers born from the seed there. The GB10 path and the netlib drivers are not run in CI.
Limits: each dimension below 1,000,000 (the seeded compiler's loop bound); calls are serialised by one lock (the bound Omega runtime has one stack).
## GB10 device path
Status: EXERCISED on the GB10 chip (netlib SGEMV/SGEMM, 2026-10-27, receipts/netlib-gb10-`20261027`.md ; rerun 2026-10-31 against CUDApp#214, receipts/netlib-gb10-`20261031`.md ). Not QUALIFIED. It depends on CUDApp `omega_gpu_gemm_ex` (aien-dev/CUDApp#214, merged; EXPERIMENTAL, pinned in PINS at the CUDApp main merge commit). Large-shape throughput is NOT_RUN (small-shape latency: receipts/netlib-gb10-`20261027`.md). The reference to beat is cuBLAS on spark-b87b's GB10, 2026-11-14: receipts/cublas-gb10-`20261114`.md .
```
make GB10=1 CUDAPP=/path/to/CUDApp BRIDGE=... OMC=... OMC2=... # builds into build-gb10/
OMEGABLAS_DEVICE=gb10 ./your_program # unset or host: the Omega host path
```
- Scope: f32 A, B and C with no bias and no activation, through `sgemm_`, `cblas_sgemm`, `sgemv_`, `cblas_sgemv`, `omb_gemm_ex`, `omb_gemm_batched` and `omb_gemm_strided_batched`. A strided batch with disjoint C is one `omega_gpu_gemm_ex` call. Every other call stays on the host path and is counted as such. `omb_set_device` / `omb_get_device` switch at run time.
- Numerics: CUDApp's bf16x3 route on the tensor cores, not bit-exact fp32. The derived netlib ratio bound is 11.2 for the decks' k <= 9 (docs/TOLERANCE.md ).
- No silent fallback: a device error aborts the process with the gemm_ex code. So does `OMEGABLAS_DEVICE=gb10` on a library built without `GB10=1`, and any value other than `host` or `gb10`.
- `omb_get_route_counts` and `OMEGABLAS_ROUTE_REPORT=1` (one stderr line at unload) report host products, gemm_ex calls, tensor-core calls, and outputs CUDApp recomputed on the host, plus the CUDApp revision linked in.
- Tests: `OMB_BUILD=build-gb10 OMEGABLAS_DEVICE=gb10 LAPACK=... sh tests/netlib/run.sh` and `OMEGABLAS_DEVICE=gb10 sh tests/gb10/run.sh`. With `GB10_HOOKS=/path/to/CUDApp OMB_TEST_BACKEND=model`, both run the device glue on CUDApp's chip-exact HMMA model without a GPU.
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:73f7970c1eeb1a1d6a78007baa1aa9ce5d1817627250511802bc40f684332a19`. Its old id, kept only so that old links still work: `z47VdC9EFsF4dFyH1QJ1C2JNJK4JS`.
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: 6 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 `20180faae23c7284e071e93ed96ef0a6490da8f5` Branches Tags History
`20180fa` receipts: cuBLAS GB10 reference: third review fixes Drake Stapleton committed 2026-11-16
```
.github/
docs/
include/
om/
python/
receipts/
src/
tests/
.crumb 1629
.gitignore 38
.goals.json 1056
LICENSE 12278
Makefile 1958
PINS 888
README.md 5984
```
Every record: History (commits) · Branches · Tags · Releases, with the SHA-256 of each download · Patches · Issues · This project as JSON