-
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
[fleet_executor] Parse rank_to_ip map on cpp side and start message bus. #37126
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
} | ||
} | ||
PADDLE_ENFORCE_NE( | ||
addr, "", |
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.
单卡可以保留成空
std::string ip_port = rank_info.ip_port(); | ||
ss << rank << "\t->\t" << ip_port << "\n"; | ||
// TODO(Yuang): replace the first 'rank' with real interceptor id | ||
interceptor_id_to_rank.insert(std::make_pair(rank, 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.
message_bus我觉得逻辑应该只保留rank_to_addr的,interceptor_id_to_rank的逻辑应该给carrier,解耦开。这个可以之后再讨论修改
PR types
Others
PR changes
Others
Describe
Parse rank_to_ip map on cpp side and start message bus