There may be no advantage to explicitly using DistributedSampler…
You don’t have to worry about using a distributed sampler with Accelerate. Whatever your sampler is, Accelerate will automatically shard it for all processes.
There may be no advantage to explicitly using DistributedSampler…
You don’t have to worry about using a distributed sampler with Accelerate. Whatever your sampler is, Accelerate will automatically shard it for all processes.