cloneofsimo / lora

Using Low-rank adaptation to quickly fine-tune diffusion models.
https://arxiv.org/abs/2106.09685
Apache License 2.0
6.99k stars 481 forks source link

How to embed lora in a custom stable diffusion network #267

Open xdobetter opened 7 months ago

xdobetter commented 7 months ago

Great work. I would like to ask if there are code examples of lora and non Diffusers library. I am trying to add lora to the stable diffusion model which I implemented by myself, but I don't know how to operate on how to save the trained lora model, can you give me some advice?

ljw919 commented 5 months ago

mark