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

The server socket cannot be initialized #21

Open
xychen2022 opened this issue May 18, 2023 · 1 comment
Open

The server socket cannot be initialized #21

xychen2022 opened this issue May 18, 2023 · 1 comment

Comments

@xychen2022
Copy link

Hi, I got the following distributed learning related problem when running the code using example data. How to solve it? Thanks

[W socket.cpp:401] [c10d] The server socket cannot be initialized on [::]:6021 (errno: 97 - Address family not supported by protocol).
[W socket.cpp:401] [c10d] The server socket has failed to bind to 0.0.0.0:6021 (errno: 98 - Address already in use).
[E socket.cpp:435] [c10d] The server socket has failed to listen on any local network address.

@onat-dalmaz
Copy link
Member

It seems that cpp packages related to distributed learning are not properly installed. Please check
torch.multiprocessing
torch.distributed

and their required packages too.

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

No branches or pull requests

2 participants