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 / evidence / q36-batch-20261021 / chain-v3.sh
| 1 | #!/bin/bash |
| 2 | # L354: after 8144655d's swap control (18089) ends: gate 16b0e6f8 (v2 + a lone row on its own graph) in parallel |
| 3 | # (18089: 8 slots real + swap; 18088: 32 slots real), then the timing (v2, v1, rows in turn) in one spark-window. |
| 4 | cd "$(dirname "$0")"; log() { echo "$(date -u +%FT%TZ) $*" >> chain-v2.log; } |
| 5 | until grep -q done run-gate-18089.result 2>/dev/null; do sleep 30; done |
| 6 | mv run-gate-18089.result run-gate-8144655d-8.result; mv run-gate-18088.result run-gate-8144655d-32.result |
| 7 | for d in real8 swap40-8 real32; do [ -d $d ] && rm -rf $d-8144655d && cp -r $d $d-8144655d; done |
| 8 | log "8144655d gate: $(cat run-gate-8144655d-8.result run-gate-8144655d-32.result | tr '\n' ' ')" |
| 9 | S=16b0e6f8 |
| 10 | { PORT=18089 ./run-gate.sh $S 8; } & { PORT=18088 SWAP=0 ./run-gate.sh $S 32; } & wait |
| 11 | log "$S gate: $(cat run-gate-18089.result run-gate-18088.result | tr '\n' ' ')" |
| 12 | if grep -q 'real8 rc=0' run-gate-18089.result && grep -q 'swap40-8 rc=1' run-gate-18089.result && grep -q 'real32 rc=0' run-gate-18088.result; then |
| 13 | mv run-gate-18089.result run-gate-$S-8.result; mv run-gate-18088.result run-gate-$S-32.result |
| 14 | for d in real8 swap40-8 real32; do rm -rf $d-$S; cp -r $d $d-$S; done |
| 15 | ./time-run.sh $S; log "timing rc $?" |
| 16 | else log "$S gate not green: no timing"; fi |
| 17 | log done |