Skip to content

StableDiffusionControlNetInpaintPipeline does not seem to support .safetensors? #3974

Closed
@hzhou17

Description

@hzhou17

Model/Pipeline/Scheduler description

I'd like to use Dreamshaper's inpaint model for StableDiffusionControlNetInpaintPipeline, I used the code of

pipe = StableDiffusionControlNetInpaintPipeline.from_single_file(
    "/home/heran/DreamShaper/DreamShaper_6.31_INPAINTING.inpainting.safetensors", controlnet=controlnet, torch_dtype=torch.float16
).to('cuda')

but I got the error that AttributeError: type object 'StableDiffusionControlNetInpaintPipeline' has no attribute 'from_single_file'

How can I load a .safetensors model with StableDiffusionControlNetInpaintPipeline?

Open source status

  • The model implementation is available
  • The model weights are available (Only relevant if addition is not a scheduler).

Provide useful links for the implementation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions