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/docs/inference/evidence/own30b-omega4799-20261015/own30b-gates.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 / docs / inference / evidence / own30b-omega4799-20261015 / own30b-gates.sh` 42 lines ยท 3016 bytes Raw Blame History 1 #!/bin/bash 2 # OWN-30B gates on the omega `4799f9eb` pin bump (sc branch build/omega-pin-`4799f9eb`), same commands as #524 3 # (docs/inference/evidence/own30b-rc-20261014T0153Z and own30b-L2-`20261013`). One quietlock hold (<=20 min) per run, 4 # --force-memory (added vs #524): the MAX 8B experiment holds ~36 GB, so MemAvailable is ~68 GB, under the tools' 70 GB guard 5 # (which exists to refuse a second 30B model); no other 30B process runs. Attempt 1 without it: attempt1-refused-70gb/. 6 # each under /tmp/aien-gb10.lock. Nothing is killed or timed out. 7 set -u 8 SC=$HOME/workspace/sc-pinbump 9 B=$HOME/handoffs/pin-bin-`afe59ae1` 10 EV=${EV:?evidence dir} 11 CK=$HOME/models/qwen3-30b-a3b-instruct-2507-fp8 12 G=$SC/docs/inference/evidence/own30b-f-20261013T1745Z/golden.json 13 ARCH=`0629ad9cec0addd4ccc461f0523c2c3964964f0bafc0b98b678e5080b0373ae5` 14 mkdir -p "$EV" 15 run() { # run NAME BIN ENV-ASSIGNMENTS... -- ARGS... 16 local name=$1 bin=$2; shift 2 17 local envs=(); while [ "$1" != "--" ]; do envs+=("$1"); shift; done; shift 18 { 19 echo "queued $(date -u +%FT%TZ) sc $(git -C $SC rev-parse HEAD) (main `bbca84b1` + omega.lock `4799f9eb` + lock lines) omega $(cat $SC/omega.lock) archive-sha256 $ARCH" 20 echo "binary $B/$bin sha256 $(sha256sum $B/$bin | cut -d' ' -f1)" 21 echo "env ${envs[*]}" 22 echo "cmd quietlock hold --owner PINBUMP --minutes 20 -- flock /tmp/aien-gb10.lock env ${envs[*]} $B/$bin $*" 23 uptime; free -g | head -2 24 } > "$EV/$name.start" 25 quietlock hold --owner PINBUMP --minutes 20 --reason "OWN-30B pin bump $name" -- \ 26 flock /tmp/aien-gb10.lock sh -c 'echo "lock acquired $(date -u +%FT%TZ)" >> "$0.start"; shift; exec "$@"' "$EV/$name" x env "${envs[@]}" "$B/$bin" "$@" \ 27 > "$EV/$name.raw" 2> "$EV/$name.err" 28 local rc=$? 29 echo "$rc" > "$EV/$name.rc" 30 { echo "ended $(date -u +%FT%TZ)"; free -g | head -2; } > "$EV/$name.end" 31 echo "$name rc=$rc" 32 } 33 TOK="--prompts 1,2,3,4 --new 16 --layers 0,23,47 --weights fp8 --attn fused --router device --lm-head gemv --prefill auto --force-memory" 34 run check-full own30b_check AIEN_OMEGA_SPIN_US=2000 -- chip $CK $G $EV/check-full $TOK 35 run check-wp own30b_check AIEN_OMEGA_SPIN_US=2000 -- chip $CK $G $EV/check-wp $TOK --tokens-only --whole-prompt --prefill-device-host 36 run ttft own30b_ttft AIEN_OMEGA_SPIN_US=2000 -- $CK $EV/ttft --lens 512,2048 --new-tokens 32 --reps 2 --devhost --force-memory 37 run gate own30b_wp_gate AIEN_OMEGA_SPIN_US=2000 -- $CK $EV/gate --lens 512,2048 --ops-layer 0 --mutants --devhost --force-memory 38 run gate-short own30b_wp_gate AIEN_OMEGA_SPIN_US=2000 -- $CK $EV/gate-short --lens 1,2,20 --ops-layer 0 --mutants --devhost --force-memory 39 run graph-off own30b_check AIEN_OMEGA_SPIN_US=2000 AIEN_OMEGA_CTA_BUDGET=64 -- chip $CK $G $EV/graph-off $TOK 40 run graph-on own30b_check AIEN_OMEGA_SPIN_US=2000 AIEN_OMEGA_CTA_BUDGET=64 OWN30B_DECODE_GRAPH=1 -- chip $CK $G $EV/graph-on $TOK 41 ( cd "$EV" && find . -type f ! -name SHA256SUMS -print0 | sort -z | xargs -0 sha256sum > SHA256SUMS ) 42 echo "all done $(date -u +%FT%TZ)"