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 / campaigns / open-model-qwen3 / evidence-v7 / run.sh

40 lines · 2900 bytes Raw Blame History
1#!/usr/bin/env bash
2# SPDX-License-Identifier: Apache-2.0
3# Copyright 2026 Drake Stapleton (AIEN / aien-dev)
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16
17# OPEN-MODEL-QWEN3 v7 REAL qualification run (SPEC-v7-DRAFT.md Sections 3 and 5 item 8). Start detached ONLY on the
18# coordinator's go, after run-dry.sh recorded "G6 PASS" and the freeze PR (frozen-v7.json FROZEN, all pins filled) is merged:
19# setsid nohup bash run.sh <sc main commit that merged the freeze PR> <oq3-v7-build-<commit> folder> > <log> 2>&1 < /dev/null &
20# Four parts, each in its own 20-minute hold laneB-oq3-v7-pN. quietlock allows up to 20 minutes without Drake's approval token and on overrun
21# keeps the flag until the command exits without killing it (quietlock strings, OBSERVED 2026-10-11). The 8B is predicted to run about
22# twice the v6 part time (v6 parts took
23# 7 to 8 minutes each). Stop if a part's wrapper exits non-zero (part 4 exits 1 on a FAIL verdict: the scorer's verdict, not a crash).
24set -u
25WRAP_COMMIT=${1:?sc main commit holding the FROZEN frozen-v7.json}; export OQ3_BUILD=${2:?build folder}
26V=/home/drakestapleton/workspace/oq3-v7-real; R=$V/records
27[ ! -e /home/drakestapleton/workspace/oq3-v7-runs ] || { echo "run: the v7 run base exists already (v7 runs once)"; exit 2; }
28[ "$(cat $R/g6.txt 2>/dev/null)" = "G6 PASS" ] || { echo "run: no G6 PASS recorded by run-dry.sh"; exit 2; }
29quietlock check || { echo "run: quiet flag held, not starting"; exit 2; }
30git -C $V/wrap fetch -q origin && git -C $V/wrap checkout -q "$WRAP_COMMIT" || { echo "run: checkout $WRAP_COMMIT failed"; exit 4; }
31grep -q '"status": *"FROZEN' $V/wrap/docs/campaigns/open-model-qwen3/frozen-v7.json || { echo "run: frozen-v7.json at $WRAP_COMMIT is not FROZEN"; exit 2; }
32( cd $V/wrap/docs/campaigns/open-model-qwen3 && bash test-v7.sh > $R/test-v7-real.out 2>&1 ) || { echo "run: test-v7.sh failed at $WRAP_COMMIT"; exit 2; }
33sha256sum $V/run-part.sh "$0" > $R/launcher-real.sha256
34for p in 1 2 3 4; do
35 date -u +%FT%TZ > $R/hold-p$p.start
36 quietlock hold --owner laneB-oq3-v7-p$p --minutes 20 --reason "OPEN-MODEL-QWEN3 v7 REAL qualification run part $p, Qwen3-8B (frozen-v7 FROZEN, sc#384)" -- $V/run-part.sh real $p > $R/hold-p$p.log 2>&1
37 rc=$?; echo $rc > $R/hold-p$p.rc; date -u +%FT%TZ > $R/hold-p$p.end
38 [ $rc = 0 ] || { echo "part $p rc=$rc, stopping" > $R/stopped; break; }
39done
40date -u +%FT%TZ > $R/all.end