Skip to content

clarify implementation of check_grad_usage #64439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from

Conversation

dagitses
Copy link
Collaborator

@dagitses dagitses commented Sep 2, 2021

Stack from ghstack:

  1. remove unused fully_implemented
  2. rename used_grad to uses_grad and make it a boolean
  3. rename used_grads to num_grads_uses
  4. add comments explaining what some of the checks mean

Differential Revision: D30733904

1) remove unused fully_implemented
2) rename used_grad to uses_grad and make it a boolean
3) rename used_grads to num_grads_uses
4) add comments explaining what some of the checks mean

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

facebook-github-bot commented Sep 2, 2021

🔗 Helpful links

💊 CI failures summary and remediations

As of commit 5bc5c35 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


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.

Click here to manually regenerate this comment.

1) remove unused fully_implemented
2) rename used_grad to uses_grad and make it a boolean
3) rename used_grads to num_grads_uses
4) add comments explaining what some of the checks mean

[ghstack-poisoned]
@dagitses
Copy link
Collaborator Author

dagitses commented Sep 2, 2021

@dagitses has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

1) remove unused fully_implemented
2) rename used_grad to uses_grad and make it a boolean
3) rename used_grads to num_grads_uses
4) add comments explaining what some of the checks mean

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

[ghstack-poisoned]
@dagitses
Copy link
Collaborator Author

dagitses commented Sep 2, 2021

@dagitses has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Collaborator

@albanD albanD left a comment

Choose a reason for hiding this comment

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

Nice cleanup, thanks!

1) remove unused fully_implemented
2) rename used_grad to uses_grad and make it a boolean
3) rename used_grads to num_grads_uses
4) add comments explaining what some of the checks mean

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

[ghstack-poisoned]
@dagitses
Copy link
Collaborator Author

dagitses commented Sep 7, 2021

@dagitses has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

1) remove unused fully_implemented
2) rename used_grad to uses_grad and make it a boolean
3) rename used_grads to num_grads_uses
4) add comments explaining what some of the checks mean

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

[ghstack-poisoned]
@dagitses
Copy link
Collaborator Author

dagitses commented Sep 9, 2021

@dagitses has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

1) remove unused fully_implemented
2) rename used_grad to uses_grad and make it a boolean
3) rename used_grads to num_grads_uses
4) add comments explaining what some of the checks mean

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

[ghstack-poisoned]
@dagitses
Copy link
Collaborator Author

@dagitses has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

1) remove unused fully_implemented
2) rename used_grad to uses_grad and make it a boolean
3) rename used_grads to num_grads_uses
4) add comments explaining what some of the checks mean

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

[ghstack-poisoned]
@dagitses
Copy link
Collaborator Author

@dagitses has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

1) remove unused fully_implemented
2) rename used_grad to uses_grad and make it a boolean
3) rename used_grads to num_grads_uses
4) add comments explaining what some of the checks mean

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

[ghstack-poisoned]
@dagitses
Copy link
Collaborator Author

@dagitses has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@dagitses merged this pull request in 926a3d2.

@dagitses dagitses deleted the gh/dagitses/26/head branch September 18, 2021 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants