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.
Add option to balance modules to partitioners
Summary: This diff will make sure module count on GPUs are balanced. The way we do it is to sort the tables from a smaller module first. This should work fine with dependency (aka towers), since dependency is either child_path or starts with child_path, which is the path. Differential Revision: D51180772
- Loading branch information
1 parent
c7770f9
commit f55935d
Showing
2 changed files
with
177 additions
and
8 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