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

[fleet_executor] Hold the carrier while running for one micro step. #37605

Merged
merged 4 commits into from
Nov 29, 2021

Conversation

FeixLiu
Copy link
Contributor

@FeixLiu FeixLiu commented Nov 26, 2021

PR types

Others

PR changes

Others

Describe

  1. Hold the carrier while running for one micro step.
  2. Move the stop message handle to each handlers.

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@FeixLiu FeixLiu requested a review from wangxicoding November 26, 2021 10:02
Copy link
Contributor

@wangxicoding wangxicoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


TryStop();
if (out_buffs_.size() == 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有好几个汇节点怎么办

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个逻辑估计后面还要改

@FeixLiu FeixLiu merged commit 74ca89e into PaddlePaddle:develop Nov 29, 2021
@FeixLiu FeixLiu deleted the hold_carrier branch November 29, 2021 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants