Skip to content

TypeError: LoRA.prepare_model.<locals>.state_dict_callback() got an unexpected keyword argument 'replace_key' #98

Description

@Paleve

Image

I encountered the error as mentioned in the title, and then debugged to locate the error position. I wonder if this is an issue with the ms_swift version?

Activity

  1. yaosheng216 commented on Mar 28, 2025

    @yaosheng216
    Contributor

    @Paleve Yes, you can try upgrade ms-swift to latest version.

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

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