Skip to content

'StableDiffusionInpaintPipeline' has no attribute 'from_ckpt' #3497

Closed
@Pirog17000

Description

@Pirog17000

Describe the bug

Title is self-explanatory. There's no way to load inpaint model from safetensors using from_ckpt

I'm using the same approach as written in 'Load Safetensors' docs page:

pipeline = StableDiffusionPipeline.from_ckpt(
    "https://huggingface.co/WarriorMama777/OrangeMixs/blob/main/Models/AbyssOrangeMix/AbyssOrangeMix.safetensors"
)

but for Inpaint pipeline it doesn't work:
pipe = StableDiffusionInpaintPipeline.from_ckpt("downloaded_inpaint_model.safetensors")
throws an error 'StableDiffusionInpaintPipeline' has no attribute 'from_ckpt'

Maybe I'm just doing something wrong or understood it wrong and inpaint models should be loaded from safetensor other way?

Reproduction

Logs

No response

System Info

  • diffusers version: 0.17.0.dev0
  • Platform: Windows-10-10.0.19045-SP0
  • Python version: 3.10.9
  • PyTorch version (GPU?): 1.13.1+cu117 (True)
  • Huggingface_hub version: 0.13.2
  • Transformers version: 4.28.1
  • Accelerate version: 0.17.0.dev0
  • xFormers version: 0.0.17+57edbb7.d20230228

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