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

Refine listen and serve op #10080

Merged

Conversation

jacquesqiao
Copy link
Member

@jacquesqiao jacquesqiao commented Apr 20, 2018

Separate RunSyncLoop to a method, prepare for RunAsyncLoop.
tasks: #9941

@jacquesqiao jacquesqiao changed the title Refine listen and serve op [wip]Refine listen and serve op Apr 20, 2018
@jacquesqiao jacquesqiao changed the title [wip]Refine listen and serve op Refine listen and serve op Apr 20, 2018
sleep(5);
// Write to a file of server selected port for python use.
SavePort(rpc_service_);
RunSyncUpdate(&executor, program, &recv_scope, prefetch_block);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please rename RunSyncUpdate to RunSyncLoop, for:

  1. server side program may not always be "updates" and,
  2. this function is an event loop.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok!

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@jacquesqiao jacquesqiao merged commit 7a993ee into PaddlePaddle:develop Apr 20, 2018
fluid support async training automation moved this from In progress to Done Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants