Skip to content

Conversation

@younesbelkada
Copy link
Contributor

@younesbelkada younesbelkada commented Sep 14, 2023

What does this PR do?

As discussed offline, scale is an optional argument so we should pass it explcitily, this PR makes things compatible with PEFT together with huggingface/peft#933

cc @patrickvonplaten @sayakpaul

This should at least fix current issues with diffusers + PEFT for inference, for merge_and_unload we can investigate further

@patrickvonplaten
Copy link
Contributor

That works for me!

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!

@younesbelkada younesbelkada merged commit 0eb715d into huggingface:main Sep 14, 2023
@younesbelkada younesbelkada deleted the fix-lora-peft branch September 14, 2023 13:59
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
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