MCPcopy Create free account
hub / github.com/CDTrans/CDTrans / all_gather

Function all_gather

datasets/sampler_ddp.py:64–97  ·  view source on GitHub ↗

Run all_gather on arbitrary picklable data (not necessarily tensors). Args: data: any picklable object group: a torch process group. By default, will use a group which contains all ranks on gloo backend. Returns: list[data]: list of data gathered from

(data, group=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

shared_random_seedFunction · 0.85

Calls 3

_get_global_gloo_groupFunction · 0.85
_serialize_to_tensorFunction · 0.85
_pad_to_largest_tensorFunction · 0.85

Tested by

no test coverage detected