Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/blob/main/evidence/q36-batch-20261021/run-gate.sh # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core-mv / evidence / q36-batch-20261021 / run-gate.sh` 24 lines ยท 1789 bytes Raw Blame History 1 #!/bin/bash 2 # L354 chip gate runner (detached). Each test server loads under q36-extra (serve-batch.sh: one extra 35B at a 3 # time beside 18091, it waits in line), then: real batch door on 18089 -> gate-batch.sh real (must PASS); row-swap mutant 4 # (AIEN_Q36_TEST_ROW_SWAP=40) -> gate-batch.sh swap40 (must FAIL). Log run-gate.log, result run-gate-$PORT.result. 5 set -u 6 D=$(cd "$(dirname "$0")" && pwd); cd "$D"; S=$HOME/.local/state/aien-q36; SHA=${1:-`8b5e95bb`}; SLOTS=${2:-32}; export PORT=${PORT:-18089} 7 log() { echo "$(date -u +%FT%TZ) $*" >> run-gate.log; } 8 up() { for i in $(seq 1 1000); do curl -s -m 5 http://127.0.0.1:$PORT/v1/models | grep -q '"id"' && return 0; kill -0 $(cat $S/batch-$PORT.pid) 2>/dev/null || return 1; sleep 5; done; return 1; } 9 down() { local p=$(cat $S/batch-$PORT.pid); ps -o args= -p $p | grep -q "port $PORT" && kill $p; for i in $(seq 1 30); do ps -p $p >/dev/null || break; sleep 2; done; log "stopped $p"; } 10 run() { #