Skip to content

Conversation

d4l3k
Copy link
Member

@d4l3k d4l3k commented Nov 17, 2024

This adds basic support for APIs that require registration such as DeviceMesh and _functional_collectives.

This hasn't been tested with any downstream libraries that use DeviceMesh such as FSDPv2. It is intended to be compatible with https://github.com/pytorch/pytorch/blob/443472b1cabac7758e59af7d80c25f99f3ec0fbd/torch/distributed/fsdp/_init_utils.py#L162

Test plan:

pytest torchft/process_group_test.py

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 17, 2024
@d4l3k d4l3k merged commit 4631d6f into main Nov 17, 2024
4 checks passed
@d4l3k d4l3k deleted the d4l3k/pg_advanced branch November 17, 2024 00:36
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.

2 participants