You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that use_amp is deprecated but since the Trainer still accepts it as an argument, I believe this is still a bug.
The issue is that the hook that deals with this specifically checks if trainer.precision == 16. However, the Trainer does not set precision = 16 if use_amp = True.
Proposed solution:
if use_amp is passed in, set precision = 16 and raise a deprecation warning.
The text was updated successfully, but these errors were encountered:
I see that
use_amp
is deprecated but since the Trainer still accepts it as an argument, I believe this is still a bug.The issue is that the hook that deals with this specifically checks if
trainer.precision == 16
. However, the Trainer does not setprecision = 16
ifuse_amp = True
.Proposed solution:
if
use_amp
is passed in, set precision = 16 and raise a deprecation warning.The text was updated successfully, but these errors were encountered: