Train multi-agent reinforcement learning policies with MAPPO on an Arm-based cloud instance
Introduction
Prepare the Arm cloud environment
Configure and train MAPPO
Locate and validate the training checkpoint
(Optional) Deploy the checkpoint to a cloud GUI
Export the MAPPO actor for inference
Next Steps
Train multi-agent reinforcement learning policies with MAPPO on an Arm-based cloud instance
Who is this for?
This Learning Path is for cloud and machine learning developers who want to train and package multi-agent reinforcement learning navigation policies on Arm-based servers.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Configure a vectorized BenchMARL and VMAS workload for an Arm cloud instance
- Train and evaluate a multi-agent navigation policy with MAPPO
- Package and validate the trained BenchMARL checkpoint when the companion cloud visualization GUI is available
- Extract and validate the shared actor as a smaller inference-only artifact
Prerequisites
Before starting, you will need the following:
- An
aarch64cloud instance running Ubuntu 24.04 with SSH access,sudoprivileges, and internet access - Familiarity with Linux, Python, PyTorch, and reinforcement learning concepts such as observations, actions, rewards, and policies
- A local checkout of the companion MARL GUI containing
tools/deploy_checkpoint.pyandtools/inspect_checkpoint.pyif you want to deploy the BenchMARL checkpoint to a GUI
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
AGENTS=3 before configuring the run. With share_policy_params=true, the three agents share one actor while receiving different observations.RUN_DIR to the run directory that you want to validate, and source "$RUN_DIR/run.env". Then, change to the BenchMARL repository to continue validation.SAMPLING_DEVICE=cpu and TRAIN_DEVICE=cpu before you launch the experiment. BenchMARL configures sampling and training devices independently, and saves these choices in your run environment.Tanh layers, and four outputs for a two-dimensional action.