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
b0fc5b7a83
commit
796be81be8
Binary file not shown.
Binary file not shown.
@ -1572,7 +1572,8 @@ def run_adapter(rank, world_size, args, wb=None):
|
||||
model_avg: Optional[nn.Module] = None
|
||||
if rank == 0:
|
||||
# model_avg is only used with rank 0
|
||||
model_avg = copy.deepcopy(model).to(torch.float64)
|
||||
#model_avg = copy.deepcopy(model).to(torch.float64)
|
||||
model_avg = None
|
||||
|
||||
assert params.start_epoch > 0, params.start_epoch
|
||||
checkpoints = load_checkpoint_if_available(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user