Skip to content

Conversation

famouswizard
Copy link

Description:
Noticed a couple of issues while working with the distributed setup:

  • Switched to positional args in TCPStore(...) — named args caused a TypeError.
  • Removed hardcoded world_size=2; now reads from env variables.
  • Added dist.init_process_group(...) — this was missing and is required for proper Gloo initialization.
  • Replaced low-level ProcessGroupGloo(...) with init_process_group(...) — cleaner and safer.
  • Added dist.destroy_process_group() to ensure clean shutdown.

All tested — things now spin up as expected.

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.

1 participant