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

Friendlier device mesh error #3039

Merged
merged 4 commits into from
Feb 20, 2024

Conversation

mvpatel2000
Copy link
Contributor

What does this PR do?

Torch gives a nasty error if device mesh size doesn't properly match parallelism strat (FSDP vs. HSDP). This gives a friendlier error in this scenario.

@mvpatel2000 mvpatel2000 merged commit cc799e5 into mosaicml:dev Feb 20, 2024
13 checks passed
@mvpatel2000 mvpatel2000 deleted the mvpatel2000/friendly-dm-error branch February 20, 2024 22:26
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