Commit 3df4260
Fix shape issue with remapped indices in sharded ManagedCollisionEmbeddingCollection (#3010)
Summary:
Pull Request resolved: #3010
Fixing shapes of remapped indices returned by ManagedCollisionEmbeddingCollection to be [B, 1] instead of [B], which causes an issue in SequenceEmbeddingsAllToAll (embedding_dim=a2a_sequence_embs_tensor.shape[1]) related to the tuple index being out of range.
Reviewed By: cx-yin, kausv, xing-liu
Differential Revision:
D75251224
Privacy Context Container: L1292699
fbshipit-source-id: 5afa863f778a74f6fbb51a9afba71986eff8c7e21 parent d2a3e56 commit 3df4260
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
674 | | - | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
675 | 677 | | |
676 | 678 | | |
677 | 679 | | |
| |||
0 commit comments