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 / docs / inference / evidence / own30b-omega4799-20261015 / baseline-ab.sh
| 1 | #!/bin/bash |
| 2 | # Baseline vs pin bump under the SAME machine state (MAX 8B experiment live on the GPU): the #524 binary |
| 3 | # (omega 62833658, ~/handoffs/main-bin-9557e0c1) and this branch's binary (omega 4799f9eb), alternated |
| 4 | # old, new, old, new with the gates' check-full command. One variable: the binary (omega pin). |
| 5 | set -u |
| 6 | EV=${EV:?}; mkdir -p "$EV" |
| 7 | CK=$HOME/models/qwen3-30b-a3b-instruct-2507-fp8 |
| 8 | G=$HOME/workspace/sc-pinbump/docs/inference/evidence/own30b-f-20261013T1745Z/golden.json |
| 9 | 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" |
| 10 | OLD=$HOME/handoffs/main-bin-9557e0c1; NEW=$HOME/handoffs/pin-bin-afe59ae1 |
| 11 | run() { local name=$1 B=$2 |
| 12 | { echo "queued $(date -u +%FT%TZ) binary $B/own30b_check sha256 $(sha256sum $B/own30b_check | cut -d' ' -f1)" |
| 13 | echo "max-procs $(pgrep -fc max-env/bin/python)"; nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader; free -g | head -2; } > "$EV/$name.start" |
| 14 | quietlock hold --owner PINBUMP --minutes 20 --reason "pin bump baseline A/B $name" -- \ |
| 15 | flock /tmp/aien-gb10.lock env AIEN_OMEGA_SPIN_US=2000 $B/own30b_check chip $CK $G $EV/$name $TOK > "$EV/$name.raw" 2> "$EV/$name.err" |
| 16 | local rc=$?; echo $rc > "$EV/$name.rc"; { echo "ended $(date -u +%FT%TZ)"; nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader; } > "$EV/$name.end" |
| 17 | echo "$name rc=$rc $(grep -o '^TOKENS p1[^=]*= [0-9.]* ms/token = [0-9.]* tok/s' $EV/$name.raw)" |
| 18 | } |
| 19 | run old-1 $OLD; run new-1 $NEW; run old-2 $OLD; run new-2 $NEW |
| 20 | echo "ab done $(date -u +%FT%TZ)" |