API symbolsdistributedCopyCopy as MarkdownCopy page linkView MarkdownDownload .mdOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok tensorplay.distributed.distributed_c10d.all_reduce tensorplay.distributed.distributed_c10d.all_reduce(tensor: TensorBase, op: int = 0, group=None, async_op: bool = False)[source] Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issuetensorplay.distributed.distributed_c10d.all_gather_objectGathers picklable objects from the whole group into a list (torch parity).tensorplay.distributed.distributed_c10d.all_to_allScatters a list of tensors to ranks and collects one from each.