-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: # Problem Problem is once we wrap DP tables with DDP, the parameters are the same, but not synced. So if we reset the parameters in the table without using the same manual seed, it could cause the DP table parameters to be different. In other words, DP tables would be initialized differently. # Fix There are a few ways to fix it. This is the way we believe to be least invasive and follow the spirit of the api. What we do: 1. Broadcast DP tables of rank 0 to all other ranks 2. This only happens during init, or when we call reset_parameters Reviewed By: joshuadeng Differential Revision: D55227979 fbshipit-source-id: 52c225501df86cf35b196afff48dc2fa88e7a2c3
- Loading branch information
1 parent
9b1f395
commit cc482f8
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters