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 / evidence / hum-exact-head / chip.sh

18 lines · 1211 bytes Raw Blame History
1#!/bin/bash
2# chip.sh: L314 chip receipt. Waits for the export, then a chip window (first come, first served), then
3# gpu_exact_head_test --chip on all 1010 hidden records (identity + timing) and --mutant 1 (must lose tokens).
4set -u
5E=$HOME/workspace/sc-hum-exact-head/evidence/hum-exact-head
6T=$HOME/workspace/targets/hum-exact-head
7X=$T/omega/gpu_exact_head_test
8cd $E
9until grep -q "export rc" export.txt 2>/dev/null; do sleep 30; done
10grep -q "export rc 0" export.txt || { echo "export failed"; exit 1; }
11mem=$(awk '/MemAvailable/ {print int($2/1048576)}' /proc/meminfo)
12[ "$mem" -ge 8 ] || { echo "MemAvailable ${mem} GB < 8 GB, not loading"; exit 1; }
13ledger note L314 "measure: in line for a window (chip receipt, ~1.6 GB device, short)" >/dev/null 2>&1
14spark-window open l314-exact-head --ledger L314 --lease 30 --wait || { echo "no window"; exit 1; }
15spark-window run quiet-measure $X --chip $T/chip $T/hidden.bin --out chip-receipt.json > chip.txt 2>&1; echo "chip rc $?" >> chip.txt
16spark-window run quiet-measure $X --chip $T/chip $T/hidden.bin --limit 200 --mutant 1 --out chip-mutant1.json > chip-mutant1.txt 2>&1; echo "mutant rc $?" >> chip-mutant1.txt
17spark-window close
18echo DONE > chip.done