Skip to content

Commit 7f479f4

Browse files
lyglstGoogle-ML-Automation
authored andcommitted
Remove redundant checkpoint condition.
PiperOrigin-RevId: 893067954
1 parent 4e44e06 commit 7f479f4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/maxtext/common/checkpointing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,6 @@ def save_checkpoint(checkpoint_manager, step, state, config=None, data_iterator=
761761
if (
762762
force
763763
or (step % config.checkpoint_period == 0 and not config.enable_continuous_checkpointing)
764-
or (step % config.checkpoint_period == 0)
765764
or (config.enable_emergency_checkpoint and step % config.local_checkpoint_period == 0)
766765
or (config.enable_autocheckpoint and checkpoint_manager.reached_preemption(step))
767766
):

0 commit comments

Comments
 (0)