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
aien-sovereign-core-mv / docs / campaigns / open-model-qwen3 / evidence-v5 / run-part.sh
| 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 v5 REAL RUN (ACCEPTANCE-v5, FROZEN on sc main). One part per quietlock hold. Never killed, never timed out. |
| 18 | # Binaries: build ~/workspace/oq3-v5-build-30258fc (frozen-v5.json pins). Wrapper: clean clone of sc main after the G8 merge (./wrap). |
| 19 | set -u |
| 20 | part=$1; R=/home/drakestapleton/workspace/oq3-v5-real/records |
| 21 | { date -u +%FT%TZ; grep -E '^(MemFree|MemAvailable|Cached):' /proc/meminfo; } > $R/mem-p$part.txt |
| 22 | journalctl -k --no-pager 2>/dev/null | grep -c NVRM > $R/nvrm-before-p$part.txt |
| 23 | unset AIEN_FORCE_CPU_STUB AIEN_DEV_FALLBACK AIEN_COMPOSE_AUTHORIZE_REQUIRES_DESK AIEN_COMPOSE_MAX_TOKENS AIEN_COMPOSE_DOC_MAX_TOKENS \ |
| 24 | 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 |
| 25 | B=/home/drakestapleton/workspace/oq3-v5-build-30258fc; M=/home/drakestapleton/models/qwen3-4b-instruct-2507-cdbee75 |
| 26 | AIEN_BIN=$B/target/release/aien-cli AIEN_MODEL_PATH=$M/model.safetensors.index.json AIEN_TOKENIZER_PATH=$M/tokenizer.json \ |
| 27 | AIEN_KV_CONTEXT_TOKENS=4096 AIEN_REQUIRE_BLACKWELL=1 AIEN_REQUIRE_CHECKPOINT=1 AIEN_GB10_QWEN3_DECLARED_ATTEMPT=1 \ |
| 28 | OQ3_PART=$part \ |
| 29 | /home/drakestapleton/workspace/oq3-v5-real/wrap/docs/campaigns/open-model-qwen3/run-qwen3-v5.sh \ |
| 30 | /home/drakestapleton/workspace/oq3-v5-runs $R/out $B/sc $B/omega $B/target/release/examples/np1_reference $B/target/release/examples/np1_edit_merge |
| 31 | rc=$? |
| 32 | journalctl -k --no-pager 2>/dev/null | grep -c NVRM > $R/nvrm-after-p$part.txt |
| 33 | exit $rc |