Skip to content

Commit

Permalink
[Tests] Update tests after torchrl bugfix
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Bettini <[email protected]>
  • Loading branch information
matteobettini committed Oct 6, 2023
1 parent ee440e0 commit b32c0a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test/test_pettingzoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from benchmarl.algorithms import (
algorithm_config_registry,
IppoConfig,
IsacConfig,
MaddpgConfig,
MasacConfig,
QmixConfig,
Expand Down Expand Up @@ -94,7 +93,7 @@ def test_reloading_trainer(
):
experiment_config.prefer_continuous_actions = prefer_continuous
algo_config = algo_config.get_from_yaml()
if isinstance(algo_config, (VdnConfig, IsacConfig, MasacConfig)):
if isinstance(algo_config, VdnConfig):
# There are some bugs currently in TorchRL
return
ExperimentUtils.check_experiment_loading(
Expand Down
3 changes: 1 addition & 2 deletions test/test_vmas.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from benchmarl.algorithms import (
algorithm_config_registry,
IppoConfig,
IsacConfig,
MaddpgConfig,
MappoConfig,
MasacConfig,
Expand Down Expand Up @@ -82,7 +81,7 @@ def test_reloading_trainer(
mlp_sequence_config,
):
algo_config = algo_config.get_from_yaml()
if isinstance(algo_config, (VdnConfig, IsacConfig, MasacConfig)):
if isinstance(algo_config, VdnConfig):
# There are some bugs currently in TorchRL
return
ExperimentUtils.check_experiment_loading(
Expand Down

0 comments on commit b32c0a2

Please sign in to comment.