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
ddd0cfb4
Unverified
Commit
ddd0cfb4
authored
May 13, 2025
by
Abdellah Oumida
Committed by
GitHub
May 12, 2025
Browse files
Fix typo in train_diffusion_orpo_sdxl_lora_wds.py (#11541)
parent
4f438de3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/research_projects/diffusion_orpo/train_diffusion_orpo_sdxl_lora_wds.py
...ects/diffusion_orpo/train_diffusion_orpo_sdxl_lora_wds.py
+1
-1
No files found.
examples/research_projects/diffusion_orpo/train_diffusion_orpo_sdxl_lora_wds.py
View file @
ddd0cfb4
...
...
@@ -812,7 +812,7 @@ def main(args):
if
args
.
scale_lr
:
args
.
learning_rate
=
(
args
.
learning_rat
*
args
.
gradient_accumulation_steps
*
args
.
per_gpu_batch_size
*
accelerator
.
num_processes
args
.
learning_rat
e
*
args
.
gradient_accumulation_steps
*
args
.
per_gpu_batch_size
*
accelerator
.
num_processes
)
# Use 8-bit Adam for lower memory usage or to fine-tune the model in 16GB GPUs
...
...
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