mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
deepspeed
This commit is contained in:
parent
66411e2b5b
commit
6f48269f42
@ -231,7 +231,7 @@ class Trainer:
|
||||
model.save_checkpoint(
|
||||
save_dir=self.output_dir, tag=f"ds-model.pt", client_state=state
|
||||
)
|
||||
if not (step is None and epoch != 0):
|
||||
if not (step is None and epoch == 0):
|
||||
if self.best_step_or_epoch == "":
|
||||
self.best_step_or_epoch = ckpt_name
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user