sovereign-intelligence
Front door to Drake Stapleton's sovereign stack.
Brought by drakestapleton
sovereign-intelligence / portable-pack / si.sh
| 1 | #!/bin/sh |
| 2 | # All operations are inside main. An interrupted pipe before the final call installs nothing. |
| 3 | main() ( |
| 4 | set -eu |
| 5 | umask 077 |
| 6 | if [ "$(uname -s)/$(uname -m)" != Linux/aarch64 ] || ! command -v nvidia-smi >/dev/null 2>&1; then |
| 7 | echo 'This Sovereign Intelligence preview requires an NVIDIA DGX Spark running ARM64 Linux.' >&2 |
| 8 | exit 2 |
| 9 | fi |
| 10 | [ "$(nvidia-smi --query-gpu=name --format=csv,noheader)" = 'NVIDIA GB10' ] || { echo 'This preview requires one NVIDIA GB10.' >&2; exit 2; } |
| 11 | tmp=$(mktemp -d) |
| 12 | trap 'rm -rf -- "$tmp"' EXIT |
| 13 | cd "$tmp" |
| 14 | curl --proto '=https' --proto-redir '=https' -fLsS --retry 3 'https://interplane.io/drakestapleton/sovereign-intelligence/releases/download/gb10-preview-20261118.1/sovereign-intelligence-gb10.tar.gz' -o pack.tar.gz |
| 15 | printf '%s pack.tar.gz\n' 'daf88ced333426a82f8fb2ebfb73a30c08a7199651c95fbbc58cb0fd1c1514b3' | sha256sum -c - |
| 16 | tar -xzf pack.tar.gz |
| 17 | sh sovereign-intelligence/install |
| 18 | ) |
| 19 | main "$@" |