pytorch/docs/source
Rohan Varma fbea2ee917 broadcast_object API for c10d (#43887)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/43887

As part of addressing #23232, this PR adds support for `broadcast_object_list` which is an API to broadcast arbitrary picklable objects to all the other ranks.  This has been a long-requested feature, so would be good for Pytorch to natively support this.

The implementation approach follows a similar approach as https://github.com/pytorch/pytorch/pull/42189. The input is a list of objects to be broadcasted and it is in place, meaning all ranks part of the group will have their input list modified to contain the broadcasted objects from the src rank.

Note that the API is designed to match the tensor-based collectives other than supporting async_op. For now, it is a blocking call. If we see demand to support async_op, we will have to make more progress on merging work/future to support this.
ghstack-source-id: 111180436

Reviewed By: mrshenli

Differential Revision: D23422577

fbshipit-source-id: fa700abb86eff7128dc29129a0823e83caf4ab0e
2020-09-01 18:54:17 -07:00
..
_static
_templates
_templates-stable
community Add MSFT Owners to the Windows Maintainership (#42280) 2020-07-30 08:22:13 -07:00
notes Enable TF32 support for cuDNN (#40737) 2020-09-01 15:34:24 -07:00
rpc
scripts Optimize SiLU (Swish) op in PyTorch (#42976) 2020-08-16 13:21:57 -07:00
__config__.rst
amp.rst
autograd.rst
bottleneck.rst
checkpoint.rst
complex_numbers.rst Doc note for complex (#41252) 2020-07-16 08:53:27 -07:00
conf.py
cpp_extension.rst
cpp_index.rst
cuda.rst
cudnn_persistent_rnn.rst
cudnn_rnn_determinism.rst [doc] Add LSTM non-deterministic workaround (#40893) 2020-07-21 16:20:02 -07:00
data.rst Reset DataLoader workers instead of creating new ones (#35795) 2020-09-01 11:48:00 -07:00
distributed.rst broadcast_object API for c10d (#43887) 2020-09-01 18:54:17 -07:00
distributions.rst
dlpack.rst
docutils.conf
fft.rst Adds fft namespace (#41911) 2020-08-06 00:20:50 -07:00
futures.rst
hub.rst
index.rst Adds torch.linalg namespace (#42664) 2020-08-07 10:18:30 -07:00
jit.rst Grammatical corrections (#43473) 2020-08-25 12:09:14 -07:00
jit_builtin_functions.rst
jit_language_reference.rst Error printing extension support for multiline errors (#43807) 2020-09-01 10:02:43 -07:00
jit_python_reference.rst
jit_unsupported.rst
linalg.rst Add torch.linalg.norm (#42749) 2020-08-28 18:28:33 -07:00
math-quantizer-equation.png
mobile_optimizer.rst optimize_for_mobile: bring packed params to root module (#42740) 2020-08-08 15:53:20 -07:00
model_zoo.rst
multiprocessing.rst
name_inference.rst
named_tensor.rst Easier english updated tech docs (#42016) 2020-07-24 14:36:17 -07:00
nn.functional.rst
nn.init.rst
nn.rst Add Unflatten Module (#41564) 2020-07-21 07:43:02 -07:00
onnx.rst
optim.rst DOC: fail to build if there are warnings (#41335) 2020-07-28 22:33:44 -07:00
quantization-support.rst DOC: split quantization.rst into smaller pieces (#41321) 2020-07-25 23:59:40 -07:00
quantization.rst DOC: split quantization.rst into smaller pieces (#41321) 2020-07-25 23:59:40 -07:00
random.rst
rpc.rst Minor RPC doc fixes (#43337) 2020-08-20 14:17:07 -07:00
sparse.rst
storage.rst
tensor_attributes.rst
tensor_view.rst Adds movedim method, fixes movedim docs, fixes view doc links (#43122) 2020-08-17 14:24:52 -07:00
tensorboard.rst
tensors.rst Implementing NumPy-like function torch.heaviside() (#42523) 2020-08-31 15:54:56 -07:00
torch.nn.intrinsic.qat.rst DOC: split quantization.rst into smaller pieces (#41321) 2020-07-25 23:59:40 -07:00
torch.nn.intrinsic.quantized.rst DOC: split quantization.rst into smaller pieces (#41321) 2020-07-25 23:59:40 -07:00
torch.nn.intrinsic.rst DOC: split quantization.rst into smaller pieces (#41321) 2020-07-25 23:59:40 -07:00
torch.nn.qat.rst DOC: split quantization.rst into smaller pieces (#41321) 2020-07-25 23:59:40 -07:00
torch.nn.quantized.dynamic.rst DOC: split quantization.rst into smaller pieces (#41321) 2020-07-25 23:59:40 -07:00
torch.nn.quantized.rst DOC: split quantization.rst into smaller pieces (#41321) 2020-07-25 23:59:40 -07:00
torch.quantization.rst DOC: split quantization.rst into smaller pieces (#41321) 2020-07-25 23:59:40 -07:00
torch.rst Update determinism documentation (#41692) 2020-08-31 21:06:24 -07:00
type_info.rst DOC: split quantization.rst into smaller pieces (#41321) 2020-07-25 23:59:40 -07:00