Add the missing optimizer argument
Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/528 Not passing optimizer object to shard_full_optim_state_dict() is being deprecated. This diff passes optimizer to shard_full_optim_state_dict(). Reviewed By: YanjunChen329 Differential Revision: D45065185 fbshipit-source-id: 0abec3eeff6e7c626eefc432c73e38779a6f02d9
Showing
Please register or sign in to comment