"torchvision/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "249f547930cc9cda4b6341033a4bd18adeea12ac"
Unverified Commit 94b332c4 authored by YiYi Xu's avatar YiYi Xu Committed by GitHub
Browse files

support from_single_file for SDXL inpainting (#4408)



fix
Co-authored-by: default avataryiyixuxu <yixu310@gmail,com>
parent 6f4355f8
...@@ -1186,7 +1186,6 @@ def download_from_original_stable_diffusion_ckpt( ...@@ -1186,7 +1186,6 @@ def download_from_original_stable_diffusion_ckpt(
StableDiffusionInpaintPipeline, StableDiffusionInpaintPipeline,
StableDiffusionPipeline, StableDiffusionPipeline,
StableDiffusionXLImg2ImgPipeline, StableDiffusionXLImg2ImgPipeline,
StableDiffusionXLPipeline,
StableUnCLIPImg2ImgPipeline, StableUnCLIPImg2ImgPipeline,
StableUnCLIPPipeline, StableUnCLIPPipeline,
) )
...@@ -1543,7 +1542,7 @@ def download_from_original_stable_diffusion_ckpt( ...@@ -1543,7 +1542,7 @@ def download_from_original_stable_diffusion_ckpt(
checkpoint, config_name, prefix="conditioner.embedders.1.model.", has_projection=True, **config_kwargs checkpoint, config_name, prefix="conditioner.embedders.1.model.", has_projection=True, **config_kwargs
) )
pipe = StableDiffusionXLPipeline( pipe = pipeline_class(
vae=vae, vae=vae,
text_encoder=text_encoder, text_encoder=text_encoder,
tokenizer=tokenizer, tokenizer=tokenizer,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment