Home
last modified time | relevance | path

Searched refs:allreduce_hook (Results 1 – 12 of 12) sorted by relevance

/external/pytorch/benchmarks/distributed/rpc/parameter_server/trainer/
D__init__.py4 from .hooks import allreduce_hook, hybrid_hook, rpc_hook, sparse_rpc_hook
13 "allreduce_hook": allreduce_hook,
Dhooks.py7 def allreduce_hook(state, bucket): function
/external/pytorch/torch/distributed/algorithms/_optimizer_overlap/
Doptimizer_overlap.py6 from torch.distributed.algorithms.ddp_comm_hooks.default_hooks import allreduce_hook
74 _hook_then_optimizer(allreduce_hook, self._opt_hook_state),
/external/pytorch/torch/distributed/algorithms/_comm_hooks/
Ddefault_hooks.py95 def allreduce_hook(state: DefaultState, grad: torch.Tensor): function
149 allreduce_hook(state, grad)
/external/pytorch/torch/distributed/algorithms/ddp_comm_hooks/
D__init__.py54 ALLREDUCE = partial(_ddp_comm_hook_wrapper, comm_hook=default.allreduce_hook)
Ddefault_hooks.py33 def allreduce_hook( function
/external/pytorch/docs/source/
Dddp_comm_hooks.rst45 .. autofunction:: allreduce_hook
/external/pytorch/test/distributed/optim/
Dtest_zero_redundancy_optimizer.py28 from torch.distributed.algorithms.ddp_comm_hooks.default_hooks import allreduce_hook
1306 allreduce_hook,
/external/pytorch/torch/csrc/distributed/c10d/
Dreducer.cpp944 _AllReduceBySumCommHook allreduce_hook(process_group_); in run_allreduce_hook() local
945 return allreduce_hook.runHook(grad_bucket); in run_allreduce_hook()
/external/pytorch/test/distributed/
Dtest_c10d_nccl.py1793 def allreduce_hook( function
1805 process_group, allreduce_hook, gradient_as_bucket_view, static_graph
1820 hook_options = [default.allreduce_hook, default.fp16_compress_hook]
1849 (default.allreduce_hook, process_group),
1873 (default.allreduce_hook, process_group),
/external/pytorch/torch/distributed/fsdp/
D_init_utils.py1191 default_hooks.allreduce_hook
/external/pytorch/torch/testing/_internal/distributed/
Ddistributed_test.py4494 default.allreduce_hook,
5132 self._test_ddp_hook_parity(state=None, hook=default.allreduce_hook)
5145 self._test_ddp_hook_parity(state=process_group, hook=default.allreduce_hook)
5380 def allreduce_hook( function
5391 num_iters=4, ddp_comm_hook=allreduce_hook
7382 hook=default.allreduce_hook,