torchrec
torchrec copied to clipboard
prototype sharding by device group
Summary: This is a prototype that support tables with same sharding type but place on different device group. e.g some table-wise sharded table placed on CPU, some table-wise sharded table on CUDA.
The main change is instead of group sharding infos by sharding_type, we group them by (sharding_type, device_group)
Differential Revision: D56147625
This pull request was exported from Phabricator. Differential Revision: D56147625
This pull request was exported from Phabricator. Differential Revision: D56147625
This pull request was exported from Phabricator. Differential Revision: D56147625