forked from huggingface/diffusers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up the peft lora unload (huggingface#5741)
* Update peft_utils.py * fix bug * make the util backwards compatible. Co-Authored-By: Younes Belkada <[email protected]> * fix import issue * refactor the backward compatibilty condition * rename the conditional variable * address comments Co-Authored-By: Benjamin Bossan <[email protected]> * address comment --------- Co-authored-by: Younes Belkada <[email protected]> Co-authored-by: Benjamin Bossan <[email protected]>
- Loading branch information
1 parent
c6f90da
commit 6f14353
Showing
1 changed file
with
66 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters