[Cherry Pick] Not init nccl when rank is 1 (#18170)
* remove nccl dep when the number of GPU is 1 test=develop * use multi card run syncBN test=release/1.5
Showing
想要评论请 注册 或 登录
Fork自 PaddlePaddle / Paddle
* remove nccl dep when the number of GPU is 1 test=develop * use multi card run syncBN test=release/1.5