Skip to content

💡 [REQUEST] - Declare warning in tutorial that following distributed tutorial may expose tcp ports. #3323

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

Open
Nebulised opened this issue Apr 13, 2025 · 1 comment

Comments

@Nebulised
Copy link

Nebulised commented Apr 13, 2025

🚀 Describe the improvement or the new tutorial

Add a warning or declare that setting of the environment variable "NCCL_SOCKET_IFNAME" is required to prevent opening up sockets outside of your local machine even when setting the master address to "localhost"

Existing tutorials on this topic

https://pytorch.org/tutorials/intermediate/FSDP_tutorial.html
https://pytorch.org/tutorials/intermediate/ddp_tutorial.html

Additional context

No response

cc @wconstab @osalpekar @H-Huang @kwen2501

@kwen2501
Copy link

kwen2501 commented Jun 2, 2025

Sorry I am confused. What does "opening up sockets outside of your local machine" mean?
I am pretty sure NCCL will only detect socket interfaces of the machine it runs on.

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

No branches or pull requests

4 participants