-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Avoid calling allclose in the backward if there are tensor subclasses #91444
Conversation
`allclose` it's data-dependent (returns a bool) so it does not play well with functorch. We are skipping that check in the context of subclasses to avoid hard errors. [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/91444
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 FailuresAs of commit cbb629d: NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
`allclose` it's data-dependent (returns a bool) so it does not play well with functorch. We are skipping that check in the context of subclasses to avoid hard errors. ghstack-source-id: 43e9d6e23047be7c6fed4198ea32408531dc7688 Pull Request resolved: #91444
… subclasses" `allclose` it's data-dependent (returns a bool) so it does not play well with functorch. We are skipping that check in the context of subclasses to avoid hard errors. Partially fixes #90499 cc zou3519 Chillee samdow soumith [ghstack-poisoned]
`allclose` it's data-dependent (returns a bool) so it does not play well with functorch. We are skipping that check in the context of subclasses to avoid hard errors. ghstack-source-id: cc6278acefadb56f61e946f3764f4675274cbd9b Pull Request resolved: #91444
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
@pytorchbot merge -f "unrelated error" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Stack from ghstack (oldest at bottom):
allclose
it's data-dependent (returns a bool) so it does not play wellwith functorch. We are skipping that check in the context of subclasses
to avoid hard errors.
Partially fixes #90499
cc @zou3519 @Chillee @samdow @soumith