Can I use pytorch with gloo on mpi?

HI, Recently, I read about ‘DistributedDataParallel’ and it works with only ‘nccl’ and ‘gloo’. But ‘gloo’ can work with mpi. So, my question is, in PyTorch, is it possible that DistributedDataParallel can work with ‘gloo’ on mpi? If it can, how can i run the model? using ‘mpirun’?