DDP on iterable Dataset?

I’m bit new to using Iterable Datasets. I have been using torchdata to build my dataloaders but they seem to deprecate and even delete this functionality now :smiling_face_with_tear:. So, I want to build Iterable Dataset but it seems DistributedSampler cannot be used on iterable dataset. Any suggestions on how to use DDP on iterable Datasets?

I’m aware of this large issue: ChunkDataset API proposal by thiagocrepaldi · Pull Request #26547 · pytorch/pytorch · GitHub
But I don’t think this functionality is added yet.
And also this post: Using IterableDataset with DistributedDataParallel
Here I don’t find any workable process or examples

Maybe you can use something like the IterableDatasetShard to wrap your IterableDataset