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
Hi
I have encountered such a problem:assert len(optimizer_state["found_inf_per_device"]) > 0, "No inf checks were recorded for this optimizer."
AssertionError: No inf checks were recorded for this optimizer.
I checked my losses and it is a normal value.When I delete self. optimizer. zero_ grad(), it can run, but losses will not converge. May I ask what's going on here?
The text was updated successfully, but these errors were encountered:
Hi
I have encountered such a problem:assert len(optimizer_state["found_inf_per_device"]) > 0, "No inf checks were recorded for this optimizer."
AssertionError: No inf checks were recorded for this optimizer.
I checked my losses and it is a normal value.When I delete self. optimizer. zero_ grad(), it can run, but losses will not converge. May I ask what's going on here?
The text was updated successfully, but these errors were encountered: