Fix unreachable validation for gradcheck#37915
Conversation
💊 CI failures summary and remediationsAs of commit b01475b (more details on the Dr. CI page):
ci.pytorch.org: 1 failedThis 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 on the GitHub issue tracker. This comment has been revised 23 times. |
|
Hi, Thanks for catching this. |
|
That's true... I'll try to update the tests. |
|
@albanD Would you please give me an advise?
This I think we should choose one of the following:
|
|
The current gradcheck code seems to handle the case where some inputs do not require gradients. |
albanD
left a comment
There was a problem hiding this comment.
Thanks !
The complex errors are most likely because you rebased on master when it was broken this morning :/
could you rebase again please to make sure all is good?
486748c to
b01475b
Compare
|
I merged the current master branch, but it fails with 1 test... 🤔 |
|
No worries, this one is a known issue ;) Thanks for the PR ! |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@albanD is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: Hi, I found the validation that is unreachable in `gradcheck` function :) Pull Request resolved: pytorch#37915 Differential Revision: D21551661 Pulled By: albanD fbshipit-source-id: 8acadcc09cd2afb539061eda0ca5e98860e321eb
Hi, I found the validation that is unreachable in
gradcheckfunction :)