Download box/scripts/gap_gate.sh from TerryPei/gap-graph-as-policy: direct link, hf CLI and curl.
- Browser
- Download file 521 Bytes
-
https://huggingface.co/TerryPei/gap-graph-as-policy/resolve/main/box/scripts/gap_gate.sh
- Command line
-
hf download hf://TerryPei/gap-graph-as-policy/box/scripts/gap_gate.sh
-
curl -L -o gap_gate.sh https://huggingface.co/TerryPei/gap-graph-as-policy/resolve/main/box/scripts/gap_gate.sh
521 Bytes
| cd /root/autodl-tmp/graph-as-policy | |
| export PATH=/root/miniconda3/bin:$PATH | |
| unset http_proxy https_proxy HTTP_PROXY HTTPS_PROXY | |
| export UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple | |
| source /root/.gap_env | |
| source /etc/network_turbo 2>/dev/null | |
| export HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 MUJOCO_GL=egl PYOPENGL_PLATFORM=egl | |
| export CUDA_VISIBLE_DEVICES=0 GAP_MUJOCO_EGL_DEVICES=0 | |
| uv run gap benchmark examples/benchmark/grocery_acceptance_openrouter.yaml --gate --resume | |
| echo "GATE_EXIT=$?" | |