mirror of https://github.com/InternLM/InternLM
fix
parent
d2e01dfed8
commit
e41a6b7c28
|
@ -996,7 +996,7 @@ now step_count is {train_state.step_count}",
|
|||
if (
|
||||
train_state.step_count > 0
|
||||
and train_state.step_count % self.checkpoint_every == 0
|
||||
or train_state.step_count == train_state.total_steps
|
||||
or train_state.batch_count == (train_state.total_steps - 1)
|
||||
):
|
||||
save_ckpts, save_type = True, CheckpointSaveType.NORMAL_CHECKPOINT
|
||||
|
||||
|
|
Loading…
Reference in New Issue