sd-scripts icon indicating copy to clipboard operation
sd-scripts copied to clipboard

Adjustments to resuming training

Open Cauldrath opened this issue 7 months ago • 3 comments

Currently skips the resumed epoch if partway through and calculates global steps as only the number of steps into the current epoch.

These changes make it resume mid epoch on the appropriate step, with the right global step count, so max steps will be honored.

This also includes a change to just do a multiplication instead of a for loop over every elapsed epoch.

Cauldrath avatar Jul 01 '24 03:07 Cauldrath