GithubHelp home page GithubHelp logo

Trial Pending about marllib HOT 4 CLOSED

replicable-marl avatar replicable-marl commented on May 14, 2024
Trial Pending

from marllib.

Comments (4)

Theohhhu avatar Theohhhu commented on May 14, 2024

set num_gpus_per_worker = 0 to see if it works.
In most cases, samplers(workers) do not need GPU.

from marllib.

JackYansongLi avatar JackYansongLi commented on May 14, 2024

I tried the following configuration in ray.yaml:

num_workers: 1
num_gpus: 0
num_cpus_per_worker: 1
num_gpus_per_worker: 0

but the script terminated immediately. This seems odd to me, because the script should still work in theory if I choose not to use GPU computing.

from marllib.

Theohhhu avatar Theohhhu commented on May 14, 2024

Is there any bug reported before the termination?

from marllib.

JackYansongLi avatar JackYansongLi commented on May 14, 2024

The issue is caused by the version of petting zoo. The API used in MARLlib does not consist with the current version of pettingzoo. Use the following command solves the problem.

pip install pettingzoo[mpe]==1.12.0

Besides, there are also some packages lost in the documentation, listed below

pip install supersuit==3.3.0
pip install icecream

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.