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

40 lines · 2361 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 v6 (QUALIFICATION-v6.md, FROZEN on sc main). One part per quietlock hold. Never killed, never timed out.
18# run-part.sh real <1|2|3|4> the qualification part
19# run-part.sh dry 1 gate G6: part 1 in dry mode (same tasks file, scratch run base, never scored)
20set -u
21mode=$1 part=$2; V=/home/drakestapleton/workspace/oq3-v6-real; R=$V/records
22B=/home/drakestapleton/workspace/oq3-v6-build-de9c626; M=/home/drakestapleton/models/qwen3-4b-instruct-2507-cdbee75
23W=$V/wrap/docs/campaigns/open-model-qwen3/run-qwen3-v6.sh
24tag=$mode-p$part
25{ date -u +%FT%TZ; grep -E '^(MemFree|MemAvailable|Cached):' /proc/meminfo; } > $R/mem-$tag.txt
26journalctl -k --no-pager 2>/dev/null | grep -c NVRM > $R/nvrm-before-$tag.txt
27unset AIEN_FORCE_CPU_STUB AIEN_DEV_FALLBACK AIEN_COMPOSE_AUTHORIZE_REQUIRES_DESK AIEN_COMPOSE_MAX_TOKENS AIEN_COMPOSE_DOC_MAX_TOKENS \
28 AIEN_COMPOSE_EDIT_BUDGET_MS AIEN_COMPOSE_DOC_BUDGET_MS AIEN_COMPOSE_BUDGET_MS AIEN_OMEGA_SPIN_US AIEN_OMEGA_CTA_BUDGET OQ3_DRY_TASKS
29if [ "$mode" = dry ]; then
30 base=$V/dry-runs out=$R/dry-out
31 export OQ3_DRY_TASKS=$V/wrap/docs/campaigns/open-model-qwen3/tasks-oq3-v5.json
32else
33 base=/home/drakestapleton/workspace/oq3-v6-runs out=$R/out
34fi
35AIEN_BIN=$B/target/release/aien-cli AIEN_MODEL_PATH=$M/model.safetensors.index.json AIEN_TOKENIZER_PATH=$M/tokenizer.json \
36AIEN_KV_CONTEXT_TOKENS=4096 AIEN_REQUIRE_BLACKWELL=1 AIEN_REQUIRE_CHECKPOINT=1 AIEN_GB10_QWEN3_DECLARED_ATTEMPT=1 \
37OQ3_PART=$part bash "$W" "$base" "$out" $B/sc $B/pins/omega $B/target/release/examples/np1_reference $B/target/release/examples/np1_edit_merge
38rc=$?
39journalctl -k --no-pager 2>/dev/null | grep -c NVRM > $R/nvrm-after-$tag.txt
40exit $rc