fix mpi ssh runtime error (#63580)
Summary:
should fix https://github.com/pytorch/pytorch/issues/60756.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/63580
Test Plan:
- this CI.
- validated by running on the bionic_cuda container: https://app.circleci.com/pipelines/github/pytorch/pytorch/366632/workflows/478602fb-698f-4210-ac09-d9c61af5c62b/jobs/15472104
Reviewed By: malfet
Differential Revision: D30486472
Pulled By: walterddr
fbshipit-source-id: d83ab88d163d4a468f03961a13d891b658668a7f
Author
Rong Rong (AI Infra)