How to Load LoRA Weights into UNet2DConditionModel Individually? #11013
Unanswered
ancientluna
asked this question in
Q&A
Replies: 1 comment
-
I think I succeeded in using unet.load_lora_adapter(). Anyway, since my LoRA weight was saved by stablediffusionpipeline, I had to modify the key when loading it with unet. I'm wondering if this is the best approach? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’ve created a custom pipeline and am not using StableDiffusionPipeline. I’m wondering if there’s a function similar to load_lora_weights() that would allow me to load LoRA weights in .safetensors format into the UNet2DConditionModel individually? Any guidance would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions