Skip to content

[BUG]: loading sharded model does not handle unexpected_keys #6019

@flymin

Description

@flymin

Is there an existing issue for this bug?

  • I have searched the existing issues

🐛 Describe the bug

loading sharded model does not raise an error on unexpected_keys. I will open a pr for more details.

Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions