Skip to content

add pipeline_class_name argument to Stable Diffusion conversion script#4461

Merged
yiyixuxu merged 4 commits into
mainfrom
add-pipeline-cls-to-conversion-script
Aug 7, 2023
Merged

add pipeline_class_name argument to Stable Diffusion conversion script#4461
yiyixuxu merged 4 commits into
mainfrom
add-pipeline-cls-to-conversion-script

Conversation

@yiyixuxu
Copy link
Copy Markdown
Collaborator

@yiyixuxu yiyixuxu commented Aug 4, 2023

this PR add the pipeline_class argument to the convert_original_stable_diffusion_to_diffusers.py

fix:
#4280

$ python scripts/convert_original_stable_diffusion_to_diffusers.py \
    --checkpoint_path ./sd_xl_base_1.0.safetensors \
    --dump_path ./output_folder \
    --pipeline_class_name StableDiffusionXLPipeline \
    --from_safetensors

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

HuggingFaceDocBuilderDev commented Aug 4, 2023

The documentation is not available anymore as the PR was closed or merged.

Comment thread scripts/convert_original_stable_diffusion_to_diffusers.py Outdated
Comment thread scripts/convert_original_stable_diffusion_to_diffusers.py Outdated
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
@patrickvonplaten
Copy link
Copy Markdown
Contributor

Ok to merge for me once failing tests are corrected

@xhinker
Copy link
Copy Markdown
Contributor

xhinker commented Sep 27, 2023

Thank you @yiyixuxu

AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
huggingface#4461)

* add pipeline class

* Apply suggestions from code review

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>

* style

---------

Co-authored-by: yiyixuxu <yixu310@gmail,com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants