Skip to content

Commit d840253

Browse files
[PEFT] Fix typo for import (huggingface#5217)
Update loaders.py
1 parent 536c297 commit d840253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/loaders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2165,7 +2165,7 @@ def unfuse_lora(self, unfuse_unet: bool = True, unfuse_text_encoder: bool = True
21652165
self.unet.unfuse_lora()
21662166

21672167
if self.use_peft_backend:
2168-
from peft.tuners.tuner_utils import BaseTunerLayer
2168+
from peft.tuners.tuners_utils import BaseTunerLayer
21692169

21702170
def unfuse_text_encoder_lora(text_encoder):
21712171
for module in text_encoder.modules():

0 commit comments

Comments
 (0)