Skip to content

Conversation

@Ali-Tehrani
Copy link

Summary:
The forward method of ManagedCollisionCollection goes through each table, and maps the original indices of the input KJT into the new indices using a hash-function. This produces a Dict[str, JaggedTensor], which is then converted into a KeyedJaggedTensor.

MCC should only change the values attribute of the KJT, while perserving all other attributes.

This conversion did not perserve key attributes of KJT such as inverse_indices, and stride. that are essential to work with VBE.

Reviewed By: kausv

Differential Revision: D84944895

Summary:
The forward method of `ManagedCollisionCollection` goes through each table, and maps the original indices of the input KJT into the new indices using a hash-function. This produces a Dict[str, JaggedTensor], which is then converted into a KeyedJaggedTensor.

MCC should only change the values attribute of the KJT, while perserving all other attributes.

This conversion did not perserve key attributes of KJT such as `inverse_indices`, and `stride`. that are essential to work with VBE.

Reviewed By: kausv

Differential Revision: D84944895
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 8, 2025
@meta-codesync
Copy link
Contributor

meta-codesync bot commented Dec 8, 2025

@Ali-Tehrani has exported this pull request. If you are a Meta employee, you can view the originating Diff in D84944895.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant