Skip to content

Conversation

@prajjwal1
Copy link
Contributor

Summary: In response to https://www.internalfb.com/sevmanager/view/592632, we add a Metric module compatibility test wherein we try to load an older metric module with the latest RecMetricModule. We have a predefined state dict, which simulates a metric module obtained from an older code. We compare its keys with the latest state dict of RecMetricModule

Differential Revision: D88207525

@meta-codesync
Copy link
Contributor

meta-codesync bot commented Dec 2, 2025

@prajjwal1 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D88207525.

@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 2, 2025
prajjwal1 added a commit to prajjwal1/torchrec that referenced this pull request Dec 2, 2025
Summary:

In response to https://www.internalfb.com/sevmanager/view/592632, we add a Metric module compatibility test wherein we try to load an older metric module with the latest RecMetricModule. We have a predefined state dict, which simulates a metric module obtained from an older code. We compare its keys with the latest state dict of RecMetricModule

Differential Revision: D88207525
@prajjwal1 prajjwal1 force-pushed the export-D88207525 branch 2 times, most recently from e75c57c to c80b502 Compare December 3, 2025 15:50
prajjwal1 added a commit to prajjwal1/torchrec that referenced this pull request Dec 3, 2025
Summary:

In response to https://www.internalfb.com/sevmanager/view/592632, we add a Metric module compatibility test wherein we try to load an older metric module with the latest RecMetricModule. We have a predefined state dict, which simulates a metric module obtained from an older code. We compare its keys with the latest state dict of RecMetricModule

Differential Revision: D88207525
prajjwal1 added a commit to prajjwal1/torchrec that referenced this pull request Dec 4, 2025
Summary:

In response to https://www.internalfb.com/sevmanager/view/592632, we add a Metric module compatibility test wherein we try to load an older metric module with the latest RecMetricModule. We have a predefined state dict, which simulates a metric module obtained from an older code. We compare its keys with the latest state dict of RecMetricModule

Differential Revision: D88207525
Summary:

In response to https://www.internalfb.com/sevmanager/view/592632, we add a Metric module compatibility test wherein we try to load an older metric module with the latest RecMetricModule. We have a predefined state dict, which simulates a metric module obtained from an older code. We compare its keys with the latest state dict of RecMetricModule

Differential Revision: D88207525
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