Skip to content

Commit

Permalink
Add metaworld Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rainx0r committed Aug 18, 2024
1 parent dd1bf34 commit a311268
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
11 changes: 11 additions & 0 deletions metaworld-jax/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM python:3.10-slim-buster
LABEL maintainer="[email protected]"

RUN apt-get update && apt install -y --no-install-recommends git python3-pip libglfw3 libglfw3-dev

WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt

ENTRYPOINT ["python"]
11 changes: 11 additions & 0 deletions metaworld-jax/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# metaworld-jax

A base Dockerfile containing all the required dependencies for running my Metaworld RL experiments with JAX.

Includes:

- [email protected]
- CUDA & cuDNN for GPU acceleration.
- (TEMPORARY) Custom versions of Metaworld and Multi-task Cleanrl.
- JAX, Flax and Orbax.
- Pytorch/tensorboard/wandb for logging.
16 changes: 16 additions & 0 deletions metaworld-jax/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Jax
jax[cuda12_pip]==0.4.31
flax==0.8.5
distrax==0.1.5

# Metaworld
metaworld @ git+https://github.com/rainx0r/Metaworld.git@f131964

# Pytorch CPU for logging
torch==2.4.0

# Logging
wandb==0.17.6
tensorboard==2.17.1
orbax-checkpoint @ git+https://github.com/google/orbax/@2ce2fb27f9786442b08ba14c8767c460dd6e8a0a#subdirectory=checkpoint

0 comments on commit a311268

Please sign in to comment.