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 / om / qwen-native / linear / build.sh

24 lines · 1122 bytes Raw Blame History
1#!/bin/sh
2# Build tool only. OUT receives the linkable concatenated Omega unit and executable.
3set -eu
4cd "$(dirname "$0")"
5: "${OUT:?set OUT to a build directory}"
6mkdir -p "$OUT"
7store=${IPL_STORE:-$HOME/interplane-store-owner}/projects
8omega=c4bf9d002f7dc4aec66b2b719804d71316177ee4
9train=1739217e7c91f8d512a00d3eddb6f3f6e4f154c3
10git --git-dir="$store/omega-mv/repo.git" show "$omega:seed/out/omc" > "$OUT/omc"
11chmod 700 "$OUT/omc"
12echo "34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3 $OUT/omc" | sha256sum -c -
13unit() { git --git-dir="$store/aien-train/repo.git" show "$train:native/omegallm/gpu/$1.om"; }
14for f in context vector launch gk gr; do unit "$f" > "$OUT/$f.om"; done
15{
16 echo om2
17 cat "$OUT/context.om" "$OUT/vector.om" "$OUT/launch.om"
18 sed -n '1,/^fn gkopnd /{ /^fn gkopnd /!p; }; /^fn gkqq /,/^global gkbat /{ /^global gkbat /!p; }' "$OUT/gk.om"
19 sed -n '/^fn grshfl /,/^end$/p; /^fn grfadd /,/^end$/p' "$OUT/gr.om"
20 cat linear.om
21} > "$OUT/library.om"
22cat "$OUT/library.om" standalone.om > "$OUT/standalone.om"
23"$OUT/omc" < "$OUT/standalone.om" > "$OUT/linear"
24chmod 700 "$OUT/linear"