ray-project / ray

Ray is a unified framework for scaling AI and Python applications. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
https://ray.io
Apache License 2.0
32.97k stars 5.58k forks source link

[RLlib] Fix multi_agent_parameter_sharing update pettingzoo environment #31786

Open peterghaddad opened 1 year ago

peterghaddad commented 1 year ago

What happened + What you expected to happen

The newly released PettingZoo environment needs to be updated to work on Ray's nightly release.

Versions / Dependencies

Ray (nightly release) PettingZoo==1.22.3 torch==1.13.1

Reproduction script

https://github.com/ray-project/ray/blob/master/rllib/examples/multi_agent_parameter_sharing.py

Issue Severity

Medium: It is a significant difficulty but I can work around it.

peterghaddad commented 1 year ago

@ArturNiederfahrenhorst I saw you created a MR and merged it in. Can this be closed?