Remove sync in Embedding caused by unique (#66091)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/66091
Reviewed By: albanD
Differential Revision: D31385576
Pulled By: ngimel
fbshipit-source-id: e656d4d9c38b705c71853ca295f977d1cddc61a1