-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[FleetExecutor] Move SendIntra to Carrier && Using BlockingQueue #38322
Conversation
Thanks for your contribution! |
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
const std::unordered_map<int64_t, std::string>& rank_to_addr, | ||
const std::string& addr); | ||
|
||
bool IsInit() const; | ||
|
||
// called by Interceptor, send InterceptorMessage to dst | ||
bool Send(const InterceptorMessage& interceptor_message); | ||
bool Send(int64_t dst_rank, const InterceptorMessage& interceptor_message); |
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.
这个为啥要加dst_rank,不是从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.
done,已获知
|
||
#if defined(PADDLE_WITH_DISTRIBUTE) && defined(PADDLE_WITH_PSCORE) && \ | ||
!defined(PADDLE_WITH_ASCEND_CL) | ||
// send the message inter rank (dst is different rank with src) | ||
bool SendInterRank(const InterceptorMessage& interceptor_message); | ||
bool SendInterRank(int64_t dst_rank, |
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.
同上
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
@@ -29,26 +29,26 @@ class RuntimeGraph final { | |||
public: | |||
RuntimeGraph() = default; | |||
~RuntimeGraph() = default; | |||
const std::unordered_map<int64_t, TaskNode*>& intercepter_id_to_node() const { | |||
return intercepter_id_to_node_; | |||
const std::unordered_map<int64_t, TaskNode*>& interceptor_id_to_node() const { |
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.
😂
PR types
Others
PR changes
Others
Describe