Skip to content

from_ckpt is a bad name  #3946

Description

@patrickvonplaten

Describe the bug

We've gotten a couple of issues like: #3390 that show that from_ckpt is a bad name because people think they cannot load safetensors checkpoints with it. To me ckpt just stood for "checkpoint" and I didn't realize that people strongly associated .ckpt with this method (thinking that any .safetensors checkpoint can't be loaded with from_ckpt)

Let's maybe deprecate the method and rename it no?

Reproduction

Marking this as a bug since multiple people seem to have this problem.

Let's call the new method maybe:

from_single_file(...) or any better ideas fro names cc @sayakpaul @yiyixuxu @pcuenca @williamberman @apolinario ?

Logs

No response

System Info

Not needed

Who can help?

No response

Activity

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions