MCPcopy Create free account
hub / github.com/OpenBMB/VisRAG / OrderedDistributedSampler

Class OrderedDistributedSampler

timm_modified/timm/data/distributed_sampler.py:7–51  ·  view source on GitHub ↗

Sampler that restricts data loading to a subset of the dataset. It is especially useful in conjunction with :class:`torch.nn.parallel.DistributedDataParallel`. In such case, each process can pass a DistributedSampler instance as a DataLoader sampler, and load a subset of the original

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

create_loaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected