[LoRA] clean up load_lora_into_text_encoder()
and fuse_lora()
copied from#10495
Merged
yiyixuxu merged 5 commits intomainfrom lora-clean-upJan 9, 2025
+231-679
load_lora_into_text_encoder()
and fuse_lora()
copied from#10495