Using torch rpc to connect to remote machine

You have to use torchrun to connect them. I had the same problem and also asked about it (RPC + Torchrun hangs in ProcessGroupGloo). In my question you have a minimal example and also the torchrun command

EDIT: Omg, Iā€™m seeing now your question was from 2022 :joy: