Skip to content

[Examples/DreamBooth] refactor save_model_card utility in dreambooth examples #3543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2023

Conversation

sayakpaul
Copy link
Member

Currently, our DreamBooth PyTorch scripts (LoRA and non-LoRA) support both Stable Diffusion and IF pipelines.

However, the save_model_card utility always includes stable-diffusion and stable-diffusion-diffusers tags even when the underlying pipeline is not of the StableDiffusionPipeline type.

This PR fixes that.

With this PR, the following two repositories were created:

As one would expect, the tags are corrected:

Screenshot 2023-05-24 at 1 54 44 PM Screenshot 2023-05-24 at 1 55 00 PM

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented May 24, 2023

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

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@sayakpaul sayakpaul merged commit 8e69708 into main May 24, 2023
@sayakpaul sayakpaul deleted the refactor/save_model_card branch May 24, 2023 10:46
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
…examples (huggingface#3543)

refactor save_model_card utility in dreambooth examples.
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.

3 participants