Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Pull Request resolved: pytorch#503 # Context DDP UTs are broken. Reason is we're using underlying `get_swa_multi_avg_fn` which doesn't support integers (our labels) any longer. The proper solution would be to get `get_swa_multi_avg_fn` to support ints, but for now implementing this as a fix to get UTs properly running. # This diff Add a custom `avg_fn` to unblock tests Reviewed By: JKSenthil Differential Revision: D48337970 fbshipit-source-id: 760ba0fcbec746e3a4c550a5e738a7bedd782555
- Loading branch information