The cleanest approach would probably be to create a DistributedSubsetSampler, if you want to combine these both samplers together.
However, I think the easiest workaround would be to use DistributedSampler and wrap your Dataset in Subset using the desired indices.