MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / rank2host

Method rank2host

oneflow/core/control/rank_info_bootstrap_server.cpp:118–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118Maybe<const std::vector<std::string>&> RankInfoBootstrapServer::rank2host() const {
119 CHECK_NOTNULL(rank2host_.get());
120 return *rank2host_;
121}
122
123void RankInfoBootstrapServer::OnLoadServer(CtrlCall<CtrlMethod::kLoadServer>* call) {
124 int64_t rank = call->request().rank();

Callers 2

SetHostByMasterMethod · 0.80
SetNodeSizeMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected