Skip to content
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

[Model Card] standardize advanced diffusion training sd15 lora #7613

Merged
merged 10 commits into from
Oct 31, 2024

Conversation

chiral-carbon
Copy link
Contributor

What does this PR do?

Fixes #6891 for Advanced Diffusion Training with LoRA

Notebook example: Jupyter notebook
Example model card: Model Card

Before submitting

Who can review?

@sayakpaul @linoytsaban

@sayakpaul sayakpaul requested a review from linoytsaban April 10, 2024 03:15
Copy link
Collaborator

@linoytsaban linoytsaban left a comment

Choose a reason for hiding this comment

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

Thanks @chiral-carbon! just a small comment about the lora/dora tag, other than that LGTM :)

tags = ["text-to-image",
"diffusers",
"diffusers-training",
"lora",
Copy link
Collaborator

Choose a reason for hiding this comment

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

since it can be either a LoRA or a DoRA, we need to check if the use_dora arg is True and adapt the tag accordingly
(we check that in the line - lora = "lora" if not use_dora else "dora" :) )

Copy link
Contributor Author

Choose a reason for hiding this comment

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

got it, my bad for removing the check! thanks for pointing out, pushing it now.

Copy link
Collaborator

Choose a reason for hiding this comment

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

lets just switch "lora" in the tags here to lora and we're good to go 😊

@chiral-carbon
Copy link
Contributor Author

cc @linoytsaban have addressed the use_dora check

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@chiral-carbon
Copy link
Contributor Author

@linoytsaban hi! is this PR good to be merged?

Copy link

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

@github-actions github-actions bot added the stale Issues that haven't received updates label Sep 14, 2024
@chiral-carbon
Copy link
Contributor Author

@linoytsaban hello, this has been open for some time. are there any issues still with the changes? :)

@github-actions github-actions bot removed the stale Issues that haven't received updates label Oct 6, 2024
@a-r-r-o-w a-r-r-o-w requested a review from linoytsaban October 17, 2024 20:43
@a-r-r-o-w
Copy link
Member

Thanks!

@a-r-r-o-w a-r-r-o-w merged commit c754318 into huggingface:main Oct 31, 2024
8 checks passed
a-r-r-o-w added a commit that referenced this pull request Nov 1, 2024
* modelcard generation edit

* add missed tag

* fix param name

* fix var

* change str to dict

* add use_dora check

* use correct tags for lora

* make style && make quality

---------

Co-authored-by: Aryan <aryan@huggingface.co>
sayakpaul pushed a commit that referenced this pull request Dec 23, 2024
* modelcard generation edit

* add missed tag

* fix param name

* fix var

* change str to dict

* add use_dora check

* use correct tags for lora

* make style && make quality

---------

Co-authored-by: Aryan <aryan@huggingface.co>
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.

[Tracker] use the new model card utilities for saving model cards from the training script
4 participants