Which version of pytorch support the function torch.distributed.ring_exchange()?
ptrblck
2
I don’t think this method is exposed but is used in dist.batch_isend_irecv
.
CC @kwen2501 to correct me if I’m wrong.
kwen2501
(Ke Wen)
3
torch.distributed
does not have an API called ring_exchange()
.
But you can express a ring-exchange pattern using torch.distributed.batch_isend_irecv

Here is an example:
1 Like