-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
self.minibatch_size #232
Comments
mainly for clarification please |
ah ok, I see, num_actors = num_envs |
One more question please: |
Hi @1seck! horizon_length should be divisible by self.seq_len, so the maximum value it can take equals the horizon_length but can be a fraction of it. As about self.minibatch_size_per_env it's not used anywhere except self.minibatch_size calculation when it's not set. With the default value 0 we could have some additional checks, in theory, not currently used. |
What metrics are you talking about? FPS step and step_and_inference should scale almost linearly with a number of GPUs. Total FPS scaling won't be linear as additionally gradients are moved between different GPUs. |
And what are the numbers you got? |
Hi viktorM, |
8 GPUs: epoch 200:5900, epoch 500: 8400 |
I mean, I don’t know whether it syncs at all when distributing over several instances. |
Hi there,
in a2c_common.py line 194:
self.minibatch_size = self.config.get('minibatch_size', self.num_actors * self.minibatch_size_per_env)
shouldn't it be
self.minibatch_size = self.config.get('minibatch_size', self.num_envs * self.minibatch_size_per_env)
instead?
The text was updated successfully, but these errors were encountered: