Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-sovereign-core-mv/blob/main/docs/campaigns/open-model-qwen3/evidence-v7/build.sh # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-sovereign-core-mv / docs / campaigns / open-model-qwen3 / evidence-v7 / build.sh` 42 lines ยท 2579 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 build (SPEC-v7-DRAFT.md Section 3, as evidence-v6/build.sh with the v7 name): clean clone of 18 # sovereign-core at the given commit, pinned omega/physics/aienos via scripts/pins.sh --gpu, release build of aien-cli and 19 # the two campaign examples. CPU only; run `quietlock check` first and never inside another lane's hold. 20 set -u 21 SC_COMMIT=${1:?sovereign-core commit} 22 B=/home/drakestapleton/workspace/oq3-v7-build-${SC_COMMIT:0:7} 23 [ ! -e "$B" ] || { echo "build: $B exists" >&2; exit 2; } 24 mkdir -p "$B" 25 git clone -q https://github.com/aien-dev/aien-sovereign-core "$B/sc" && git -C "$B/sc" checkout -q "$SC_COMMIT" || exit 4 26 cd "$B/sc" 27 bash scripts/pins.sh --gpu "$B/pins" > "$B/pins.out" 2>&1; echo "pins rc=$?" 28 . "$B/pins/env.sh" 29 export CARGO_TARGET_DIR=$B/target 30 unset AIEN_FORCE_CPU_STUB AIEN_OMEGA_GPU_LIB AIEN_OMEGA_COMPOSE_LIB AIEN_OMEGA_COMPOSE_DIR AIEN_OMEGA_COMPOSE_SHA AIEN_DEV_FALLBACK AIEN_BACKEND 31 env | grep '^AIEN_' | sort 32 date -u +%FT%TZ 33 echo "cargo build -vv --release -p aien-cli" 34 nice -n 19 cargo build -vv --release -p aien-cli > "$B/build-cli.log" 2>&1; echo "aien-cli rc=$?" 35 echo "cargo build -vv --release -p aien-runtime --example np1_reference --example np1_edit_merge" 36 nice -n 19 cargo build -vv --release -p aien-runtime --example np1_reference --example np1_edit_merge > "$B/build-examples.log" 2>&1; echo "examples rc=$?" 37 date -u +%FT%TZ 38 grep -o 'has_omega_[a-z_]*' "$B/build-cli.log" | sort -u 39 echo "sc $(git -C "$B/sc" rev-parse HEAD) dirty=$(git -C "$B/sc" status --porcelain | wc -l)" 40 for r in omega physics aienos; do [ -d "$B/pins/$r" ] && echo "$r $(git -C "$B/pins/$r" rev-parse HEAD) dirty=$(git -C "$B/pins/$r" status --porcelain | wc -l)"; done 41 cat "$B/pins/omega/physics.lock" "$B/pins/omega/aienos.lock" 2>/dev/null 42 sha256sum "$B/sc/Cargo.lock" "$B/target/release/aien-cli" "$B/target/release/examples/np1_reference" "$B/target/release/examples/np1_edit_merge"