torchrec
torchrec copied to clipboard
Adjust default options for HeteroEmbeddingShardingPlanner
Summary: (1) Let HeteroEmbeddingShardingPlanner use MemoryBalancedPartitioner instead of GreedyPerfPartitioner. Using MemoryBalancedPartitioner makes more sense due to the nature of diffrerent DDR/HBM sizes (2) Let HeteroEmbeddingShardingPlanner use EmbeddingEnumerator with exact emumerate order. This would allow to have the exact order which may be useful in the model publishing side
Differential Revision: D56305107
This pull request was exported from Phabricator. Differential Revision: D56305107
This pull request was exported from Phabricator. Differential Revision: D56305107
This pull request was exported from Phabricator. Differential Revision: D56305107
This pull request was exported from Phabricator. Differential Revision: D56305107
This pull request was exported from Phabricator. Differential Revision: D56305107
This pull request was exported from Phabricator. Differential Revision: D56305107