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
Summary:
Pull Request resolved: #1874
`KeyedOptimizer.test_init_state` test started failing since upstream pytorch changes: pytorch/pytorch#122349 (and later follow up: pytorch/pytorch#123757), which only initializes the state for param groups if momentum is enabled for SGD.
Updating unit test to enable momentum fixes it. Also adding a new unit test to check state if momentum is disabled.
Reviewed By: henrylhtsang
Differential Revision: D56076424
fbshipit-source-id: e3d5ae063a5187d2d8702ad7f0bb4b2791b954fe
0 commit comments