-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Fix MAGMA qr for empty batched inputs #56257
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
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves #50576 [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 9f3e18c (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. |
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves #50576 [ghstack-poisoned]
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves #50576 [ghstack-poisoned]
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves #50576 [ghstack-poisoned]
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves #50576 [ghstack-poisoned]
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves #50576 [ghstack-poisoned]
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves #50576 [ghstack-poisoned]
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves #50576 [ghstack-poisoned]
| This function generates input for torch.linalg.qr | ||
| The input is generated as the itertools.product of 'batches' and 'ns'. | ||
| """ | ||
| # TODO: add 0 to 'ns' and (0, ) to 'batches' |
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.
Does this fix address the cited issue? #50576
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 does. I forgot to remove this TODO.
| # https://github.com/pytorch/pytorch/issues/50576 | ||
| batches = [(), (2, ), (1, 1)] | ||
| ns = [2, 5] | ||
| batches = [(), (0,), (2, ), (1, 1)] |
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.
Updating sample inputs is cool, but I think we should extend the test_linalg.py tests for this, too?
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.
You're right, I'll update it.
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves #50576 Differential Revision: [D27960157](https://our.internmc.facebook.com/intern/diff/D27960157) [ghstack-poisoned]
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves #50576 Differential Revision: [D27960157](https://our.internmc.facebook.com/intern/diff/D27960157) [ghstack-poisoned]
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves #50576 Differential Revision: [D27960157](https://our.internmc.facebook.com/intern/diff/D27960157) [ghstack-poisoned]
|
@mruberry, I extended the |
mruberry
left a comment
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.
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves #50576 Differential Revision: [D27960157](https://our.internmc.facebook.com/intern/diff/D27960157) [ghstack-poisoned]
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves #50576 Differential Revision: [D27960157](https://our.internmc.facebook.com/intern/diff/D27960157) [ghstack-poisoned]
CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves pytorch#50576 ghstack-source-id: c3aa439 Pull Request resolved: pytorch#56257
Summary: Pull Request resolved: pytorch#56257 CPU and cuSOLVER path were fixed with refactoring of `_linalg_qr_helper_default`. Resolves pytorch#50576 Test Plan: Imported from OSS Reviewed By: ngimel Differential Revision: D27960157 Pulled By: mruberry fbshipit-source-id: f923f3067a35e65218889e64c6a886364c3d1759
Stack from ghstack:
CPU and cuSOLVER path were fixed with refactoring of
_linalg_qr_helper_default.Resolves #50576
Differential Revision: D27960157