GithubHelp home page GithubHelp logo

Upgrade Ray and Gym about marllib HOT 3 CLOSED

replicable-marl avatar replicable-marl commented on May 13, 2024
Upgrade Ray and Gym

from marllib.

Comments (3)

Theohhhu avatar Theohhhu commented on May 13, 2024

Hi, thank you for your suggestion.

Currently, we do not have any plans to update Ray and Gym for two reasons.

First, Ray and RLlib are not backward compatible, which means updating them could potentially cause issues with existing code and workflows.

Second, the environment integrated into MARLlib is not compatible with the latest version of Gymnasium, which would require significant changes and updates to ensure compatibility.

Therefore, for now, we have decided to hold off on updating Ray and Gym until these compatibility issues can be addressed and resolved.

from marllib.

elliottower avatar elliottower commented on May 13, 2024

Just for what it's worth, if you need help in updating to Gymnasium and current PettingZoo I can offer some help, the main difference is just changing from done to termination and truncation, as explained in the migration guide. I understand the idea of wanting things to be fully backwards compatible, but all major training libraries (RLlib, Stable-Baselines3, Tianshou, CleanRL) are working with current versions of PettingZoo and Gymnasium. Using unmaintained software is never desirable, and the easiest way to ensure everything is reproducible and consistent between libraries is to just use the current versions.

As you show in the README there are already 5+ different libraries trying to standardize MARL training and benchmarks, but most are not actively maintained, given that your project is maintained actively it seems like it would make a lot of sense to be using the most recent versions.

I just finished a tutorial for Stable-Baselines3 on PettingZoo and was thinking I would love to add some other MARL-specific libraries to our official tutorials, I think it would be a really useful asset to be able to point users to your library, if it weren't using 2+ year old versions of the PettingZoo/still using unmaintained Gym.

from marllib.

zoetsekas avatar zoetsekas commented on May 13, 2024

I have been using Gymnasium as it has also been adopted in Ray 2.x.
I agree that change is simple.
I would like to upgrade the MARL policies to Ray 2.5, but I noticed Ray 3.x, which is still dev, has breaking changes, so I will wait till 3.0 release.

from marllib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.