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] Parse runtime graph to start carrier #37282

Merged
merged 9 commits into from
Nov 18, 2021

Conversation

FeixLiu
Copy link
Contributor

@FeixLiu FeixLiu commented Nov 17, 2021

PR types

Others

PR changes

Others

Describe

Parse the info in runtime graph to start the carrier
Fake run for now to pass the UT

Verified

This commit was signed with the committer’s verified signature.
rouault Even Rouault
@FeixLiu FeixLiu requested a review from wangxicoding November 17, 2021 06:42
@@ -22,8 +22,11 @@ namespace distributed {

void Carrier::Init(
const std::unordered_map<int64_t, TaskNode*>& interceptor_id_to_node) {
PADDLE_ENFORCE_EQ(is_init_, false, platform::errors::AlreadyExists(
Copy link
Contributor

Choose a reason for hiding this comment

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

理论上应该得支持多个program

Copy link
Contributor Author

Choose a reason for hiding this comment

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

项目一期整个fleet_executor不太支持多program吧

@FeixLiu FeixLiu requested a review from wangxicoding November 17, 2021 08:22
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

@wangxicoding wangxicoding merged commit f85bd5c into PaddlePaddle:develop Nov 18, 2021
@FeixLiu FeixLiu deleted the runtime_graph_to_carrier branch November 18, 2021 03:08
PADDLE_ENFORCE_EQ(message_bus_instance.IsInit(), true,
platform::errors::PreconditionNotMet(
"Message bus has not been initialized."));
message_bus_instance.Send(tmp_msg);
Copy link
Contributor

Choose a reason for hiding this comment

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

这里的fake逻辑感觉不太对劲,Carrier的start为什么是给所有interceptor发送data_is_ready的消息?

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.

None yet

3 participants