mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
deepspeed
This commit is contained in:
parent
a581e50e30
commit
4121b8907c
@ -439,7 +439,7 @@ class Trainer:
|
||||
if self.use_deepspeed:
|
||||
ckpt = os.path.join(self.output_dir, "ds-model.pt")
|
||||
if os.path.exists(ckpt):
|
||||
_, checkpoint = model.load_checkpoint(ckpt)
|
||||
_, checkpoint = model.load_checkpoint(self.output_dir, "ds-model.pt")
|
||||
self.start_epoch = checkpoint["epoch"]
|
||||
self.saved_ckpts = checkpoint["saved_ckpts"]
|
||||
self.val_acc_step_or_eoch = (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user