"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "b33b64f595fd008f96a852aa22103e4475e7f8a9"
Unverified Commit 3ecbbd62 authored by hysts's avatar hysts Committed by GitHub
Browse files

Minor fix in the documentation of LoRA (#2045)

Fix
parent 7c82a16f
...@@ -323,7 +323,7 @@ pipe.to("cuda") ...@@ -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). 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 ```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. Finally, we can run the model in inference.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment