Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QST] What is the proper way to load checkpoint to merlin.models.torch.DLRMModel #1245

Open
breadbread1984 opened this issue Nov 27, 2024 · 0 comments

Comments

@breadbread1984
Copy link

❓ Questions & Help

DLRMModel cannot load trained checkpoint properly.

Details

the torch implement of DLRMModel has an interaction layer implement with a member defined in register_buffer in condition block (see

self.register_buffer(
). the newly created interaction has no such member until the forward is called. therefore, the checkpoint cannot be loaded properly. what is the recommended way of loading?

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

No branches or pull requests

1 participant