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
When I try to use torch.utils.checkpoint.checkpoint as follows, and use apex to train the model, I found that the loss is so small as 0.4, but the normal loss is 2.x.
So, do you have some idea about this question?
for blk in self.blocks:
# x = blk(x)
x = torch.utils.checkpoint.checkpoint(blk, x)
The text was updated successfully, but these errors were encountered:
When I try to use torch.utils.checkpoint.checkpoint as follows, and use apex to train the model, I found that the loss is so small as 0.4, but the normal loss is 2.x.
So, do you have some idea about this question?
The text was updated successfully, but these errors were encountered: