Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
a2091b70
Unverified
Commit
a2091b70
authored
Jul 27, 2023
by
Duong A. Nguyen
Committed by
GitHub
Jul 27, 2023
Browse files
Fix SDXL conversion from original to diffusers (#4280)
* fix sdxl conversion * convention
parent
d8bc1a4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py
...diffusers/pipelines/stable_diffusion/convert_from_ckpt.py
+2
-1
No files found.
src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py
View file @
a2091b70
...
...
@@ -1186,6 +1186,7 @@ def download_from_original_stable_diffusion_ckpt(
StableDiffusionInpaintPipeline
,
StableDiffusionPipeline
,
StableDiffusionXLImg2ImgPipeline
,
StableDiffusionXLPipeline
,
StableUnCLIPImg2ImgPipeline
,
StableUnCLIPPipeline
,
)
...
...
@@ -1542,7 +1543,7 @@ def download_from_original_stable_diffusion_ckpt(
checkpoint
,
config_name
,
prefix
=
"conditioner.embedders.1.model."
,
has_projection
=
True
,
**
config_kwargs
)
pipe
=
p
ipeline
_class
(
pipe
=
StableDiffusionXLP
ipeline
(
vae
=
vae
,
text_encoder
=
text_encoder
,
tokenizer
=
tokenizer
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment