Skip to content
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

an inappropriate root number in nccl test #7841

Closed
tonyyang-svail opened this issue Jan 25, 2018 · 0 comments · Fixed by #7842
Closed

an inappropriate root number in nccl test #7841

tonyyang-svail opened this issue Jan 25, 2018 · 0 comments · Fixed by #7842
Assignees
Labels

Comments

@tonyyang-svail
Copy link

tonyyang-svail commented Jan 25, 2018

We have kRoot set to 5 at in NCCLTester.ncclBcastOp.

TEST_F(NCCLTester, ncclBcastOp) {
std::unique_ptr<f::OpDesc> op2(new f::OpDesc);
const int kRoot = 5;
op2->SetType("ncclBcast");

However, this implies the machine to have at least 6 GPUs. If it is not the case, we will get an invalid argument error. invalid argument at [/paddle/paddle/operators/nccl_op.cu.cc:193]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant