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

process_group: set timeout for TCPStore client connect #145

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

d4l3k
Copy link
Member

@d4l3k d4l3k commented Mar 20, 2025

This sets the timeout for TCPStore initialization which is used by ProcessGroupNCCL. Without this we can hit NCCL watchdog timeout which is set to 100s for torchtitan. The default TCPStore timeout is 5 minutes which is too long.

Test plan:

pytest torchft/process_group_test.py -v -s -x -k timeout

@d4l3k d4l3k requested review from fegin and H-Huang March 20, 2025 23:15
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 20, 2025
@d4l3k d4l3k force-pushed the d4l3k/pg_tcpstore_timeout branch from a93825f to a17e4a8 Compare March 20, 2025 23:20
@d4l3k d4l3k merged commit f0a4061 into main Mar 20, 2025
7 checks passed
@d4l3k d4l3k deleted the d4l3k/pg_tcpstore_timeout branch March 20, 2025 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants