Skip to content
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

Introduce MiniBatchBarrier on worker-side #1127

Open
hjp615 opened this issue May 4, 2017 · 0 comments
Open

Introduce MiniBatchBarrier on worker-side #1127

hjp615 opened this issue May 4, 2017 · 0 comments
Labels

Comments

@hjp615
Copy link
Contributor

hjp615 commented May 4, 2017

To introduce synchronous system on dolphin, MiniBatchBarrier should be implemented to control AsyncWorkerTask's mini-batch cycle.

MiniBatchBarrier's role is the following:

  1. When every mini-batch is finished, AsyncWorkerTask sends MiniBatchFinishedMsg to driver.
  2. Until worker receives MiniBatchControlMsg(StartNextMiniBatchMsg or TerminateLearningMsg) from driver, this worker will be blocked in MiniBatchBarrier.
  3. When this worker receives MiniBatchControlMsg from driver, MiniBatchBarrier is unblocked and start next mini-batch or terminate learning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant