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

lora_bias PEFT version check in unet.load_attn_procs #10474

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

hlky
Copy link
Collaborator

@hlky hlky commented Jan 6, 2025

What does this PR do?

Adds PEFT version check for lora_bias support to unet.load_attn_procs. Loading LoRAs through load_attn_procs is scheduled to be deprecated by 0.40.0 and is replaced by load_lora_weights, this check is already present in load_lora_weights.

Fixes #10472

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@yiyixuxu @sayakpaul

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

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!

@sayakpaul sayakpaul merged commit 1896b1f into huggingface:main Jan 6, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants