-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[fleet_executor] Parse runtime graph to start carrier #37282
Conversation
@@ -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( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
理论上应该得支持多个program
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
项目一期整个fleet_executor不太支持多program吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PADDLE_ENFORCE_EQ(message_bus_instance.IsInit(), true, | ||
platform::errors::PreconditionNotMet( | ||
"Message bus has not been initialized.")); | ||
message_bus_instance.Send(tmp_msg); |
There was a problem hiding this comment.
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的消息?
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