transformers
6d0adb5b - Only call `torch.autocast` if it will have an effect (#42747)

Commit
59 days ago
Only call `torch.autocast` if it will have an effect (#42747) * Only call `torch.autocast` if it will have an effect Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> * whitespace Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> * fixup Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> * fix copies --------- Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Arthur <arthur.zucker@gmail.com>
Author
Parents
Loading