Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add on_eval_epoch_end as a valid hook to TorchSnapshotSaver
Summary: When `TorchSnapshotSaver` is used with `save_every_n_eval_epochs > 0` and `best_checkpoint_config`, this hook is invoked. https://www.internalfb.com/code/fbsource/[a8a4a7fba9a8a93af7382fa12e669c066f41024f]/fbcode/torchtnt/framework/callbacks/base_checkpointer.py?lines=273 However, it fails due to not being considered a valid hook. This diff fixes that Differential Revision: D57083777
- Loading branch information