forked from pytorch/torchrec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support uneven batch sizes and uneven number of batches across ranks (p…
…ytorch#283) Summary: X-link: facebookresearch/dlrm#283 Remove the constraint that ranks must iterate through batches of the exact same size for the exact same number of iterations. Now each rank's input batch can be a different size containing a different number of samples, and each rank can forward pass or train fewer or more batches than other ranks. Differential Revision: D40676549 fbshipit-source-id: 47174289e88d7d13339a9b16325b4275bc0aa628
- Loading branch information
1 parent
8edff8f
commit 6aa7dfd
Showing
2 changed files
with
107 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters