فهرست منبع

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