Comments (2)
Hey Da-Capo, thanks for your report.
I think to start with a batch size of 4 isn't very large. The reason your CPUs are less busy for Polybeast is that the actor forward passes ("inference") happen on the GPU in that case. Options include:
- Increase batch size
- Use different GPUs for inference and learning
- Potentially increase the number of parallel inference and learner threads
- You can also play around with the unroll length
from torchbeast.
I'm having similar issue on a ubuntu machine with 32cpu cores, and 4 V100 gpus. with monobeast, it only uses 1 gpu, and full cpu power, the frame rate is ~5000SPS; while with polybeast, I set batch_size=16, num_inference/learner_threads=8, but the frame rate is only ~300SPS, and only 2 gpus are running. Were you able to speed up polybeast? Can you share some insight with me? Thanks!
from torchbeast.
Related Issues (20)
- "Done" default of 1 results in 0 reward episodes HOT 1
- Reproducing Pong Training Curve using Monobeast HOT 2
- Cannot reproduce the performance of "SpaceInvaders" game? HOT 1
- error install nest on Ubuntu 16 HOT 1
- How exactly monobeast and polybeast are different in performance perspective? HOT 1
- PolyBeast build fails with Python 3.8 HOT 8
- Using more than 2 GPUs with Polybeast HOT 5
- Minimum parameter configuration for not bad training results HOT 1
- Error on installing PolyBeast HOT 1
- How does IMPALA join the exploration mechanism? HOT 2
- Why doesn't the test code use LSTM? HOT 2
- Continuous Action Apace
- torchbeast works poorly on atari.
- request for support for continuous and multi-discrete action space HOT 2
- default instructions for monobeast in Pong HOT 1
- I encountered some problems when I ran the command pip install ".[polybeast]"
- Can't install polybeast in WSL2
- is it possible to use this architecture with multiple cpu?
- Reproducibility Issue for torchbeast
- Excessive memory use in monobeast.py
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 torchbeast.