Skip to content

Commit

Permalink
Fix dpmsolver++_2m_lu
Browse files Browse the repository at this point in the history
  • Loading branch information
rockerBOO committed Jan 23, 2025
1 parent 9c1168a commit ca6b68e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/train_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -5984,6 +5984,7 @@ def get_my_scheduler(
scheduler_cls = DPMSolverMultistepScheduler
elif sample_sampler == "dpmsolver++_2m_lu":
scheduler_cls = DPMSolverMultistepScheduler
sched_init_args["use_lu_lambdas"] = True
elif sample_sampler == "dpmsolver++_2m_k":
scheduler_cls = DPMSolverMultistepScheduler
sched_init_args["use_karras_sigmas"] = True
Expand Down

0 comments on commit ca6b68e

Please sign in to comment.