Skip to content
2 changes: 2 additions & 0 deletions torchrec/distributed/batched_embedding_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3894,6 +3894,7 @@ def __init__(
)
output_dtype = output_dtype_sparse.as_dtype()
stochastic_rounding = fused_params.get("stochastic_rounding", True)
bag_size_hints: Optional[List[int]] = fused_params.get("bag_size_hints")

# Create Triton TBE module with feature_table_map for correct batch size handling
self._emb_module: TritonTableBatchedEmbeddingBags = (
Expand All @@ -3907,6 +3908,7 @@ def __init__(
eps=eps,
optimizer=optimizer,
device=device,
bag_size_hints=bag_size_hints,
)
)

Expand Down
Loading
Loading