-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Generalize noncontiguous tests to several outputs #67996
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
Conversation
This is necessary for most matrix decompositions in `linalg`. [ghstack-poisoned]
CI Flow Status⚛️ CI FlowRuleset - Version:
You can add a comment to the PR and tag @pytorchbot with the following commands: # ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun
# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slow For more information, please take a look at the CI Flow Wiki. |
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 714d235 (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
This is necessary for most matrix decompositions in `linalg`. [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
if zero_dim: | ||
t = t.unsqueeze(0) | ||
|
||
# Handle conj bit. repeat_interleave resolves the conj, which is a bit annoying. |
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.
Nice catch
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.
Actually I don't see any reason why we need to resolve conjugation or negation for repeat_interleave
. We should register the repeat_interleave
as fallthrough for both Conjugate
and Negative
dispatch key and simply unset the conj/neg bit for self
before the computation and then reset it. repeats
is guaranteed to be an int tensor so we don't have to worry about it.
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.
It might be worth making this change in this PR so that you don't have to add special conj/neg handling
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
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.
Cool!
This is necessary for most matrix decompositions in `linalg`. cc mruberry [ghstack-poisoned]
Rebased @mruberry |
@mruberry has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
This is necessary for most matrix decompositions in `linalg`. cc mruberry Differential Revision: [D33774418](https://our.internmc.facebook.com/intern/diff/D33774418) [ghstack-poisoned]
@mruberry has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
This is necessary for most matrix decompositions in `linalg`. cc mruberry Differential Revision: [D33774418](https://our.internmc.facebook.com/intern/diff/D33774418) [ghstack-poisoned]
@mruberry has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
This is necessary for most matrix decompositions in `linalg`. cc mruberry Differential Revision: [D33774418](https://our.internmc.facebook.com/intern/diff/D33774418) [ghstack-poisoned]
@mruberry has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Summary: Pull Request resolved: #67996 This is necessary for most matrix decompositions in `linalg`. cc mruberry Test Plan: Imported from OSS Reviewed By: anjali411 Differential Revision: D33774418 Pulled By: mruberry fbshipit-source-id: 576f2dda9d484808b4acf0621514c0ffe26834e6
Summary: Pull Request resolved: #67996 This is necessary for most matrix decompositions in `linalg`. cc mruberry Test Plan: Imported from OSS Reviewed By: anjali411 Differential Revision: D33774418 Pulled By: mruberry fbshipit-source-id: 576f2dda9d484808b4acf0621514c0ffe26834e6 (cherry picked from commit fb07c50)
Summary: Pull Request resolved: pytorch/pytorch#67996 This is necessary for most matrix decompositions in `linalg`. cc mruberry Test Plan: Imported from OSS Reviewed By: anjali411 Differential Revision: D33774418 Pulled By: mruberry fbshipit-source-id: 576f2dda9d484808b4acf0621514c0ffe26834e6 (cherry picked from commit fb07c50)
Summary: Pull Request resolved: pytorch/pytorch#67996 This is necessary for most matrix decompositions in `linalg`. cc mruberry Test Plan: Imported from OSS Reviewed By: anjali411 Differential Revision: D33774418 Pulled By: mruberry fbshipit-source-id: 576f2dda9d484808b4acf0621514c0ffe26834e6 (cherry picked from commit fb07c50)
Summary: Pull Request resolved: pytorch/pytorch#67996 This is necessary for most matrix decompositions in `linalg`. cc mruberry Test Plan: Imported from OSS Reviewed By: anjali411 Differential Revision: D33774418 Pulled By: mruberry fbshipit-source-id: 576f2dda9d484808b4acf0621514c0ffe26834e6 (cherry picked from commit fb07c50)
Summary: Pull Request resolved: pytorch/pytorch#67996 This is necessary for most matrix decompositions in `linalg`. cc mruberry Test Plan: Imported from OSS Reviewed By: anjali411 Differential Revision: D33774418 Pulled By: mruberry fbshipit-source-id: 576f2dda9d484808b4acf0621514c0ffe26834e6 (cherry picked from commit fb07c50)
Stack from ghstack:
This is necessary for most matrix decompositions in
linalg
.cc @mruberry
Differential Revision: D33774418