Skip to content

Conversation

@jemitche1
Copy link
Collaborator

Original unit test hardcoded the 2D device mesh as:

(2, self.world_size // 2); adaptively factor world_size to (dp, tp) for N number of ranks to ensure model dims are divisible by tp

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.

2 participants