Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[testing] solve the port conflict #14362

Merged
merged 1 commit into from
Nov 11, 2021
Merged

[testing] solve the port conflict #14362

merged 1 commit into from
Nov 11, 2021

Conversation

stas00
Copy link
Contributor

@stas00 stas00 commented Nov 11, 2021

This is a fix for #14331 which accidentally collapsed 2 distinct ports and the deepspeed tests started to fail.

Since torch.dist never releases the port, those tests that run emulated launcher env never release the port (but can re-use it). But then it prevents other tests that run with python -m torch.distributed to succeed and ending up with Address already in use error.

I'm going to merge this to unblock the CIs (ours and Deepspeed's) since tomorrow is a holiday, but would be happy to do a follow up PR if something can be improved.

@sgugger

@stas00 stas00 marked this pull request as ready for review November 11, 2021 03:11
@stas00 stas00 merged commit 1c76a51 into master Nov 11, 2021
@stas00 stas00 deleted the ds-2-ports branch November 11, 2021 03:11
@sgugger
Copy link
Collaborator

sgugger commented Nov 11, 2021

Thanks for fixing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants