Skip to content

Conversation

rohan-varma
Copy link
Contributor

@rohan-varma rohan-varma commented Mar 26, 2021

Stack from ghstack:

We mark a few vars as const in Reducer, also do this for replicas_ and
process_group_ as they should not be changed by Reducer during training.

Differential Revision: D27357132

We mark a few vars as const in Reducer, also do this for replicas_ and
process_group_ as they should not be changed by Reducer during training. This
can help eliminate issues at compile time and prevent the developer from
accidently changing these variables.

Differential Revision: [D27357132](https://our.internmc.facebook.com/intern/diff/D27357132/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Mar 26, 2021

💊 CI failures summary and remediations

As of commit 143c79b (more details on the Dr. CI page):


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-scanned failure(s)

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

@facebook-github-bot facebook-github-bot added oncall: distributed Add this issue/PR to distributed oncall triage queue cla signed labels Mar 26, 2021
rohan-varma added a commit that referenced this pull request Mar 26, 2021
We mark a few vars as const in Reducer, also do this for replicas_ and
process_group_ as they should not be changed by Reducer during training. This
can help eliminate issues at compile time and prevent the developer from
accidently changing these variables.

Differential Revision: [D27357132](https://our.internmc.facebook.com/intern/diff/D27357132/)

ghstack-source-id: 124983037
Pull Request resolved: #54764
Copy link
Contributor

@wayi1 wayi1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for improving the code quality!

We mark a few vars as const in Reducer, also do this for replicas_ and
process_group_ as they should not be changed by Reducer during training.

Differential Revision: [D27357132](https://our.internmc.facebook.com/intern/diff/D27357132/)

[ghstack-poisoned]
rohan-varma added a commit that referenced this pull request Mar 26, 2021
Pull Request resolved: #54764

We mark a few vars as const in Reducer, also do this for replicas_ and
process_group_ as they should not be changed by Reducer during training. This
can help eliminate issues at compile time and prevent the developer from
accidently changing these variables.
ghstack-source-id: 125040110

Differential Revision: [D27357132](https://our.internmc.facebook.com/intern/diff/D27357132/)
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 5c3d80d.

@facebook-github-bot facebook-github-bot deleted the gh/rohan-varma/273/head branch March 31, 2021 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed Merged oncall: distributed Add this issue/PR to distributed oncall triage queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants