-
Notifications
You must be signed in to change notification settings - Fork 560
Implement torch.Tensor APIs for TorchRec wrappers #3096
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This pull request was exported from Phabricator. Differential Revision: D75553113 |
This pull request was exported from Phabricator. Differential Revision: D75553113 |
0d288a2
to
150c77a
Compare
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
This pull request was exported from Phabricator. Differential Revision: D75553113 |
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
150c77a
to
f09b8db
Compare
This pull request was exported from Phabricator. Differential Revision: D75553113 |
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
f09b8db
to
464243f
Compare
This pull request was exported from Phabricator. Differential Revision: D75553113 |
464243f
to
84f7ba1
Compare
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
This pull request was exported from Phabricator. Differential Revision: D75553113 |
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
84f7ba1
to
54685ae
Compare
This pull request was exported from Phabricator. Differential Revision: D75553113 |
54685ae
to
ab508e6
Compare
This pull request was exported from Phabricator. Differential Revision: D75553113 |
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
ab508e6
to
57f0fbc
Compare
This pull request was exported from Phabricator. Differential Revision: D75553113 |
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
57f0fbc
to
5f24435
Compare
This pull request was exported from Phabricator. Differential Revision: D75553113 |
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
5f24435
to
2d00c7e
Compare
This pull request was exported from Phabricator. Differential Revision: D75553113 |
2d00c7e
to
2f4ccba
Compare
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, pradeepfn Differential Revision: D75553113
This pull request was exported from Phabricator. Differential Revision: D75553113 |
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, pradeepfn Differential Revision: D75553113
2f4ccba
to
3785db9
Compare
This pull request was exported from Phabricator. Differential Revision: D75553113 |
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, pradeepfn Differential Revision: D75553113
3785db9
to
df2b385
Compare
This pull request was exported from Phabricator. Differential Revision: D75553113 |
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, pradeepfn Differential Revision: D75553113
df2b385
to
f2ad463
Compare
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, pradeepfn Differential Revision: D75553113
This pull request was exported from Phabricator. Differential Revision: D75553113 |
f2ad463
to
012d1fc
Compare
Summary:
Diff Context
Sometime trainer
state_dict
input to checkpointing can containLocalShardsWrapper
from TorchRec, which is atorch.Tensor
. However, it doesn't implement sometorch.Tensor
operations likecopy_
,zeros_like
,empty_like
. This diff aims to implement those.Reviewed By: iamzainhuda
Differential Revision: D75553113