interplane.Get Omega
Read in your language

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

branch main Branches Tags History

aien-sovereign-core-mv / docs / inference / evidence / own30b-requal-main-20261015 / own30b-gates.sh

40 lines · 2674 bytes Raw Blame History
1#!/bin/bash
2# OWN-30B gates on the merged-main native build, same commands as the pre-merge RC evidence
3# (docs/inference/evidence/own30b-rc-20261014T0153Z and own30b-L2-20261013). One quietlock hold (<=20 min) per run,
4# each under /tmp/aien-gb10.lock. Nothing is killed or timed out.
5set -u
6SC=$HOME/workspace/sc-requal-main
7B=$HOME/handoffs/main-bin-9557e0c1
8EV=${EV:?evidence dir}
9CK=$HOME/models/qwen3-30b-a3b-instruct-2507-fp8
10G=$SC/docs/inference/evidence/own30b-f-20261013T1745Z/golden.json
11ARCH=6a6cb4df479ddbcc5cd4ef0fda1aea968832b2b70be2ff3312051c3e9921aad5
12mkdir -p "$EV"
13run() { # run NAME BIN ENV-ASSIGNMENTS... -- ARGS...
14 local name=$1 bin=$2; shift 2
15 local envs=(); while [ "$1" != "--" ]; do envs+=("$1"); shift; done; shift
16 {
17 echo "queued $(date -u +%FT%TZ) sc $(git -C $SC rev-parse HEAD) (main 9557e0c1 + lock lines) omega $(cat $SC/omega.lock) archive-sha256 $ARCH"
18 echo "binary $B/$bin sha256 $(sha256sum $B/$bin | cut -d' ' -f1)"
19 echo "env ${envs[*]}"
20 echo "cmd quietlock hold --owner OWN30B --minutes 20 -- flock /tmp/aien-gb10.lock env ${envs[*]} $B/$bin $*"
21 uptime; free -g | head -2
22 } > "$EV/$name.start"
23 quietlock hold --owner OWN30B --minutes 20 --reason "OWN-30B requal $name" -- \
24 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" "$@" \
25 > "$EV/$name.raw" 2> "$EV/$name.err"
26 local rc=$?
27 echo "$rc" > "$EV/$name.rc"
28 { echo "ended $(date -u +%FT%TZ)"; free -g | head -2; } > "$EV/$name.end"
29 echo "$name rc=$rc"
30}
31TOK="--prompts 1,2,3,4 --new 16 --layers 0,23,47 --weights fp8 --attn fused --router device --lm-head gemv --prefill auto"
32run check-full own30b_check AIEN_OMEGA_SPIN_US=2000 -- chip $CK $G $EV/check-full $TOK
33run check-wp own30b_check AIEN_OMEGA_SPIN_US=2000 -- chip $CK $G $EV/check-wp $TOK --tokens-only --whole-prompt --prefill-device-host
34run ttft own30b_ttft AIEN_OMEGA_SPIN_US=2000 -- $CK $EV/ttft --lens 512,2048 --new-tokens 32 --reps 2 --devhost
35run gate own30b_wp_gate AIEN_OMEGA_SPIN_US=2000 -- $CK $EV/gate --lens 512,2048 --ops-layer 0 --mutants --devhost
36run gate-short own30b_wp_gate AIEN_OMEGA_SPIN_US=2000 -- $CK $EV/gate-short --lens 1,2,20 --ops-layer 0 --mutants --devhost
37run graph-off own30b_check AIEN_OMEGA_SPIN_US=2000 AIEN_OMEGA_CTA_BUDGET=64 -- chip $CK $G $EV/graph-off $TOK
38run 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
39( cd "$EV" && find . -type f ! -name SHA256SUMS -print0 | sort -z | xargs -0 sha256sum > SHA256SUMS )
40echo "all done $(date -u +%FT%TZ)"