Download scripts/onstart.sh from EngineeringWithJay/pi-office-math-bootstrap: direct link, hf CLI and curl.
- Browser
- Download file 1.11 kB
-
https://huggingface.co/EngineeringWithJay/pi-office-math-bootstrap/resolve/main/scripts/onstart.sh
- Command line
-
hf download hf://EngineeringWithJay/pi-office-math-bootstrap/scripts/onstart.sh
-
curl -L -o onstart.sh https://huggingface.co/EngineeringWithJay/pi-office-math-bootstrap/resolve/main/scripts/onstart.sh
1.11 kB
| # ============================================================ | |
| # Pi Office Math bootstrap — vast.ai onstart script | |
| # Paste this into the "Onstart" field when creating the instance. | |
| # Idempotent: safe to re-run. | |
| # ============================================================ | |
| set -x | |
| echo "[pi-office] === installing deps ===" | |
| pip install --no-cache-dir datasets sympy==1.14 2>&1 | tail -3 | |
| # fallback if a huggingface_hub pin conflicts with vllm's: | |
| pip install --no-cache-dir "datasets<3.0" sympy==1.14 2>&1 | tail -2 || true | |
| echo "[pi-office] === preparing workspace ===" | |
| mkdir -p /workspace/benchmark_data/math500 /workspace/benchmark_data/aime | |
| echo "[pi-office] === ready ===" | |
| touch /workspace/.pi_office_ready | |
| echo "Files to upload to /workspace (8 total):" | |
| echo " day1_bootstrap.py pi_office_symbolic_sandbox.py mode3_verify.py" | |
| echo " benchmark_mode3_lean.py run_checks.py pod_status.sh" | |
| echo " benchmark_data/math500/test.jsonl benchmark_data/aime/test.jsonl" | |
| echo "" | |
| echo "Then run:" | |
| echo " cd /workspace && python3 run_checks.py" | |
| echo " python3 day1_bootstrap.py --dry-run 20" | |