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
bd2eea831e
commit
5a56f4adfb
Binary file not shown.
@ -1123,7 +1123,8 @@ def run(rank, world_size, args):
|
||||
valid_cuts = librispeech.dev_clean_cuts()
|
||||
valid_cuts += librispeech.dev_other_cuts()
|
||||
valid_dl = librispeech.valid_dataloaders(valid_cuts)
|
||||
|
||||
|
||||
'''
|
||||
if not params.print_diagnostics:
|
||||
scan_pessimistic_batches_for_oom(
|
||||
model=model,
|
||||
@ -1132,6 +1133,7 @@ def run(rank, world_size, args):
|
||||
sp=sp,
|
||||
params=params,
|
||||
)
|
||||
'''
|
||||
|
||||
scaler = GradScaler(enabled=params.use_fp16, init_scale=1.0)
|
||||
if checkpoints and "grad_scaler" in checkpoints:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user