KEMBAR78
[FIX] Fix TypeError in DreamBooth SDXL when use_dora is False by SahilCarterr · Pull Request #9879 · huggingface/diffusers · GitHub
Skip to content

Conversation

@SahilCarterr
Copy link
Contributor

What does this PR do?

Fixes #9841
Fix the TypeError that occurs in DreamBooth SDXL when the LoRA configuration is applied with use_dora set to False. Ensure compatibility by handling this condition appropriately in the code logic.

Before submitting

Who can review?

Anyone in the community is free to review the PR once the tests have passed.
@sayakpaul

Copy link
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

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

Thanks!

@SahilCarterr
Copy link
Contributor Author

Could you review this when you have a moment, @yiyixuxu . I'd appreciate it if you could also consider merging it afterward. Thank you!

@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.

@sayakpaul
Copy link
Member

Failing test is unrelated.

@sayakpaul sayakpaul merged commit 9cc96a6 into huggingface:main Nov 8, 2024
7 of 8 checks passed
sayakpaul added a commit that referenced this pull request Dec 23, 2024
* fix use_dora

* fix style and quality

* fix use_dora with peft version

---------

Co-authored-by: Sayak Paul <spsayakpaul@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.

[TypeError] in DreamBooth SDXL LoRA training when use_dora parameter is False

3 participants