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

Add validation that batch size is divisible by number of microbatches #784

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

H-Huang
Copy link
Member

@H-Huang H-Huang commented Jan 9, 2025

Stack from ghstack (oldest at bottom):

For PP, the batch size should be divisible by number of microbatches so we should fail early if this is not the case

@H-Huang H-Huang mentioned this pull request Jan 9, 2025
H-Huang added a commit that referenced this pull request Jan 9, 2025
ghstack-source-id: b111e687be74fe7d371b21536df662d622d9e6e3
Pull Request resolved: #784
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 9, 2025
@H-Huang H-Huang requested review from wconstab and tianyu-l January 9, 2025 22:45
@c-p-i-o c-p-i-o self-requested a review January 9, 2025 22:52
@H-Huang H-Huang merged commit f5aab90 into gh/H-Huang/19/base Jan 10, 2025
4 checks passed
H-Huang added a commit that referenced this pull request Jan 10, 2025
ghstack-source-id: b111e687be74fe7d371b21536df662d622d9e6e3
Pull Request resolved: #784
@H-Huang H-Huang deleted the gh/H-Huang/19/head branch January 10, 2025 19:24
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.

4 participants