RoboRACE-Bench / scripts /setup_playground.sh
Nabidnur's picture
RoboRACE: code, cached agent outputs, results, media, SO-101 renders (part 5)
99e41a8 verified
Raw History Blame Contribute Delete
687 Bytes
#!/usr/bin/env bash
# Phase 2: MuJoCo Playground (README, 2026: playground>=1.0, Python 3.12–3.13, RSL-RL).
# Usage: scripts/setup_playground.sh [cu13|cu12|cpu]
set -euo pipefail
FLAVOR=${1:-cu13}
command -v uv >/dev/null || curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv .venv-playground --python 3.13
source .venv-playground/bin/activate
case "$FLAVOR" in
cu12) uv pip install --default-index https://pypi.org/simple \
--index https://download.pytorch.org/whl/cu129 "playground>=1.0" "warp-lang==1.18.0+cu12" ;;
*) uv pip install --default-index https://pypi.org/simple "playground>=1.0" ;;
esac
python -c "import mujoco_playground; print('playground ok')"