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-v8 / run.sh

43 lines · 3261 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 v8 REAL qualification run (SPEC-v8.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-v8.json FROZEN, all pins filled) is merged:
19# setsid nohup bash run.sh <sc main commit that merged the freeze PR> <oq3-v8-build-<commit> folder> > <log> 2>&1 < /dev/null &
20# Four parts, each in its own 20-minute hold laneB-oq3-v8-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-v8.json}; export OQ3_BUILD=${2:?build folder}
26V=/home/drakestapleton/workspace/oq3-v8-real; R=$V/records
27[ ! -e /home/drakestapleton/workspace/oq3-v8-runs ] || { echo "run: the v8 run base exists already (v8 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; }
29[ "$(tail -1 $R/v8-checks-dry.txt 2>/dev/null)" = "V8 CHECKS PASS" ] || { echo "run: no V8 CHECKS PASS on the dry launches (run-dry.sh)"; exit 2; }
30quietlock check || { echo "run: quiet flag held, not starting"; exit 2; }
31git -C $V/wrap fetch -q origin && git -C $V/wrap checkout -q "$WRAP_COMMIT" || { echo "run: checkout $WRAP_COMMIT failed"; exit 4; }
32grep -q '"status": *"FROZEN' $V/wrap/docs/campaigns/open-model-qwen3/frozen-v8.json || { echo "run: frozen-v8.json at $WRAP_COMMIT is not FROZEN"; exit 2; }
33( cd $V/wrap/docs/campaigns/open-model-qwen3 && bash test-v8.sh > $R/test-v8-real.out 2>&1 ) || { echo "run: test-v8.sh failed at $WRAP_COMMIT"; exit 2; }
34sha256sum $V/run-part.sh "$0" > $R/launcher-real.sha256
35for p in 1 2 3 4; do
36 date -u +%FT%TZ > $R/hold-p$p.start
37 quietlock hold --owner laneB-oq3-v8-p$p --minutes 20 --reason "OPEN-MODEL-QWEN3 v8 REAL qualification run part $p, Qwen3-8B (frozen-v8 FROZEN, sc#384)" -- $V/run-part.sh real $p > $R/hold-p$p.log 2>&1
38 rc=$?; echo $rc > $R/hold-p$p.rc; date -u +%FT%TZ > $R/hold-p$p.end
39 [ $rc = 0 ] || { echo "part $p rc=$rc, stopping" > $R/stopped; break; }
40done
41Q=$V/wrap/docs/campaigns/open-model-qwen3
42bash $Q/v8-checks.sh /home/drakestapleton/workspace/oq3-v8-runs $Q/evidence-v7/run/s3-reports D1 D2 D3 D4 D5 D6 E1 E2 N1 N2 R1 > $R/v8-checks.txt 2>&1; tail -1 $R/v8-checks.txt
43date -u +%FT%TZ > $R/all.end