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 / om / qwen-native / tokenizer / build.sh
| 1 | #!/bin/sh |
| 2 | # Build the standalone tokenizer from checked-in Omega units and a pinned seeded compiler. |
| 3 | set -eu |
| 4 | cd "$(dirname "$0")" |
| 5 | work=$(mktemp -d .build.XXXXXXXX) |
| 6 | trap 'rm -rf "$work"' EXIT |
| 7 | if [ -n "${OMC:-}" ]; then cc=$OMC; else |
| 8 | store=${IPL_STORE:-$HOME/interplane-store-owner}/projects/omega-mv/repo.git |
| 9 | git --git-dir="$store" show c4bf9d002f7dc4aec66b2b719804d71316177ee4:seed/out/omc > "$work/omc" |
| 10 | chmod 700 "$work/omc"; cc=$work/omc |
| 11 | fi |
| 12 | echo "34d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3 $cc" | sha256sum -c - |
| 13 | { |
| 14 | echo om2 |
| 15 | cat tokio.om ../../vendor/json.om ../../vendor/sha256.om model.om unicode.om unicode-data.om tokenizer.om cli.om |
| 16 | } > "$work/unit.om" |
| 17 | "$cc" < "$work/unit.om" > "$work/tokenizer" |
| 18 | chmod 755 "$work/tokenizer" |
| 19 | mv "$work/tokenizer" tokenizer |