-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure fused_params does not get modify and affect another sharder (#…
…2633) Summary: Pull Request resolved: #2633 Sometimes fused_params can be modified in between sharding for inference. Here, we deepcopy to ensure this doesn't happen Reviewed By: ZhengkaiZ Differential Revision: D67104769 fbshipit-source-id: 9bdcd9112f7630ccd58226318ce06dc4e40102cc
- Loading branch information
1 parent
8afe20e
commit a83a371
Showing
2 changed files
with
24 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