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.
option to output DTensor in state dict through fused_params (pytorch#…
…2277) Summary: Pull Request resolved: pytorch#2277 Users can optionally receive DTensor in state dict as opposed to ShardedTensor through fused_param setting, default is false. ``` fused_params: {"output_dtensor": True} ``` This diff only enable it for RW, these paths will be added for subsequent sharding schemes in their respective diff such as for CW/TWCW: D57063512 Reviewed By: joshuadeng Differential Revision: D60932501 fbshipit-source-id: 97daafa106cc833bda4c67b751f390cc4f337f66
- Loading branch information
1 parent
26d4244
commit f7c1ca1
Showing
2 changed files
with
16 additions
and
5 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