Comments (4)
set num_gpus_per_worker = 0 to see if it works.
In most cases, samplers(workers) do not need GPU.
from marllib.
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.
Is there any bug reported before the termination?
from marllib.
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)
- Unable to install globally using setup.py HOT 1
- Does this framework support asynchronous execution of the step function for different agents? HOT 1
- AircraftSimulator use of bloods?
- There is a bug in def central_value_function(self, state, opponent_actions=None) in cc_mlp.py and needs to be modified. HOT 1
- Configuration of custom environment HOT 2
- trainning stopped because of OOM HOT 3
- Marllib seems never uses gpu devices HOT 2
- cannot train ma-gym environment with IQL HOT 6
- TypeError in ray HOT 3
- Working with my own customized env HOT 3
- Help with questions about custom environments HOT 3
- AttributeError: 'MAPPOTrainer' object has no attribute '_local_ip' HOT 3
- Evaluating agents after training HOT 2
- Continue my Training process HOT 1
- Where is numpy.object_ from? HOT 3
- Can not save video HOT 3
- Backpropagation through time for PPO HOT 1
- The problems about Modify the network structure. HOT 2
- reslink in model
- Access Value Function After algo.Fit HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from marllib.