Skip to content

Commit 65d649d

Browse files
[Release] 1.5.2 (#247)
* Test release * Test release * Test release * Test release * Test release * Test release * Test release * Test release
1 parent c61ab73 commit 65d649d

9 files changed

Lines changed: 11 additions & 9 deletions

File tree

.github/unittest/install_dependencies.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
export PIP_NO_CACHE_DIR=1
23

34
python -m pip install --upgrade pip
45
python -m pip install flake8 pytest pytest-cov hydra-core tqdm

.github/unittest/install_dependencies_nightly.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
export PIP_NO_CACHE_DIR=1
23

34
python -m pip install --upgrade pip
45
python -m pip install flake8 pytest pytest-cov hydra-core tqdm torch_geometric
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
pip install dm-meltingpot
2+
pip install dm-meltingpot "numpy<2.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

2-
pip install "pettingzoo[mpe,sisl]==1.24.3"
2+
pip install "pettingzoo[mpe,sisl]==1.24.3" "numpy<2.0"
33
sudo apt-get update
44
sudo apt-get install python3-opengl xvfb

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
python-version: ["3.9", "3.10","3.11"]
23+
python-version: ["3.10","3.11","3.12"]
2424
os: [ubuntu-latest, windows-latest, macos-15]
2525
steps:
2626
- uses: actions/checkout@v3

benchmarl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66

77

8-
__version__ = "1.5.1"
8+
__version__ = "1.5.2"
99

1010
import importlib
1111

benchmarl/algorithms/ippo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def _get_loss(
7979
actor=policy_for_loss,
8080
critic=self.get_critic(group),
8181
clip_epsilon=self.clip_epsilon,
82-
entropy_coef=self.entropy_coef,
83-
critic_coef=self.critic_coef,
82+
entropy_coeff=self.entropy_coef,
83+
critic_coeff=self.critic_coef,
8484
loss_critic_type=self.loss_critic_type,
8585
normalize_advantage=False,
8686
)

benchmarl/algorithms/mappo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ def _get_loss(
8383
actor=policy_for_loss,
8484
critic=self.get_critic(group),
8585
clip_epsilon=self.clip_epsilon,
86-
entropy_coef=self.entropy_coef,
87-
critic_coef=self.critic_coef,
86+
entropy_coeff=self.entropy_coef,
87+
critic_coeff=self.critic_coef,
8888
loss_critic_type=self.loss_critic_type,
8989
normalize_advantage=False,
9090
)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def get_version():
4747
author="Matteo Bettini",
4848
author_email="mb2389@cl.cam.ac.uk",
4949
install_requires=[
50-
"torchrl~=0.10",
50+
"torchrl>=0.10,<0.12",
5151
"tqdm",
5252
"hydra-core",
5353
"torchvision",

0 commit comments

Comments
 (0)