Add logging for checkpointer type, distributed mode, and checkpointing mode in d2go
Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/534 Currently, d2go supports 2 checkpointers, 2 distributed modes and 3 checkpointing modes. The many options make it hard to maintain and manage all use cases. For example, after the recent migration to FSDP sharded_state_dict, it's hard to understand and trace down the usage of the deprecated version. Per crassirostris and wat3rBro's advice, this diff add API loggings to better keep track of checkpointer usage in d2go. ## Appendix 2 checkpointers: FSDPCheckpointer, AIInfraCheckpointer 2 distributed modes: ddp, fsdp 3 checkpointing modes (fsdp only): local_state_dict, sharded_state_dict, full_state_dict Reviewed By: tglik Differential Revision: D45385021 fbshipit-source-id: 5d2cb115ed0fdada254b819793e376e410ecd97d
Showing
Please register or sign in to comment