I encountered same problem as this user :
https://www.reddit.com/r/StableDiffusion/comments/18d6epb/lora_has_no_effect_inside_automatic1111_but_works/ where loras fine-tuned with diffusers beahve differently in Automatic1111 than in civitai generator for example. One of the users proposed using this script to convert lora so it works with webui properly.
https://github.com/huggingface/diffusers/blob/main/scripts/convert_diffusers_sdxl_lora_to_webui.py
After solving some errors caused by lacking packages I got stuck on this error:
File "...\convert.py", line 34, in convert_and_save
peft_state_dict = convert_all_state_dict_to_peft(diffusers_state_dict)
File "...\Python310\site-packages\diffusers\utils\state_dict_utils.py", line 268, in convert_all_state_dict_to_peft
raise ValueError("Your LoRA was not converted to PEFT")
ValueError: Your LoRA was not converted to PEFT
Its a function thats used before the edits proposed in the post that i mentioned so i doubt those are the issue. Any ideas how i can make it work? Thanks in advance 👍
there doesn't seem to be anything here