File tree Expand file tree Collapse file tree 4 files changed +19
-11
lines changed Expand file tree Collapse file tree 4 files changed +19
-11
lines changed Original file line number Diff line number Diff line change 1
1
ARG PARENT_IMAGE
2
2
FROM $PARENT_IMAGE
3
3
ARG PYTORCH_DEPS=cpuonly
4
- ARG PYTHON_VERSION=3.10
4
+ ARG PYTHON_VERSION=3.12
5
5
ARG MAMBA_DOCKERFILE_ACTIVATE=1 # (otherwise python will not be found)
6
6
7
7
# Install micromamba env and dependencies
8
8
RUN micromamba install -n base -y python=$PYTHON_VERSION \
9
9
pytorch $PYTORCH_DEPS -c conda-forge -c pytorch -c nvidia && \
10
10
micromamba clean --all --yes
11
11
12
- ENV CODE_DIR /home/$MAMBA_USER
12
+ ENV CODE_DIR= /home/$MAMBA_USER
13
13
14
14
# Copy setup file only to install dependencies
15
15
COPY --chown=$MAMBA_USER:$MAMBA_USER ./setup.py ${CODE_DIR}/stable-baselines3/setup.py
16
16
COPY --chown=$MAMBA_USER:$MAMBA_USER ./stable_baselines3/version.txt ${CODE_DIR}/stable-baselines3/stable_baselines3/version.txt
17
17
18
18
RUN cd ${CODE_DIR}/stable-baselines3 && \
19
- pip install -e .[extra,tests,docs] && \
19
+ pip install uv && \
20
+ uv pip install --system -e .[extra,tests,docs] && \
20
21
# Use headless version for docker
21
- pip uninstall -y opencv-python && \
22
- pip install opencv-python-headless && \
23
- pip cache purge
22
+ uv pip uninstall opencv-python && \
23
+ uv pip install --system opencv-python-headless && \
24
+ pip cache purge && \
25
+ uv cache clean
24
26
25
27
CMD /bin/bash
Original file line number Diff line number Diff line change 3
3
Changelog
4
4
==========
5
5
6
- Release 2.5.0a1 (WIP )
6
+ Release 2.5.0 (2025-01-27 )
7
7
--------------------------
8
8
9
+ **New algorithm: SimBa in SBX, NumPy 2.0 support **
10
+
11
+
9
12
Breaking Changes:
10
13
^^^^^^^^^^^^^^^^^
11
14
- Increased minimum required version of PyTorch to 2.3.0
@@ -27,12 +30,15 @@ Bug Fixes:
27
30
28
31
`SBX `_ (SB3 + Jax)
29
32
^^^^^^^^^^^^^^^^^^
33
+ - Added SimBa Policy: Simplicity Bias for Scaling Up Parameters in DRL
34
+ - Added support for parameter resets
30
35
31
36
Deprecations:
32
37
^^^^^^^^^^^^^
33
38
34
39
Others:
35
40
^^^^^^^
41
+ - Updated Dockerfile
36
42
37
43
Documentation:
38
44
^^^^^^^^^^^^^^
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- CPU_PARENT=mambaorg/micromamba:1.5-jammy
4
- GPU_PARENT=mambaorg/micromamba:1.5-jammy-cuda-11.7.1
3
+ CPU_PARENT=mambaorg/micromamba:2.0-ubuntu24.04
4
+ GPU_PARENT=mambaorg/micromamba:2.0-cuda12.5.1-ubuntu24.04
5
5
6
6
TAG=stablebaselines/stable-baselines3
7
7
VERSION=$( cat ./stable_baselines3/version.txt)
8
8
9
9
if [[ ${USE_GPU} == " True" ]]; then
10
10
PARENT=${GPU_PARENT}
11
- PYTORCH_DEPS=" pytorch-cuda=11.7 "
11
+ PYTORCH_DEPS=" pytorch-cuda=12.4 "
12
12
else
13
13
PARENT=${CPU_PARENT}
14
14
PYTORCH_DEPS=" cpuonly"
Original file line number Diff line number Diff line change 1
- 2.5.0a1
1
+ 2.5.0
You can’t perform that action at this time.
0 commit comments