Open TroyGarden opened 3 weeks ago
This pull request was exported from Phabricator. Differential Revision: D58649553
Name | Link |
---|---|
Latest commit | 2034a8085780c2c7b8651795b224609a66d63b68 |
Latest deploy log | https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/6676fc07cbaded0008895cfd |
This pull request was exported from Phabricator. Differential Revision: D58649553
Summary: X-link: https://github.com/pytorch/torchrec/pull/2128
context
_multi_remap_to_groups
{F1713121552}details
kt_regroup_permutes
directly takes input from python/pytorch domain as: 1. feature/key list:List[List[str]]
2. feature/key lengths:List[List[int]]
3. permute feature/key list:List[List[str]]
.torch.ops.fbgemm.kt_regroup_permutes
to do the same work as_kt_regroup_permutes
keyed_tensor_regroup
, first calls thegenerate_keyed_tensor_permutes
to get the proper argumentspermute_multi_embedding
op for the actual operation.Differential Revision: D58649553