Skip to content

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

Open
@breadbread1984

Description

@breadbread1984

❓ 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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions