Skip to content

Commit 74adabd

Browse files
Update examples/dreambooth/train_dreambooth_lora_sdxl.py
Co-authored-by: Linoy Tsaban <[email protected]>
1 parent 7fd96a3 commit 74adabd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/dreambooth/train_dreambooth_lora_sdxl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ def main(args):
12091209
text_encoder_one.gradient_checkpointing_enable()
12101210
text_encoder_two.gradient_checkpointing_enable()
12111211

1212-
def get_lora_config(rank, dropout, use_dora, target_modules):
1212+
def get_lora_config(rank, lora_alpha, dropout, use_dora, target_modules):
12131213
base_config = {
12141214
"r": rank,
12151215
"lora_alpha":lora_alpha,

0 commit comments

Comments
 (0)