send#

ray.util.collective.collective.send(tensor: Any, dst_rank: int, group_name: str = 'default')[source]#

Send a tensor to a remote process synchronously.

Parameters:
  • tensor (Any) – the tensor to send.

  • dst_rank (int) – the rank of the destination process.

  • group_name (str) – the name of the collective group.