Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
afc97218
Unverified
Commit
afc97218
authored
Aug 26, 2025
by
Cyan
Committed by
GitHub
Aug 25, 2025
Browse files
Fix typo in LoRA (#12228)
Fix formatting in using_peft_for_inference.md
parent
2c4ee10b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docs/source/en/tutorials/using_peft_for_inference.md
docs/source/en/tutorials/using_peft_for_inference.md
+2
-2
No files found.
docs/source/en/tutorials/using_peft_for_inference.md
View file @
afc97218
...
@@ -94,7 +94,7 @@ pipeline = AutoPipelineForText2Image.from_pretrained(
...
@@ -94,7 +94,7 @@ pipeline = AutoPipelineForText2Image.from_pretrained(
pipeline
.
unet
.
load_lora_adapter
(
pipeline
.
unet
.
load_lora_adapter
(
"jbilcke-hf/sdxl-cinematic-1"
,
"jbilcke-hf/sdxl-cinematic-1"
,
weight_name
=
"pytorch_lora_weights.safetensors"
,
weight_name
=
"pytorch_lora_weights.safetensors"
,
adapter_name
=
"cinematic"
adapter_name
=
"cinematic"
,
prefix
=
"unet"
prefix
=
"unet"
)
)
# use cnmt in the prompt to trigger the LoRA
# use cnmt in the prompt to trigger the LoRA
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment