1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Minor fix in the documentation of LoRA (#2045)

Fix
This commit is contained in:
hysts
2023-01-20 21:19:54 +09:00
committed by GitHub
parent 7c82a16fc1
commit 3ecbbd6288

View File

@@ -323,7 +323,7 @@ pipe.to("cuda")
Next, we can load the adapter layers into the UNet with the [`load_attn_procs` function](https://huggingface.co/docs/diffusers/api/loaders#diffusers.loaders.UNet2DConditionLoadersMixin.load_attn_procs).
```python
pipe.load_attn_procs("patrickvonplaten/lora")
pipe.unet.load_attn_procs("patrickvonplaten/lora_dreambooth_dog_example")
```
Finally, we can run the model in inference.