interplane.Get Omega
Read in your language

ggml-omega

aien-dev/ggml-omega

Brought by drakestapleton

Run Omega model kernels on Apple Silicon Macs

merged 26cee5147443d2e0 #4 · opened 2026-11-06 19:57 UTC · closed 2026-11-06 21:06 UTC · merged 2026-11-06 21:06 UTC

Imported from GitHub aien-dev/ggml-omega#4, by drakestapleton

Base 0ab63fe86cd0117173e2d08196849273786b66c3 · Head 2ee56f227681e142d39cd8d0d82d0214a85af673

Merged on GitHub as a30322c90191507c46c1b74783d722d617d4514c; reachable from main a30322c90191507c46c1b74783d722d617d4514c (observed 2026-11-18T16:39:58Z)

drakestapleton wrote on 2026-11-06 19:57 UTC

MacBooks could not consume the existing Linux-only ggml-omega build directly. Split preparation from host compilation, use the current pinned native bridge's Mach-O bindings, and link a macOS dylib against the matching upstream b11913 runtime. Kernel arithmetic still uses the original pinned Omega compiler. Prepared-file integrity, pins and backend source are checked before compilation. CI receives the separate pinned binding compiler.

Verified on an M2 MacBook Air: arithmetic kernel suite PASS, private export check PASS, changed prepared source refused, eight greedy tokens matched the CPU reference, and the bin-add mutant changed all eight. Explicit Omega-device server execution also failed under the mutant, confirming execution. Linux ARM64 backend operator regressions all passed and caught the mutant; comparator and model-driver controls passed. Results are in evidence/macos-arm64-20261106.

Limits: logits are not numerically identical; this is a bounded model observation. Automatic device selection can bypass Omega. The checked interactive configuration explicitly selects Omega with zero GPU layers and flash attention off. Existing host glue and CPU fallback remain. No Apple GPU backend, general model-quality qualification, merge or release is claimed. The local model installation is already exercised; hosted CI and review remain pending.

Tracking: operator ledger L897. The separate Omega LLM experiment does not yet meet the general small-model replacement goal.


  • Exact Head: 2ee56f227681e142d39cd8d0d82d0214a85af673
  • Evidence Location: evidence/macos-arm64-20261106
  • Tier Labels: EXERCISED on local MacBook Air (M2) / host. Local MacBook/host evidence is not GB10 or SI qualification.
  • DRA-147 Deployment Restriction: No deployment without Drake.
  • Linear: P-DRA-12 / DRA-168

Apply it

git checkout -b patch-26cee5147443d2e0 0ab63fe86cd0117173e2d08196849273786b66c3
curl -fsSL https://interplane.io/drakestapleton/ggml-omega/patches/26cee5147443d2e0.patch | git am

Raw patch (mbox) · 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/ggml-omega
4
2ee56f227681e142d39cd8d0d82d0214a85af673
{"kind":"github-import","owner":"aien-dev","repo":"ggml-omega","number":4,"url":"https://github.com/aien-dev/ggml-omega/pull/4","export_sha256":"a0d6cf6b4e50ba718699dd0ac204946751ea482294e1ee843d60b6c971f49465","imported_utc":"2026-11-18T16:39:58Z"}

Changes

