mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
90c6e6531c
commit
6fbbacf94c
Binary file not shown.
@ -1142,6 +1142,11 @@ def train_one_epoch(
|
||||
rank=rank,
|
||||
)
|
||||
del params.cur_batch_idx
|
||||
|
||||
if rank == 0:
|
||||
for i, lora in enumerate(lora_modules):
|
||||
lora.save_checkpoint(i, params.exp_dir)
|
||||
|
||||
'''
|
||||
remove_checkpoints(
|
||||
out_dir=params.exp_dir,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user