Fix slow gradcheck when outputs that don't require grad precede those that do#77743
Closed
soulitzer wants to merge 5 commits intogh/soulitzer/81/basefrom
Closed
Fix slow gradcheck when outputs that don't require grad precede those that do#77743soulitzer wants to merge 5 commits intogh/soulitzer/81/basefrom
soulitzer wants to merge 5 commits intogh/soulitzer/81/basefrom
Conversation
[ghstack-poisoned]
Contributor
🔗 Helpful links
❌ 1 New FailuresAs of commit a14ef97 (more details on the Dr. CI page): Expand to see more
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages
|
Collaborator
|
fwiw, to test that this works please uncomment the preprocessing formula used in the OpInfos of |
Contributor
Author
|
Ok its a bit more work to get this working with fast gradcheck, so just going to scope this PR to slow gradcheck. I think that's okay for now because we only use fast internally and we can just keep those wrappers that filter out the outputs in opinfo testing. |
malfet
approved these changes
May 24, 2022
facebook-github-bot
pushed a commit
that referenced
this pull request
May 26, 2022
… do (#77743) Summary: Pull Request resolved: #77743 Approved by: https://github.com/malfet Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/588826b38908cc30861a02b6a067654a8e1cbc52 Reviewed By: mehtanirav Differential Revision: D36668790 Pulled By: soulitzer fbshipit-source-id: d52753686cb92df7cf877107cc7dda3a22532219
This was referenced May 26, 2022
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack:
Future work: fix for fast gradcheck as well, that would a bit require more effort though
Fixes: #77230