gpu-head-to-head
aien-dev/gpu-head-to-head
Brought by drakestapleton
gpu-head-to-head / q35-9b / tools / torch-cpu-exp.sh
| 1 | #!/bin/sh |
| 2 | # Verification oracle only: pinned ATen CPU library, no Python entrypoint or GPU model. |
| 3 | set -eu |
| 4 | ORACLE=${STACK_TORCH_ORACLE_DIR:-/home/drakestapleton/handoffs/stack-comparison-20261029/torch-cpu-oracle} |
| 5 | exec docker run --rm -i --runtime runc --network none --read-only \ |
| 6 | -e NVIDIA_VISIBLE_DEVICES=void -e OMP_NUM_THREADS=1 -e OPENBLAS_NUM_THREADS=1 \ |
| 7 | -v "$ORACLE:/tool:ro" --entrypoint /tool/torch-cpu-exp \ |
| 8 | nvcr.io/nvidia/vllm@sha256:557747337846eecf34486866f3d992383c6f8af869fdb0e365b5093fcaee02c2 "$@" |