Skip to content

Commit

Permalink
[Minor] Dependencies (#151)
Browse files Browse the repository at this point in the history
* ci

* ci

* ci
  • Loading branch information
matteobettini authored Dec 5, 2024
1 parent 4b13350 commit 271edee
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/unittest/install_dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


python -m pip install --upgrade pip
python -m pip install flake8 pytest pytest-cov hydra-core tqdm torch torch_geometric torchvision av
python -m pip install flake8 pytest pytest-cov hydra-core tqdm torch torch_geometric torchvision "av<14"

if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

Expand Down
2 changes: 1 addition & 1 deletion .github/unittest/install_dependencies_nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ python -m pip install flake8 pytest pytest-cov hydra-core tqdm torch_geometric

if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

python -m pip install torch torchvision av
python -m pip install torch torchvision "av<14"
# Not using nightly torch
# python -m pip install --pre torch --extra-index-url https://download.pytorch.org/whl/nightly/cpu --force-reinstall

Expand Down
2 changes: 1 addition & 1 deletion docs/source/usage/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You may want to install the following rendering and logging tools

.. code-block:: console
pip install wandb moviepy torchvision av
pip install wandb moviepy torchvision "av<14"
Install environments
--------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_version():
"pettingzoo": ["pettingzoo[all]>=1.24.3"],
"meltingpot": ["dm-meltingpot"],
"gnn": ["torch_geometric"],
"logging": ["moviepy", "wandb", "torchvision"],
"logging": ["moviepy", "wandb", "torchvision", "av<14"],
},
packages=find_packages(),
include_package_data=True,
Expand Down
2 changes: 1 addition & 1 deletion test/test_magent.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_reloading_trainer(
task=task.get_from_yaml(),
)

@pytest.mark.parametrize("algo_config", [QmixConfig, IppoConfig, MasacConfig])
@pytest.mark.parametrize("algo_config", [QmixConfig, MasacConfig])
@pytest.mark.parametrize("task", [MAgentTask.ADVERSARIAL_PURSUIT])
@pytest.mark.parametrize("share_params", [True, False])
def test_share_policy_params(
Expand Down

0 comments on commit 271edee

Please sign in to comment.