Add `last_epoch` argument to `optimization.get_scheduler` (#2850) · Fy-/diffusers@25d927a · GitHub
Skip to content

Commit 25d927a

Browse files
authored
Add last_epoch argument to optimization.get_scheduler (huggingface#2850)
Add last_epoch arg to optimization.get_scheduler. Allows the specification of the index of the last epoch when resuming training.
1 parent 663c654 commit 25d927a

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

‎src/diffusers/optimization.py‎

Lines changed: 16 additions & 5 deletions

0 commit comments

Comments
 (0)