Skip to content

Commit e8451c7

Browse files
Joey Yangfacebook-github-bot
authored andcommitted
Extend raw_id_tracker to track ShardedManagedCollisionEmbeddingCollection
Summary: This diff extends `raw_id_tracker` to support both `ShardedManagedCollisionEmbeddingCollection` and `ShardedManagedCollisionEmbeddingBagCollection`. To avoid code duplication, the diff refactors the initialization and identity parsing logic into the `BaseEmbedding` class. Differential Revision: D87018676
1 parent 744e407 commit e8451c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fbgemm_gpu/fbgemm_gpu/split_table_batched_embeddings_ops_training.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,7 @@ def __init__( # noqa C901
710710
f"Feature Gates: {[(feature.name, feature.is_enabled()) for feature in FeatureGateName]}"
711711
)
712712

713+
self.table_names: Optional[list[str]] = table_names
713714
self.logging_table_name: str = self.get_table_name_for_logging(table_names)
714715
self.enable_raw_embedding_streaming: bool = enable_raw_embedding_streaming
715716
self.pooling_mode = pooling_mode

0 commit comments

Comments
 (0)