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 had today a relatively long debug session, after I've upgraded my Pytorch Lightning installation, that the training_step wasn't called.
It finally turned out, that the problem was that the "closure" argument is not used in the step function (it is commented out - as also noted in the source code).
However, as it is apparently required by some libraries and is also recommended by the official PyTorch guidelines, it would be great if it would be better documented, that people might need to enable these lines.
Thanks in advance.
kapenon, IlyaBizyaev, zhaolotelli, johnmccain, NRshka and 2 more