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/aienux/blob/main/scripts/check_local_model.sh # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. 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 `aienux / scripts / check_local_model.sh` 13 lines ยท 788 bytes Raw Blame History 1 #!/usr/bin/env bash 2 # Qualification only: compare native Omega model output to the pinned independent 3 # C decoder. Builds native/kernel/x86/model/check_local_model.c with the host C 4 # compiler and runs it. Usage: check_local_model.sh EVIDENCE_DIR | --self-test 5 # EVIDENCE_DIR holds omega-model-probe, reference-probe, llama.raw and checkpoints. 6 set -euo pipefail 7 cd "$(dirname "$0")/.." 8 [[ $# -eq 1 ]] || { echo "usage: check_local_model.sh EVIDENCE_DIR | --self-test" >&2; exit 2; } 9 tmp=$(mktemp -d "${TMPDIR:-/tmp}/check_local_model.XXXXXX") 10 trap 'rm -rf "$tmp"' EXIT 11 "${HOSTCC:-cc}" -std=c11 -D_DEFAULT_SOURCE -O2 -Wall -Wextra -Werror -Inative/argus \ 12 -o "$tmp/check_local_model" native/kernel/x86/model/check_local_model.c native/argus/sha256.c -lm 13 "$tmp/check_local_model" "$1"