Skip to content

Commit bfc96e1

Browse files
Raahul Kalyaan Jakkafacebook-github-bot
authored andcommitted
Adding "enable_optimizer_offloading" and "optimizer_D" to the required function signatures through the flow (#5056)
Summary: X-link: meta-pytorch/torchrec#3484 X-link: facebookresearch/FBGEMM#2066 **Context:** Currently, we are enabling SSD optimizer offloading for the ssd tbe kernel **In this diff:** We retrieve the newly added parameters from the tbe config and pass it down to the tbe Differential Revision: D85353134
1 parent 8189ad4 commit bfc96e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fbgemm_gpu/fbgemm_gpu/tbe/ssd/training.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ def __init__(
186186
use_rowwise_bias_correction: bool = False, # For Adam use
187187
optimizer_state_dtypes: dict[str, SparseType] = {}, # noqa: B006
188188
pg: Optional[dist.ProcessGroup] = None,
189+
enable_optimizer_offloading: bool = False,
189190
) -> None:
190191
super(SSDTableBatchedEmbeddingBags, self).__init__()
191192

0 commit comments

Comments
 (0)