interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / evidence / FB1-CUT6A / run.sh

20 lines · 2116 bytes Raw Blame History
1#!/bin/bash
2# FB-1 cut 6 part A gate: CUDA backend deleted, Omega is the default GPU path.
3# Host checks, chip parity, strict TinyLlama gate (no AIEN_GPU_BACKEND switch), strict receipt gate. Not killed by us.
4set -u
5cd ~/workspace/hive-worktrees/sc-fb1-cut6
6OUT=$HOME/workspace/evidence-out/FB1-CUT6A
7git rev-parse HEAD > $OUT/sha.txt; git status --porcelain | wc -l >> $OUT/sha.txt
8unset AIEN_GPU_BACKEND
9( cargo fmt --all -- --check && AIEN_FORCE_CPU_STUB=1 cargo clippy -p aien-inference-abi -p aien-omega-gpu -p aien-inference-runtime --tests -- -D warnings \
10 && AIEN_FORCE_CPU_STUB=1 AIEN_DEV_FALLBACK=1 cargo test -p aien-omega-gpu -p aien-inference-abi -p aien-inference-runtime ) > $OUT/host.log 2>&1; echo "host exit $?" >> $OUT/host.log
11export AIEN_OMEGA_DIR=$HOME/workspace/hive-worktrees/omega-pin-3d4648c AIEN_PHYSICS_DIR=$HOME/workspace/hive-worktrees/qual-physics-6d7cf0d
12cargo test -p aien-inference-abi --release --test omega_backend_parity -- --ignored --nocapture --test-threads=1 > $OUT/parity.log 2>&1; echo "parity exit $?" >> $OUT/parity.log
13AIEN_E2E_CHECKPOINT=$HOME/models/TinyLlama-1.1B-Chat-v1.0 AIEN_STRICT_RECEIPT=$OUT/strict-receipt-cmp.json \
14cargo test -p aien-inference-runtime --release --test strict_real_model omega_vs_reference_real_model -- --ignored --nocapture --test-threads=1 > $OUT/gate.log 2>&1; echo "gate exit $?" >> $OUT/gate.log
15AIEN_E2E_CHECKPOINT=$HOME/models/TinyLlama-1.1B-Chat-v1.0 AIEN_STRICT_RECEIPT=$OUT/strict-receipt.json \
16cargo test -p aien-inference-runtime --release --test strict_real_model strict_real_model_gate -- --ignored --nocapture --test-threads=1 > $OUT/default.log 2>&1; echo "default exit $?" >> $OUT/default.log
17tail -1 $OUT/host.log; tail -1 $OUT/parity.log; tail -1 $OUT/gate.log; tail -1 $OUT/default.log
18# Zero-CUDA gate on the production binary (Omega linked), with its negative control
19( bash scripts/zero-cuda-gate.sh --self-test && cargo build -q --release -p aien-cli && bash scripts/zero-cuda-gate.sh target/release/aien-cli ) > $OUT/zero-cuda.log 2>&1; echo "zero-cuda exit $?" >> $OUT/zero-cuda.log
20tail -1 $OUT/zero-cuda.log