Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Minor] Dependencies #151

Merged
merged 3 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading