aien-sovereign-core-mv
AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.
Brought by drakestapleton
aien-sovereign-core-mv / om / q38-head / run.sh
| 1 | #!/usr/bin/env bash |
| 2 | # SPDX-License-Identifier: Apache-2.0 |
| 3 | set -euo pipefail |
| 4 | root=$(cd "$(dirname "$0")/../.." && pwd) |
| 5 | src=$root/om/q38-head |
| 6 | out=${Q38_HEAD_OUT:-$root/target/q38-head} |
| 7 | : "${OMEGA_NATIVE_OMC:?set the pinned native compiler}" |
| 8 | : "${OMEGA_BRIDGE:?set the pinned bridge source directory}" |
| 9 | test "$(sha256sum < "$OMEGA_NATIVE_OMC" | cut -c1-64)" = 734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61 |
| 10 | test "$(sha256sum < "$OMEGA_BRIDGE/src/native.om" | cut -c1-64)" = 45935a64f46408ba2c964748603b5e5c696a6bda584e4f16a0a0d68b1e71ea06 |
| 11 | test "$(sha256sum < "$OMEGA_BRIDGE/tools/native" | cut -c1-64)" = 1d62607e131dfa603a97aec5dbc1a9d82d76fb71df8f6015d706e59071c2ae7b |
| 12 | mkdir -p "$out" |
| 13 | sh "$OMEGA_BRIDGE/tools/native" "$out/native" "$src/select.om" > "$out/build.log" 2>&1 |
| 14 | python3 "$src/check.py" "$out/native/libomega_native.so" > "$out/check.json" |
| 15 | python3 "$src/mutants.py" "$out/mutants" > "$out/mutants.json" |
| 16 | echo 'PASS native Omega exact-head selector and behavioral mutants; host only' |