Skip to content

Commit a8b0f42

Browse files
authored
[docs] Fix link to loader method (#3680)
fix link to load_lora_weights
1 parent 41ae670 commit a8b0f42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/en/using-diffusers/other-formats.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ image = pipeline(prompt, num_inference_steps=50).images[0]
127127

128128
## A1111 LoRA files
129129

130-
[Automatic1111](https://github.com/AUTOMATIC1111/stable-diffusion-webui) (A1111) is a popular web UI for Stable Diffusion that supports model sharing platforms like [Civitai](https://civitai.com/). Models trained with the Low-Rank Adaptation (LoRA) technique are especially popular because they're fast to train and have a much smaller file size than a fully finetuned model. 🤗 Diffusers supports loading A1111 LoRA checkpoints with [`~LoraLoaderMixin.load_lora_weights`]:
130+
[Automatic1111](https://github.com/AUTOMATIC1111/stable-diffusion-webui) (A1111) is a popular web UI for Stable Diffusion that supports model sharing platforms like [Civitai](https://civitai.com/). Models trained with the Low-Rank Adaptation (LoRA) technique are especially popular because they're fast to train and have a much smaller file size than a fully finetuned model. 🤗 Diffusers supports loading A1111 LoRA checkpoints with [`~loaders.LoraLoaderMixin.load_lora_weights`]:
131131

132132
```py
133133
from diffusers import DiffusionPipeline, UniPCMultistepScheduler
@@ -145,7 +145,7 @@ Download a LoRA checkpoint from Civitai; this example uses the [Howls Moving Cas
145145
!wget https://civitai.com/api/download/models/19998 -O howls_moving_castle.safetensors
146146
```
147147

148-
Load the LoRA checkpoint into the pipeline with the [`~LoraLoaderMixin.load_lora_weights`] method:
148+
Load the LoRA checkpoint into the pipeline with the [`~loaders.LoraLoaderMixin.load_lora_weights`] method:
149149

150150
```py
151151
pipeline.load_lora_weights(".", weight_name="howls_moving_castle.safetensors")

0 commit comments

Comments
 (0)