Skip to content

Issues reloading model checkpoints in PL >= 1.6 #108

@jdhorwood

Description

@jdhorwood

When using the Pretrained Goli fingerprint, I am getting the following error when reloading checkpoints with PL 1.6.1:

ModuleNotFoundError: No module named 'pytorch_lightning.utilities.argparse_utils'

It seems to be stemming from a backwards compatibility fix introduced in PL 1.5, but the module being deleted in the exit function of the patch is no longer there and I'm not sure why. Original PL patch here:

Lightning-AI/pytorch-lightning#9166

Note: I am able to load the fingerprint correctly, the issue arises after training with the fingerprint, and then loading a checkpoint from the final model. The issue only occurs for Goli fingerprint models.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions