Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyoujiyi committed Apr 12, 2022
1 parent 385ff3b commit 409cb71
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion paddle/fluid/distributed/ps/service/heter_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class HeterClient {
VLOG(4) << "peer role is: " << peer_role
<< ", addr is: " << peer_endpoints[0];
switch_s_instance_.SetPeerSwitchList(peer_endpoints);
switch_s_instance_.InitClientChannels(true, peer_endpoints, peer_role);
switch_s_instance_.InitClientChannels(false, peer_endpoints, peer_role);
return switch_s_instance_;
}

Expand Down
2 changes: 1 addition & 1 deletion paddle/fluid/operators/pscore/heter_cloud_comm_cpu_test.cc
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void StartSwitchInterServer(
std::vector<std::string> peer_endpoints) {
switch_server_ptr->SetPeerEndPoints(peer_endpoints);
switch_server_ptr->SetInterEndpoint(endpoints[1]);
switch_server_ptr->StartHeterInterService(true);
switch_server_ptr->StartHeterInterService(false);
}

TEST(HETERSENDANDRECV, CPU) {
Expand Down
2 changes: 1 addition & 1 deletion paddle/fluid/operators/pscore/switch_server_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void StartSwitchInterServer(
LOG(INFO) << "switch heter service started";
switch_server_ptr->SetPeerEndPoints(peer_endpoints);
switch_server_ptr->SetInterEndpoint(endpoints[0]);
switch_server_ptr->StartHeterInterService(true);
switch_server_ptr->StartHeterInterService(false);
}

int main(int argc, char* argv[]) {
Expand Down

1 comment on commit 409cb71

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 409cb71 Apr 12, 2022

Choose a reason for hiding this comment

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

🕵️ CI failures summary

🔍 PR: #41649 Commit ID: 409cb71 contains failed CI.

🔹 Failed: PR-CI-APPROVAL

Unknown Failed
Unknown Failed

Please sign in to comment.