-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PiperOrigin-RevId: 719937540 Change-Id: Ib33cf8c0ca5da144ffc21221f6ea8e3299e38422
- Loading branch information
1 parent
ec28132
commit 5305951
Showing
3 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
.DS_Store | ||
__pycache__ | ||
*.egg-info | ||
.venv | ||
MUJOCO_LOG.TXT | ||
mujoco_menagerie | ||
checkpoints/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,11 +28,14 @@ pip install playground | |
> [!IMPORTANT] | ||
> Requires Python 3.10 or later. | ||
1. `pip install -U "jax[cuda12]"` | ||
* Verify GPU backend: python -c "import jax; print(jax.default_backend())" should print gpu | ||
2. `git clone [email protected]:google-deepmind/mujoco_playground.git` | ||
3. `cd mujoco_playground` | ||
4. `uv pip install -e ".[all]"` | ||
1. `git clone [email protected]:google-deepmind/mujoco_playground.git && cd mujoco_playground` | ||
2. [Install uv](https://docs.astral.sh/uv/getting-started/installation/), a faster alternative to `pip` | ||
3. Create a virtual environment: `uv venv --python 3.11` | ||
4. Activate it: `source .venv/bin/activate` | ||
5. Install CUDA 12 jax: `uv pip install -U "jax[cuda12]"` | ||
* Verify GPU backend: `python -c "import jax; print(jax.default_backend())"` should print gpu | ||
6. Install playground: `uv pip install -e ".[all]"` | ||
7. Verify installation (and download Menagerie): `python -c "import mujoco_playground"` | ||
|
||
#### Madrona-MJX (optional) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters