You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement torch.Tensor APIs for TorchRec wrappers (pytorch#3096)
Summary:
Pull Request resolved: pytorch#3096
### Diff Context
Sometime trainer `state_dict` input to checkpointing can contain `LocalShardsWrapper` from TorchRec, which is a `torch.Tensor`. However, it doesn't implement some `torch.Tensor` operations like `copy_`, `zeros_like`, `empty_like`. This diff aims to implement those.
Reviewed By: iamzainhuda
Differential Revision: D75553113
0 commit comments