Hi, I’m trying to run some code that uses diffusers version 0.24.0.dev0 and in particular one import is causing a problem: importing text_encoder_lora_state_dict from diffusers.models.lora. From what i was able to see, this function has changed places multiple times and is going to be depreciated, yet is fundamental to be able to run the code correctly and is absent in this location in version 0.23.0,0.24.0 and 0.25.0. Could anyone recommend how can I install the version 0.24.0.dev0 perhaps or any other way to import and use text_encoder_lora_state_dict from diffusers.models.lora or diffusers.loaders.lora as it has been used previously.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Diffuser error trying to load lora | 1 | 4578 | September 25, 2023 | |
Loading txt2img LoRA after training leads to noise images | 2 | 189 | August 28, 2024 | |
Text_encoder_2, local model, not working | 1 | 1184 | May 25, 2024 | |
When I use convert_lora_safetensor_to_diffusers.py to convert lora trained weights to diffusers format, I got errors:AttributeError: 'UNet2DConditionModel' object has no attribute 'unet' | 3 | 93 | January 1, 2025 | |
How could I convert a LoRA .safetensors or .ckpt file into the format that diffusers can process? | 1 | 8123 | February 16, 2023 |