Skip to content

Commit

Permalink
update by compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
WorgenZhang committed Apr 24, 2022
1 parent 32d5d20 commit 39e7243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/operators/collective/c_comm_init_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ class CCommInitOp : public framework::OperatorBase {
UniqueId* comm_id = var->GetMutable<UniqueId>();

int nranks = Attr<int>("nranks");
int rank_id = Attr<int>("rank");
int rid = Attr<int>("ring_id");

#if defined(PADDLE_WITH_XPU_BKCL)
Expand All @@ -105,6 +104,7 @@ class CCommInitOp : public framework::OperatorBase {
CommContext::Instance().CreateComm(comm_id, nranks, device_id, device_id,
rid);
#else
int rank_id = Attr<int>("rank");
CommContext::Instance().CreateComm(comm_id, nranks, rank_id, device_id,
rid);
#endif
Expand Down

1 comment on commit 39e7243

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 39e7243 Apr 24, 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: #42168 Commit ID: 39e7243 contains failed CI.

🔹 Failed: PR-CI-Static-Check

Unknown Failed
Unknown Failed

🔹 Failed: PR-CI-Coverage

Unknown Failed
Unknown Failed

Please sign in to comment.