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-requal-main-20261015/smoke.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-requal-main-20261015 / smoke.sh` 27 lines ยท 2039 bytes Raw Blame History 1 #!/bin/bash 2 # One smoke of the merged-main 30B server (~/handoffs/own30b-serve-cmdline-merged.txt) on :18091, then SIGTERM by PID once 3 # idle. Requests are the pre-merge RC smoke's (own30b-rc-20261014T0153Z/server-smoke). Run inside one quietlock hold. 4 set -u 5 EV=${EV:?}; RC=$HOME/workspace/sc-requal-main/docs/inference/evidence/own30b-rc-20261014T0153Z/server-smoke 6 mkdir -p "$EV"; cd $HOME/handoffs/main-bin-`9557e0c1` || exit 2 7 CMD="./aien-serve-http --engine omega --model-dir $HOME/models/qwen3-30b-a3b-instruct-2507-fp8 --port 18091" 8 { echo "start $(date -u +%FT%TZ) cwd $(pwd)"; echo "cmd $HOME/handoffs/main-bin-`9557e0c1`/aien-serve-http --engine omega --model-dir $HOME/models/qwen3-30b-a3b-instruct-2507-fp8 --port 18091"; echo "binary sha256 $(sha256sum aien-serve-http | cut -d' ' -f1)"; free -g | head -2; } > "$EV/smoke.start" 9 setsid $CMD > "$EV/server.log" 2>&1 < /dev/null & 10 PID=$!; echo "pid $PID" >> "$EV/smoke.start" 11 t0=$(date +%s); ready=0 12 while kill -0 $PID 2>/dev/null; do 13 if curl -sf -m 5 http://127.0.0.1:18091/v1/models > "$EV/models.json" 2>/dev/null; then ready=1; break; fi 14 sleep 2 15 done 16 echo "ready=$ready after $(( $(date +%s) - t0 )) s" >> "$EV/smoke.start" 17 if [ $ready = 1 ]; then 18 for n in 1 3; do 19 s=$(date +%s.%N); curl -s -m 300 http://127.0.0.1:18091/v1/chat/completions -H 'content-type: application/json' --data-binary @$RC/req$n.json > "$EV/resp$n.json"; e=$(date +%s.%N) 20 echo "wall $(echo "$e - $s" | bc) s" > "$EV/resp$n.time" 21 done 22 s=$(date +%s.%N); curl -sN -m 300 http://127.0.0.1:18091/v1/chat/completions -H 'content-type: application/json' --data-binary @$RC/req2.sent.json > "$EV/resp2.sse"; e=$(date +%s.%N) 23 echo "wall $(echo "$e - $s" | bc) s" > "$EV/resp2.time" 24 cp $RC/req1.json $RC/req2.sent.json $RC/req3.json "$EV/" 25 fi 26 kill -TERM $PID 2>/dev/null; wait $PID; rc=$? 27 { echo "server stopped (SIGTERM after the last response) exit $rc at $(date -u +%FT%TZ)"; ss -ltn | grep -c ':18091 ' | sed 's/^/listeners on 18091 after stop: /'; free -g | head -2; } > "$EV/smoke.end"