Using DistributedSampler with accelerate

It’s hard to tell what’s where in the code of the library in charge of optimization…
There’s no example that directly mentions the mechanism.