Skip to content

Commit 7a6ae1b

Browse files
Boris Saranafacebook-github-bot
authored andcommitted
Reland of D65489998 Optimize sharding performance of embeddings" (pytorch#634)
Summary: X-link: pytorch/torchrec#2664 X-link: pytorch#3549 Pull Request resolved: facebookresearch/FBGEMM#634 This diff is a reland of D65489998 after backout in D66800554. Reviewed By: iamzainhuda Differential Revision: D66828907 fbshipit-source-id: ab6e6a9faa8255c4847a69a8efb46182bedc9737
1 parent cd15626 commit 7a6ae1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fbgemm_gpu/fbgemm_gpu/tbe/ssd/utils/partially_materialized_tensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, wrapped) -> None:
4848
wrapped: torch.classes.fbgemm.KVTensorWrapper
4949
"""
5050
self._wrapped = wrapped
51-
self._requires_grad = True
51+
self._requires_grad = False
5252

5353
@property
5454
def wrapped(self):

0 commit comments

Comments
 (0)