Put validation loss under amp_autocast

Secured the loss evaluation under the amp, avoiding function to operate on float16
pull/1586/head
Lorenzo Baraldi 2 years ago
parent 7c4ed4d5a4
commit 3d6bc42aa1
Loading…
Cancel
Save