Commit b27dc74
fix row-wise alltoall error when some embeddings use mean pooling and others use sum pooling (#2809)
Summary:
KJT.lengths is modified by mean pooling callback. When some embeddings use mean pooling and others use sum pooling, KJT.lengths will be incorrect.
Pull Request resolved: #2809
Reviewed By: PaulZhang12
Differential Revision: D71759505
Pulled By: iamzainhuda
fbshipit-source-id: d899a2a072f84e9b6692aac0653914f5d3490f271 parent 367a323 commit b27dc74
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1716 | 1716 | | |
1717 | 1717 | | |
1718 | 1718 | | |
| 1719 | + | |
1719 | 1720 | | |
1720 | 1721 | | |
1721 | 1722 | | |
| |||
0 commit comments