-
Notifications
You must be signed in to change notification settings - Fork 41
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
Problem with mini-batches in Controller and fixed nb of mb in Worker before sync. #24
Comments
This seems like a convoluted and constructed scenario. Having the minibatch dispatch and the controller in the same process should probably not even be supported since it is super slow anyway as the two tasks keep blocking each other due to the ZeroMQ design. |
I'm talking about a simple basic use case, in separate process and all. Let say you have 22 mini-batches total and 2 workers that sync every 10 mini-batches. There are ways around this but I think this should be easier to use or better-documented somehow. |
The minibatch server should not have a limited supply. Or if it is limited it should be enough to fully satisfy each worker. I don't think we should support any other use case. |
So maybe only allow the minibatch server to send 10 minibatch at a time? so We should at least document this limitation. I don't think it is a priority On Thu, Feb 4, 2016 at 4:01 PM, abergeron [email protected] wrote:
|
In the case where the Controller manages the mini-batches but, the Worker decides when to sync with the global parameters, you can encounter the problem where the Worker is waiting for more mini-batches before doing a sync but none is available.
A possible fix for this would be to let the Controller decide when a Worker should sync.
The text was updated successfully, but these errors were encountered: