omega-tool-model
First-party Omega tool-use model source, serving harnesses, and verification records
Brought by drakestapleton
omega-tool-model / pack / model
| 1 | #!/bin/sh |
| 2 | set -eu |
| 3 | cd -P "$(dirname "$0")" |
| 4 | if [ "$(uname -s)/$(uname -m)" != Linux/aarch64 ]; then |
| 5 | echo 'This model runner requires ARM64 Linux on NVIDIA GB10.' >&2 |
| 6 | exit 2 |
| 7 | fi |
| 8 | # This backend opens /dev/nvidia0 directly. Only admit the single-GPU topology tested. |
| 9 | if ! command -v nvidia-smi >/dev/null 2>&1; then |
| 10 | echo "A working NVIDIA driver with nvidia-smi is required." >&2 |
| 11 | exit 2 |
| 12 | fi |
| 13 | gpu=$(nvidia-smi --query-gpu=name --format=csv,noheader) |
| 14 | if [ "$gpu" != 'NVIDIA GB10' ]; then |
| 15 | echo 'The round40 backend requires one NVIDIA GB10 GPU.' >&2 |
| 16 | exit 2 |
| 17 | fi |
| 18 | exec ./omega-tool-model "$@" |