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
These have different semantics today. finalize accepts success/failure, while teardown accepts the stage (ie fitvalidatetestpredict), but does not give an indication about success/failure. How do you plan to bridge this?
Proposed refactor
Rename
finalize
toteardown
in Logger API:https://github.com/PyTorchLightning/pytorch-lightning/blob/86b177ebe5427725b35fde1a8808a7b59b8a277a/pytorch_lightning/loggers/base.py#L319-L325
Motivation
teardown
is the name we use in other classes in Lightning for the purpose of doing any final processing/cleanup.Similar to #10939
This was discussed in #9004 (reply in thread)
cc @justusschock @awaelchli @akihironitta @rohitgr7 @edward-io @Borda @ananthsub @kamil-kaczmarek @Raalsky @Blaizzy @tchaton
The text was updated successfully, but these errors were encountered: