File size: 687 Bytes
99e41a8
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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')"