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
fix RecMetrics loading (make trained_batches a buffer) (#3534)
Summary:
This diff addresses the following task: T209753398
Currently `trained_batches` is not stored in state_dict, requiring us to manually sync this variable upon checkpoint loading. We make this variable a buffer so that it can now be captured with model state dict.
Differential Revision: D86697665
0 commit comments