Installation
Install TorchRL
You can install TorchRL from PyPi.
pip install torchrl
For more details, or for installing nightly versions, see the TorchRL installation guide.
Install BenchMARL
You can just install it from github
pip install benchmarl
Or also clone it locally to access the configs and scripts
git clone https://github.com/facebookresearch/BenchMARL.git
pip install -e BenchMARL
Install environments
All enviornment dependencies are optional in BenchMARL and can be installed separately.
VMAS
pip install vmas
PettingZoo
pip install "pettingzoo[all]"
SMACv2
Follow the instructions on the environment repository.
Here is how we install it on linux.