You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Pull Request resolved: pytorch#97677
X-link: pytorch/gloo#353
ProcessGroupGloo and gloo seem to be opening and closing sockets without allowing the port to be reused. We see this issue pop up in larger training jobs "Address already in use" and we assume it to be because all the ephemeral ports are exhausted.
This diff allows ports to be reused, we see a reduced number of ports being in `TIME_WAIT` state.
context: https://fb.workplace.com/groups/319878845696681/permalink/5988899781205532/
another issue: https://fb.workplace.com/groups/319878845696681/permalink/958768178474408/
Test Plan: Add a gloo test to create 4 groups of size 64 using multithreaded PG + gloo. In total 256 ranks.
Differential Revision: D44029927
fbshipit-source-id: 9c31c38485333602c33e12c12813bea33ccb9438
0 commit comments