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 / ribbon / 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/ribbon |
| 6 | out=$root/target/om-ribbon |
| 7 | omc=${OMEGA_OMC:?set OMEGA_OMC to the pinned seed compiler} |
| 8 | # seed omc of omega.lock f9a9a40b (sh seed/omega-from-seed.sh); om/expert-bytes/omega.pin records the same digest |
| 9 | pin=be8c51301307555254fc59e351d281aae1aa096d91521777e33a41c8b446448a |
| 10 | got=$(sha256sum "$omc" | cut -d' ' -f1) |
| 11 | test "$got" = "$pin" || { echo "FAIL compiler identity"; exit 1; } |
| 12 | mkdir -p "$out" |
| 13 | cat "$src/pipeline.om" "$src/test_driver.om" > "$out/test.om" |
| 14 | "$omc" < "$out/test.om" > "$out/test" |
| 15 | chmod +x "$out/test" |
| 16 | python3 "$src/check.py" "$out/test" |
| 17 | python3 "$src/mutants.py" "$omc" "$out" |
| 18 | printf 'ALL PASS: ribbon controller and negative controls; host only, no serving-loop or GPU claim\n' |