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-128k-20261018/swap.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-128k-20261018 / swap.sh` 6 lines ยท 651 bytes Raw Blame History 1 #!/bin/bash 2 # swap.sh DIR EXTRA_ARGS... : stop the running server, start DIR/aien-serve-http with graph on, wait for the port 3 L=$HOME/.local/state/aien-own30b; D=$1; shift 4 P=$(cat $L/serve.pid); kill -TERM $P; while kill -0 $P 2>/dev/null; do sleep 1; done 5 cd $D && OWN30B_DECODE_GRAPH=1 setsid nohup bash -c "echo \$\$ > $L/serve.pid; exec ./aien-serve-http --engine omega --model-dir $HOME/models/qwen3-30b-a3b-instruct-2507-fp8 --port 18091 $*" > $L/serve-swap.log 2>&1 < /dev/null & 6 sleep 2; P=$(cat $L/serve.pid); until ss -ltn | grep -q ':18091 ' || ! kill -0 $P 2>/dev/null; do sleep 2; done; grep -E 'ready in' $L/serve-swap.log | cut -c1-120