interplane.Get Omega
Read in your language

gpu-head-to-head

aien-dev/gpu-head-to-head

Brought by drakestapleton

branch main Branches Tags History

gpu-head-to-head / q35-9b / tools / oracle_run.sh

15 lines · 1015 bytes Raw Blame History
1#!/usr/bin/env bash
2# Throwaway: run oracle_hf.py in the pinned vLLM container while holding /tmp/aien-gb10.lock.
3set -u
4B=/home/drakestapleton/handoffs/BOARD.md
5exec 9>/tmp/aien-gb10.lock
6flock 9
7echo "$(date -u +%Y-%m-%dT%H:%M:%SZ) Main(H2H-9B): GPU-START HF transformers BF16 oracle (lock held, untimed)" >> $B
8docker run --rm --name h2h9b-oracle --runtime nvidia --gpus all --ipc host --cpuset-cpus 5-9,15-19 --entrypoint bash \
9 -v /home/drakestapleton/models:/home/drakestapleton/models:ro -v /home/drakestapleton/handoffs:/home/drakestapleton/handoffs \
10 nvcr.io/nvidia/vllm:26.09-py3 -c "python3 /home/drakestapleton/handoffs/H2H9B/oracle_hf.py \
11 /home/drakestapleton/models/qwen3.5-9b-c2022362 /home/drakestapleton/handoffs/HeadToHead/repo/prompts/decode.jsonl \
12 /home/drakestapleton/handoffs/H2H9B/results/ref/HF-ORACLE.jsonl" > /home/drakestapleton/handoffs/H2H9B/results/ref/hf-oracle.log 2>&1
13rc=$?
14echo "$(date -u +%Y-%m-%dT%H:%M:%SZ) Main(H2H-9B): GPU-END HF oracle rc=$rc" >> $B
15echo "rc=$rc"