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-part.sh

41 lines · 2488 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 (SPEC-v8.md; real parts only once 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)
20# As evidence-v7/run-part.sh with: the v8 wrapper, the Qwen3-8B model folder, the v8 build and run bases.
21set -u
22mode=$1 part=$2; V=/home/drakestapleton/workspace/oq3-v8-real; R=$V/records
23B=${OQ3_BUILD:?OQ3_BUILD (the oq3-v8-build-<commit> folder)}; M=/home/drakestapleton/models/qwen3-8b
24W=$V/wrap/docs/campaigns/open-model-qwen3/run-qwen3-v8.sh
25tag=$mode-p$part
26{ date -u +%FT%TZ; grep -E '^(MemFree|MemAvailable|Cached):' /proc/meminfo; } > $R/mem-$tag.txt
27journalctl -k --no-pager 2>/dev/null | grep -c NVRM > $R/nvrm-before-$tag.txt
28unset AIEN_FORCE_CPU_STUB AIEN_DEV_FALLBACK AIEN_BACKEND AIEN_COMPOSE_AUTHORIZE_REQUIRES_DESK AIEN_COMPOSE_MAX_TOKENS AIEN_COMPOSE_DOC_MAX_TOKENS \
29 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 OQ3_FROZEN
30if [ "$mode" = dry ]; then
31 base=$V/dry-runs out=$R/dry-out
32 export OQ3_DRY_TASKS=$V/wrap/docs/campaigns/open-model-qwen3/tasks-oq3-v5.json
33else
34 base=/home/drakestapleton/workspace/oq3-v8-runs out=$R/out
35fi
36AIEN_BIN=$B/target/release/aien-cli AIEN_MODEL_PATH=$M/model.safetensors.index.json AIEN_TOKENIZER_PATH=$M/tokenizer.json \
37AIEN_KV_CONTEXT_TOKENS=4096 AIEN_REQUIRE_BLACKWELL=1 AIEN_REQUIRE_CHECKPOINT=1 AIEN_GB10_QWEN3_DECLARED_ATTEMPT=1 \
38OQ3_PART=$part bash "$W" "$base" "$out" $B/sc $B/pins/omega $B/target/release/examples/np1_reference $B/target/release/examples/np1_edit_merge
39rc=$?
40journalctl -k --no-pager 2>/dev/null | grep -c NVRM > $R/nvrm-after-$tag.txt
41exit $rc