"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "8e8f2c6d67ff3ee758102f197bb1b347ed1e97bd"
Unverified Commit d840253f authored by Younes Belkada's avatar Younes Belkada Committed by GitHub
Browse files

[`PEFT`] Fix typo for import (#5217)

Update loaders.py
parent 536c297a
...@@ -2165,7 +2165,7 @@ class LoraLoaderMixin: ...@@ -2165,7 +2165,7 @@ class LoraLoaderMixin:
self.unet.unfuse_lora() self.unet.unfuse_lora()
if self.use_peft_backend: if self.use_peft_backend:
from peft.tuners.tuner_utils import BaseTunerLayer from peft.tuners.tuners_utils import BaseTunerLayer
def unfuse_text_encoder_lora(text_encoder): def unfuse_text_encoder_lora(text_encoder):
for module in text_encoder.modules(): for module in text_encoder.modules():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment