Skip to content

Commit

Permalink
Reland of D65489998 Optimize sharding performance of embeddings" (#3549)
Browse files Browse the repository at this point in the history
Summary:
X-link: pytorch/torchrec#2664

Pull Request resolved: #3549

X-link: facebookresearch/FBGEMM#634

This diff is a reland of D65489998 after backout in D66800554.

Reviewed By: iamzainhuda

Differential Revision: D66828907

fbshipit-source-id: ab6e6a9faa8255c4847a69a8efb46182bedc9737
  • Loading branch information
Boris Sarana authored and facebook-github-bot committed Jan 6, 2025
1 parent 48b74e5 commit b24fde5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, wrapped) -> None:
wrapped: torch.classes.fbgemm.KVTensorWrapper
"""
self._wrapped = wrapped
self._requires_grad = True
self._requires_grad = False

@property
def wrapped(self):
Expand Down

0 comments on commit b24fde5

Please sign in to comment.