You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix allgather for empty buffers (facebookincubator#179) (#356)
Summary:
I used PyTorch-Ignite metrics that were all-gathered on both NCCL and Gloo backends.
In one of the cases the tensor (buffer) was empty and while NCCL tolerated this (hopefully as a no-op), Gloo gave me SIGFPE(8). I think this is because of the modulo by `dataSize` present today in Gloo all-gather code paths.
I believe this can also be a no-op for Gloo, especially since contextSize(rank)=1 is already a no-op.
Pull Request resolved: #356
Reviewed By: albanD, atalman
Differential Revision: D45153246
Pulled By: malfet
fbshipit-source-id: 135165158eaad2dca591f6cc3ccec52edca38912
0 commit comments