Skip to content

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

Merged
sayakpaul merged 1 commit intomainfrom
refactor/save_model_card
May 24, 2023
Merged

[Examples/DreamBooth] refactor save_model_card utility in dreambooth examples#3543
sayakpaul merged 1 commit intomainfrom
refactor/save_model_card

Conversation

@sayakpaul
Copy link
Copy Markdown
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
Copy Markdown

HuggingFaceDocBuilderDev commented May 24, 2023

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

Copy link
Copy Markdown
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