mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
minor fix
This commit is contained in:
parent
ae50acad8b
commit
3c405fb6fd
@ -868,7 +868,7 @@ def run(rank, world_size, args):
|
||||
model.device = device
|
||||
|
||||
if rank == 0:
|
||||
model_avg = model_avg.to(torch.device("cpu"))
|
||||
model_avg.to(torch.device("cpu"))
|
||||
model_avg.device = device
|
||||
|
||||
optimizer = Eve(model.parameters(), lr=params.initial_lr)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user