Remove duplicate save when triggering save next step
This commit is contained in:
1 parent
7ee1f98f6d
commit
1e12b6b73f
1 file changed
-1
@@ -202,7 +202,6 @@ class DiffusionTrainer(SDTrainer):
|
|||||||
flush()
|
flush()
|
||||||
if self.progress_bar is not None:
|
if self.progress_bar is not None:
|
||||||
self.progress_bar.unpause()
|
self.progress_bar.unpause()
|
||||||
self.save(self.step_num)
|
|
||||||
|
|
||||||
async def _update_key(self, key, value):
|
async def _update_key(self, key, value):
|
||||||
if not self.accelerator.is_main_process:
|
if not self.accelerator.is_main_process:
|
||||||
|
|||||||
Reference in new issue
Block a user