Преглед изворни кода

Let model fail on non-inf loss

Lengyue пре 2 година
родитељ
комит
7031d18b3d
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      speech_lm/train.py

+ 0 - 1
speech_lm/train.py

@@ -138,7 +138,6 @@ def train(
                 optimizer,
                 max_norm=cfg.schedule.clip_grad_norm,
                 norm_type=2.0,
-                error_if_nonfinite=False,
             )
 
             # We can't average gradients across multiple steps