diff --git a/.crumb b/.crumb
index c09c6df..68be0fd 100644
--- a/.crumb
+++ b/.crumb
@@ -3,14 +3,14 @@
     "generated": {
       "children": [],
       "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "compiled_at": "2026-10-31T11:53:20Z",
+      "compiled_at": "2026-11-06T15:39:14Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:de403cc36f08032fb200bc5263e5335d60bd7a76696ea565cb643e6f93121dee",
+      "digest": "sha256:274b0e16bd9a7832944a38587d2a0cf216df88186a94b43cf38363c932ea65d2",
       "evidence_files": 5,
       "evidence_root": "sha256:1417e4f28201c58ffaa0241a4987554a6ac20fd08fb50ac0e5e8cec0eff54099",
       "files": 48,
-      "generated_at_commit": "c1a1d35b7e9999118211d6ea27f173374dad59d8",
-      "source_tree": "sha256:c88f8aa0643c33b13097ff92b3ca71233081c70ed7fd93a006112b5c5fbc871f"
+      "generated_at_commit": "0ab63fe86cd0117173e2d08196849273786b66c3",
+      "source_tree": "sha256:12c55d2512a27d2873bb0273e897f14323821d6532046d0c76e1fd319c280733"
     }
   },
   "invariants": [
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9f69215..1c8eafb 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -10,7 +10,7 @@ defaults:
     shell: bash   # bash -eo pipefail: a failing test before `| tee` fails the step
 env:
   OMEGA_MV_REF: e5b32567a7aff3ce594e3254a622a846a6cd190b      # omc sha256 2c824805… (pinned in build.sh)
-  OMEGA_BRIDGE_REF: d06ec808de7da583acbadf0cb4bb3ba48797e729  # src/native.om sha256 901684b2… (pinned in build.sh)
+  OMEGA_BRIDGE_REF: d8174eddf953ad53e16f19eb5841459df99e24bb  # src/native.om sha256 e2077722… (pinned in build.sh)
   LLAMA_REF: 7aca0d2ea8d92b56911233b822db01f9fbb1ae50         # pinned in build.sh
   MODEL_URL: https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct-GGUF/resolve/9217f5db79a29953eb74d5343926648285ec7e67/qwen2.5-0.5b-instruct-q8_0.gguf
   MODEL_SHA256: ca59ca7f13d0e15a8cfa77bd17e65d24f6844b554a7b6c12e07a5f89ff76844e
@@ -25,6 +25,7 @@ jobs:
           set -eu
           mkdir -p deps && cd deps
           curl -fsSL -o omc "https://raw.githubusercontent.com/aien-dev/omega-mv/$OMEGA_MV_REF/seed/out/omc" && chmod +x omc
+          curl -fsSL -o omc-bind "https://raw.githubusercontent.com/aien-dev/omega-mv/49d7961628ffbed5a8b013c7541995a24e64820f/evidence/SEED-0/omc/omc.elf" && chmod +x omc-bind
           for r in omega-bridge:$OMEGA_BRIDGE_REF llama.cpp:$LLAMA_REF; do
             n=${r%%:*}; s=${r#*:}; u=https://github.com/aien-dev/omega-bridge; [ "$n" = llama.cpp ] && u=https://github.com/ggml-org/llama.cpp
             git init -q "$n" && git -C "$n" fetch -q --depth 1 "$u" "$s" && git -C "$n" checkout -q FETCH_HEAD
@@ -36,7 +37,7 @@ jobs:
           cmake --build deps/llama.cpp/build -j"$(nproc)" --target test-backend-ops llama > /dev/null
       - name: build libggml-omega.so and its two mutants (bin-add, math-exp)
         run: |
-          export OMEGA_GGML_OMC=$PWD/deps/omc OMEGA_BRIDGE=$PWD/deps/omega-bridge GGML_SRC=$PWD/deps/llama.cpp GGML_LIB=$PWD/deps/llama.cpp/build/bin
+          export OMEGA_GGML_OMC=$PWD/deps/omc OMEGA_GGML_BIND_OMC=$PWD/deps/omc-bind OMEGA_BRIDGE=$PWD/deps/omega-bridge GGML_SRC=$PWD/deps/llama.cpp GGML_LIB=$PWD/deps/llama.cpp/build/bin
           ./build.sh
           OMEGA_GGML_OUT=$PWD/build-mut OMEGA_GGML_MUTANT=bin-add ./build.sh
           OMEGA_GGML_OUT=$PWD/build-exp OMEGA_GGML_MUTANT=math-exp ./build.sh
diff --git a/README.md b/README.md
index 4895f77..c365584 100644
--- a/README.md
+++ b/README.md
@@ -56,7 +56,7 @@ preserved; reruns need a fresh output directory.
 ## Build and test
 
 ```sh
-OMEGA_GGML_OMC=<omega-mv seed/out/omc> OMEGA_BRIDGE=<omega-bridge checkout> \
+OMEGA_GGML_OMC=<omega-mv seed/out/omc> OMEGA_GGML_BIND_OMC=<baseline omc> OMEGA_BRIDGE=<omega-bridge checkout> \
 GGML_SRC=<llama.cpp checkout> GGML_LIB=<llama.cpp build/bin> ./build.sh
 tests/backend-ops.sh <build/bin/test-backend-ops> build/libggml-omega.so [mutant .so]
 cc -std=gnu11 -O2 -Wall -Wextra -Werror -o build/cmp tests/cmp.c -lm
@@ -76,7 +76,7 @@ boundary. A full-server startup exposed this collision after the bounded model
 tests passed; those earlier tests did not load `libmtmd`.
 
 Pins (checked by `build.sh`, refuses on mismatch): omc sha256 `2c824805…` (aien-dev/omega-mv `e5b32567`),
-omega-bridge `src/native.om` sha256 `901684b2…` (omega-bridge `d06ec808`), llama.cpp `7aca0d2e`.
+omega-bridge `src/native.om` sha256 `e2077722…` (omega-bridge `d8174edd`), binding compiler sha256 `734f0a39…`, llama.cpp `7aca0d2e`.
 `.github/workflows/ci.yml` runs the whole chain on `ubuntu-24.04-arm`: kernels vs libm and `_Float16`,
 `test-backend-ops` per op against the CPU backend, an `add -> sub` mutant that must fail, and a Qwen2.5-0.5B
 q8_0 end-to-end greedy decode, CPU vs Omega (top-1 agreement, max abs logit difference, timing).
@@ -102,3 +102,31 @@ 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).
+
+## macOS ARM64 preparation and build
+
+The current native bridge emits both ELF and Mach-O compatible AArch64 bindings.
+The model kernels are still compiled by the original pinned Omega compiler.
+The separate pinned baseline compiler builds the newer binding generator.
+
+On Linux ARM64, set both compiler paths and `OMEGA_BRIDGE`, then run
+`OMEGA_GGML_STAGE=prepare OMEGA_GGML_OUT=/path/to/prepared ./build.sh`.
+Copy the complete prepared directory to the Mac. On the Mac, set `GGML_SRC` to
+the exact pinned llama.cpp checkout and `GGML_LIB` to its matching macOS release
+libraries, then run
+`OMEGA_GGML_STAGE=compile OMEGA_GGML_OUT=/path/to/prepared ./build.sh`.
+The compile phase verifies the recorded file hashes, compiler/source pins, and
+backend source identity. These are integrity checks on an operator-owned build
+artifact, not a signature or permission to accept an untrusted bundle.
+
+The matching upstream macOS ARM64 runtime release is llama.cpp `b11913`.
+Only the small backend is compiled on the Mac; no full llama.cpp build is needed.
+Run `tests/exports.sh prepared/libggml-omega.dylib` and the kernel/model checks
+before using it. Set `GGML_BACKEND_PATH` to the absolute dylib path.
+
+A model can mix supported Omega operations and ordinary CPU operations.
+Selecting `--device Omega -ngl 99` requests full eligible layer offload, but the
+scalar Omega matrix kernels are substantially slower than optimized CPU kernels.
+No Apple GPU acceleration is implemented by this backend. A loaded backend alone
+is not execution evidence: use an executed-kernel negative control and a model
+comparison. The existing `bin-add` mutant supplies that control.
diff --git a/build.sh b/build.sh
index 018c585..7ad9817 100755
--- a/build.sh
+++ b/build.sh
@@ -1,7 +1,9 @@
 #!/bin/sh
-# Build libggml-omega.so: a ggml backend (llama.cpp backend API v3) whose op kernels are seeded-Omega
+# Build libggml-omega.so (Linux) or .dylib (macOS): a ggml backend (llama.cpp backend API v3) whose op kernels are seeded-Omega
 # units (kernels/*.om) bound through the omega-bridge native call ABI (src/native.om, docs/NATIVE-ABI.md).
 #   OMEGA_GGML_OMC   the seeded compiler, sha256 pinned below (omega-mv seed/out/omc at e5b32567)
+#   OMEGA_GGML_BIND_OMC pinned baseline compiler for the native binding generator
+#   OMEGA_GGML_STAGE all (default), prepare on Linux ARM64, or compile on the target host
 #   OMEGA_BRIDGE     an aien-dev/omega-bridge checkout; its src/native.om must match the pinned sha256
 #   GGML_SRC         a llama.cpp checkout at the pinned commit (headers: ggml/include, ggml/src)
 #   GGML_LIB         the folder holding that checkout's libggml-base.so and libggml-cpu.so
@@ -19,20 +21,24 @@ PIN=2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f
 LLAMA_PIN=7aca0d2ea8d92b56911233b822db01f9fbb1ae50
 ROOT=$(cd "$(dirname "$0")" && pwd)
 K=$ROOT/kernels
-NATIVE_PIN=901684b2dc7cd148eb6bb2fe74dd43a6bce857ff014308b00ebaa9d18029158d
+NATIVE_PIN=e2077722aaeffb1121b70160e22357ea47f369e0039ab1ea06dc700f6f4e45d7
+BIND_PIN=734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61
+STAGE=${OMEGA_GGML_STAGE:-all}
+case "$STAGE" in all|prepare|compile) ;; *) echo "invalid OMEGA_GGML_STAGE" >&2; exit 2;; esac
+O=${OMEGA_GGML_OUT:-$ROOT/build}
+GB10=${OMEGA_GGML_GB10:-0}
+if [ "$STAGE" != compile ]; then
 BR=${OMEGA_BRIDGE:?set OMEGA_BRIDGE to an omega-bridge checkout (src/native.om sha256 $NATIVE_PIN)}
 OMC=${OMEGA_GGML_OMC:?set OMEGA_GGML_OMC to the seeded omc (sha256 $PIN)}
-SRC=${GGML_SRC:?set GGML_SRC to a llama.cpp checkout at $LLAMA_PIN}
-LIB=${GGML_LIB:?set GGML_LIB to the folder with libggml-base.so and libggml-cpu.so}
-O=${OMEGA_GGML_OUT:-$ROOT/build}
+BIND_OMC=${OMEGA_GGML_BIND_OMC:?set OMEGA_GGML_BIND_OMC to the baseline generator compiler}
+got=$(sha256sum < "$BIND_OMC" | cut -d' ' -f1)
+[ "$got" = "$BIND_PIN" ] || { echo "FAIL binding compiler pin" >&2; exit 1; }
 got=$(sha256sum < "$OMC" | cut -d' ' -f1)
 [ "$got" = "$PIN" ] || { echo "FAIL omc sha256 $got, pinned $PIN" >&2; exit 1; }
 got=$(sha256sum < "$BR/src/native.om" | cut -d' ' -f1)
 [ "$got" = "$NATIVE_PIN" ] || { echo "FAIL omega-bridge src/native.om sha256 $got, pinned $NATIVE_PIN" >&2; exit 1; }
-head=$(git -C "$SRC" rev-parse HEAD)
-[ "$head" = "$LLAMA_PIN" ] || { echo "FAIL llama.cpp at $head, pinned $LLAMA_PIN" >&2; exit 1; }
 rm -rf "$O"; mkdir -p "$O/units"
-"$OMC" < "$BR/src/native.om" > "$O/native"; chmod +x "$O/native"
+"$BIND_OMC" < "$BR/src/native.om" > "$O/native"; chmod +x "$O/native"
 # file:tile instances. T is the f32/f16 lane count; dq8 takes blocks (B), bytes (W) and floats (X).
 INST="bin:32 bin:1 sq:32 sq:1 rmsc:0 scl:32 scl:1 smw:32 smw:1 smwh:32 smwh:1 vmax:32 vmax:1
 sexp:32 sexp:1 rcp:0 rtsc:0 rope:0 df32:256 df32:32 df32:1 dh16:256 dh16:32 dh16:1 dq8:8 dq8:1
@@ -63,7 +69,20 @@ for it in $INST; do
   "$OMC" < "$O/units/$u.om" > "$O/units/$u.bin" || { echo "FAIL omc $u" >&2; exit 1; }
   { cat "$O/units/$u.om"; printf '\0'; printf '%08d' "$(wc -c < "$O/units/$u.bin")"; cat "$O/units/$u.bin"; } >> "$O/units.in"
 done
-"$O/native" < "$O/units.in" > "$O/omega_ggml_kernels.c"
+"$O/native" c float < "$O/units.in" > "$O/omega_ggml_kernels.c"
+cp "$ROOT/ggml-omega.c" "$O/backend-source.c"
+(cd "$O" && sha256sum omega_ggml_kernels.c units.in backend-source.c > prepared.sha256)
+printf '%s\n' "$PIN" "$BIND_PIN" "$NATIVE_PIN" "$LLAMA_PIN" > "$O/pins.txt"
+[ "$STAGE" != prepare ] || { echo "PREPARED $O"; exit 0; }
+fi
+SRC=${GGML_SRC:?set GGML_SRC to the pinned llama.cpp checkout}
+LIB=${GGML_LIB:?set GGML_LIB to its libraries}
+head=$(git -C "$SRC" rev-parse HEAD)
+[ "$head" = "$LLAMA_PIN" ] || { echo "FAIL llama.cpp pin" >&2; exit 1; }
+(cd "$O" && shasum -a 256 -c prepared.sha256)
+cmp "$ROOT/ggml-omega.c" "$O/backend-source.c"
+expected=$(printf '%s\n' "$PIN" "$BIND_PIN" "$NATIVE_PIN" "$LLAMA_PIN")
+[ "$(cat "$O/pins.txt")" = "$expected" ] || { echo "FAIL prepared pins" >&2; exit 1; }
 cc -std=gnu11 -O2 -Wall -Wextra -Werror -fPIC -c -o "$O/omega_ggml_kernels.o" "$O/omega_ggml_kernels.c"
 GBC= GBO= GBL=
 if [ "$GB10" = 1 ]; then
@@ -76,6 +95,10 @@ if [ "$GB10" = 1 ]; then
 fi
 cc -std=gnu11 -O2 -Wall -Wextra -Werror -fPIC -pthread $GBC -I"$SRC/ggml/include" -I"$SRC/ggml/src" -I"$O" -I"$ROOT" \
   -c -o "$O/ggml-omega.o" "$ROOT/ggml-omega.c"
-cc -shared -pthread -o "$O/libggml-omega.so" "$O/ggml-omega.o" $GBO "$O/omega_ggml_kernels.o" $GBL \
-  -L"$LIB" -lggml-base -lggml-cpu -Wl,-rpath,"$LIB" -Wl,--version-script="$ROOT/exports.map"
-echo "BUILT $O/libggml-omega.so ($(echo $INST | wc -w) Omega units, GB10 device $GB10, omc $(echo $PIN | cut -c1-12), llama.cpp $(echo $LLAMA_PIN | cut -c1-12))"
+case "$(uname -s)" in
+  Darwin) LINK_FLAGS="-dynamiclib -Wl,-exported_symbol,_ggml_backend_init"; EXT=dylib ;;
+  *) LINK_FLAGS="-shared -Wl,--version-script=$ROOT/exports.map"; EXT=so ;;
+esac
+cc $LINK_FLAGS -pthread -o "$O/libggml-omega.$EXT" "$O/ggml-omega.o" $GBO "$O/omega_ggml_kernels.o" $GBL \
+  -L"$LIB" -lggml-base -lggml-cpu -Wl,-rpath,"$LIB"
+echo "BUILT $O/libggml-omega.$EXT ($(find "$O/units" -name "*.bin" | wc -l) Omega units, GB10 device $GB10, omc $(echo $PIN | cut -c1-12), llama.cpp $(echo $LLAMA_PIN | cut -c1-12))"
diff --git a/evidence/macos-arm64-20261106/README.md b/evidence/macos-arm64-20261106/README.md
new file mode 100644
index 0000000..7c54b7d
--- /dev/null
+++ b/evidence/macos-arm64-20261106/README.md
@@ -0,0 +1,23 @@
+# Mac ARM64 observation, 2026-11-06
+
+The small backend compiled against upstream llama.cpp b11913 macOS libraries.
+`test-kernels` passed on the M2. Only `_ggml_backend_init` is exported.
+The fixed e2e prompt matched eight greedy tokens against the CPU reference;
+logits are not identical. The bin-add mutant changed every tested greedy token.
+The explicit-device web server also emitted incorrect text under that mutant.
+Automatic device selection did not exercise the mutant in the same server test;
+select `--device Omega -ngl 0 -fa off` for the checked mixed execution path.
+
+`linux-regression.tsv` is the full existing backend operator check with the new
+binding generator, run on Linux ARM64. All selected operation families passed;
+the bin-add mutant was caught. `build-controls.json` records refusal of a changed
+prepared source. These checks are bounded, not a broad model qualification.
+
+The native arithmetic uses the original pinned compiler. The newer bridge is
+only the calling-convention and object-format binding; no kernel arithmetic was
+translated to C. Existing C host glue and CPU fallbacks remain. Full eligible
+layer offload with `--device Omega -ngl 99` was measured at 0.37 generated tokens
+per second on one fixed prompt, and is not recommended for interactive use.
+
+Model, compiler and bridge identities are in `pins.json`. All numbers here are
+MEASURED observations; there is no cross-model speed claim.
diff --git a/evidence/macos-arm64-20261106/build-controls.json b/evidence/macos-arm64-20261106/build-controls.json
new file mode 100644
index 0000000..9f82c6c
--- /dev/null
+++ b/evidence/macos-arm64-20261106/build-controls.json
@@ -0,0 +1,3 @@
+{
+  "changed_prepared_code_refused": true
+}
diff --git a/evidence/macos-arm64-20261106/comparison.json b/evidence/macos-arm64-20261106/comparison.json
new file mode 100644
index 0000000..fa4ea19
--- /dev/null
+++ b/evidence/macos-arm64-20261106/comparison.json
@@ -0,0 +1 @@
+{"steps":8,"top1_agree":8,"first_divergence":-1,"max_abs_diff":0.571772199,"max_abs_diff_step":1}
diff --git a/evidence/macos-arm64-20261106/cpu.jsonl b/evidence/macos-arm64-20261106/cpu.jsonl
new file mode 100644
index 0000000..dd9101c
--- /dev/null
+++ b/evidence/macos-arm64-20261106/cpu.jsonl
@@ -0,0 +1,9 @@
+{"step":0,"token":2518}
+{"step":1,"token":11}
+{"step":2,"token":6176}
+{"step":3,"token":11}
+{"step":4,"token":323}
+{"step":5,"token":6303}
+{"step":6,"token":13}
+{"step":7,"token":1416}
+{"n_vocab":151936,"prompt_tokens":7,"prompt_s":0.104679,"gen_steps":7,"gen_s":0.075104,"threads":2}
diff --git a/evidence/macos-arm64-20261106/kernels.txt b/evidence/macos-arm64-20261106/kernels.txt
new file mode 100644
index 0000000..ff697bc
--- /dev/null
+++ b/evidence/macos-arm64-20261106/kernels.txt
@@ -0,0 +1,10 @@
+h2f all f16                  n=65536     bad=0      worst_ulp=0 limit=0 PASS
+f2h f32 stride 1021          n=4206629   bad=0      worst_ulp=0 limit=0 PASS
+exp vs libm (f32 ulp)        n=27226     bad=0      worst_ulp=0 limit=1 PASS
+pow vs libm (f32 ulp)        n=1280      bad=0      worst_ulp=0 limit=1 PASS
+rope vs libm sin/cos         n=37568     bad=0      worst_ulp=0 limit=0 PASS
+silu vs libm                 n=13139     bad=0      worst_ulp=0 limit=1 PASS
+rms scale exact              n=4999      bad=0      worst_ulp=0 limit=0 PASS
+q8_0 block dot exact         n=2000      bad=0      worst_ulp=0 limit=0 PASS
+bf16 hi/lo split exact       n=4190196   bad=0      worst_ulp=0 limit=0 PASS
+KERNELS PASS
diff --git a/evidence/macos-arm64-20261106/linux-regression.tsv b/evidence/macos-arm64-20261106/linux-regression.tsv
new file mode 100644
index 0000000..bc1109c
--- /dev/null
+++ b/evidence/macos-arm64-20261106/linux-regression.tsv
@@ -0,0 +1,18 @@
+op	pass	fail	not_supported	verdict
+ADD	30	0	137	PASS
+SUB	24	0	118	PASS
+MUL	24	0	119	PASS
+DIV	24	0	118	PASS
+SCALE	4	0	3	PASS
+RMS_NORM	61	0	0	PASS
+SOFT_MAX	67	0	147	PASS
+ROPE	53	0	417	PASS
+GET_ROWS	29	0	211	PASS
+SET_ROWS	42	0	685	PASS
+CPY	118	0	482	PASS
+CONT	24	0	54	PASS
+DUP	4	0	6	PASS
+SWIGLU	12	0	24	PASS
+SILU	4	0	8	PASS
+MUL_MAT	668	0	2197	PASS
+mutant-bin-add	-	30	-	CAUGHT
diff --git a/evidence/macos-arm64-20261106/mutant-comparison.json b/evidence/macos-arm64-20261106/mutant-comparison.json
new file mode 100644
index 0000000..a627920
--- /dev/null
+++ b/evidence/macos-arm64-20261106/mutant-comparison.json
@@ -0,0 +1 @@
+{"steps":8,"top1_agree":0,"first_divergence":0,"max_abs_diff":20.4303551,"max_abs_diff_step":0}
diff --git a/evidence/macos-arm64-20261106/mutant.jsonl b/evidence/macos-arm64-20261106/mutant.jsonl
new file mode 100644
index 0000000..ffbb694
--- /dev/null
+++ b/evidence/macos-arm64-20261106/mutant.jsonl
@@ -0,0 +1,9 @@
+{"step":0,"token":52643}
+{"step":1,"token":52643}
+{"step":2,"token":52643}
+{"step":3,"token":52643}
+{"step":4,"token":52643}
+{"step":5,"token":52643}
+{"step":6,"token":52643}
+{"step":7,"token":52643}
+{"n_vocab":151936,"prompt_tokens":7,"prompt_s":0.727887,"gen_steps":7,"gen_s":0.669097,"threads":2}
diff --git a/evidence/macos-arm64-20261106/omega.jsonl b/evidence/macos-arm64-20261106/omega.jsonl
new file mode 100644
index 0000000..6526953
--- /dev/null
+++ b/evidence/macos-arm64-20261106/omega.jsonl
@@ -0,0 +1,9 @@
+{"step":0,"token":2518}
+{"step":1,"token":11}
+{"step":2,"token":6176}
+{"step":3,"token":11}
+{"step":4,"token":323}
+{"step":5,"token":6303}
+{"step":6,"token":13}
+{"step":7,"token":1416}
+{"n_vocab":151936,"prompt_tokens":7,"prompt_s":0.489484,"gen_steps":7,"gen_s":0.503525,"threads":2}
diff --git a/evidence/macos-arm64-20261106/pins.json b/evidence/macos-arm64-20261106/pins.json
new file mode 100644
index 0000000..f8bd3d6
--- /dev/null
+++ b/evidence/macos-arm64-20261106/pins.json
@@ -0,0 +1,9 @@
+{
+  "platform": "macOS ARM64, Apple M2, 8 GB unified memory",
+  "kernel_compiler": "2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f",
+  "binding_compiler": "734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61",
+  "bridge_commit": "d8174eddf953ad53e16f19eb5841459df99e24bb",
+  "llama_commit": "7aca0d2ea8d92b56911233b822db01f9fbb1ae50",
+  "model_sha256": "ca59ca7f13d0e15a8cfa77bd17e65d24f6844b554a7b6c12e07a5f89ff76844e",
+  "comparison_scope": "One fixed prompt, eight greedy steps. Not broad model qualification."
+}
diff --git a/evidence/macos-arm64-20261106/server-mutant.json b/evidence/macos-arm64-20261106/server-mutant.json
new file mode 100644
index 0000000..e40b8e5
--- /dev/null
+++ b/evidence/macos-arm64-20261106/server-mutant.json
@@ -0,0 +1,19 @@
+{
+  "prompt": "The three primary colors of light are",
+  "text": "ascusascusascusascusascusascusascusascus",
+  "timings": {
+    "cache_n": 0,
+    "prompt_n": 7,
+    "prompt_ms": 367.247,
+    "prompt_per_token_ms": 52.463857142857144,
+    "prompt_per_second": 19.06074113607463,
+    "predicted_n": 8,
+    "predicted_ms": 443.251,
+    "predicted_per_token_ms": 63.321571428571424,
+    "predicted_per_second": 15.792406559714475
+  },
+  "device": "Omega",
+  "gpu_layers": 0,
+  "flash_attention": "off",
+  "negative_control": "bin-add"
+}
diff --git a/tests/exports.sh b/tests/exports.sh
index 306170c..27682b0 100644
--- a/tests/exports.sh
+++ b/tests/exports.sh
@@ -2,7 +2,10 @@
 # Only the ggml loader entry point is public. Private helpers must not bind to
 # same-named functions in the host process (e.g. libmtmd's incompatible SHA ABI).
 set -eu
-symbols=$(nm -D --defined-only "$1" | awk '{print $NF}')
+case "$(uname -s)" in
+  Darwin) symbols=$(nm -gU "$1" | awk '{sub(/^_/, "", $NF); print $NF}') ;;
+  *) symbols=$(nm -D --defined-only "$1" | awk '{print $NF}') ;;
+esac
 test "$symbols" = ggml_backend_init || {
     echo 'FAIL unexpected exported backend symbols' >&2
     printf '%s\n' "$symbols" >&2