Skip to content

Conversation

@IvanYashchuk
Copy link
Collaborator

@IvanYashchuk IvanYashchuk commented Apr 16, 2021

Stack from ghstack:

CPU and cuSOLVER path were fixed with refactoring of
_linalg_qr_helper_default.

Resolves #50576

Differential Revision: D27960157

CPU and cuSOLVER path were fixed with refactoring of
`_linalg_qr_helper_default`.

Resolves #50576

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Apr 16, 2021

💊 CI failures summary and remediations

As 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.

Click here to manually regenerate this comment.

IvanYashchuk added a commit that referenced this pull request Apr 16, 2021
CPU and cuSOLVER path were fixed with refactoring of
`_linalg_qr_helper_default`.

Resolves #50576

ghstack-source-id: 90ea3c6
Pull Request resolved: #56257
@IvanYashchuk IvanYashchuk added the module: linear algebra Issues related to specialized linear algebra operations in PyTorch; includes matrix multiply matmul label Apr 16, 2021
CPU and cuSOLVER path were fixed with refactoring of
`_linalg_qr_helper_default`.

Resolves #50576

[ghstack-poisoned]
IvanYashchuk added a commit that referenced this pull request Apr 16, 2021
CPU and cuSOLVER path were fixed with refactoring of
`_linalg_qr_helper_default`.

Resolves #50576

ghstack-source-id: afc1819
Pull Request resolved: #56257
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]
IvanYashchuk added a commit that referenced this pull request Apr 19, 2021
CPU and cuSOLVER path were fixed with refactoring of
`_linalg_qr_helper_default`.

Resolves #50576

ghstack-source-id: fb50581
Pull Request resolved: #56257
CPU and cuSOLVER path were fixed with refactoring of
`_linalg_qr_helper_default`.

Resolves #50576

[ghstack-poisoned]
IvanYashchuk added a commit that referenced this pull request Apr 20, 2021
CPU and cuSOLVER path were fixed with refactoring of
`_linalg_qr_helper_default`.

Resolves #50576

ghstack-source-id: 9984196
Pull Request resolved: #56257
@IvanYashchuk IvanYashchuk removed the request for review from antocuni April 21, 2021 07:19
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'
Copy link
Collaborator

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

Copy link
Collaborator Author

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)]
Copy link
Collaborator

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?

Copy link
Collaborator Author

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]
IvanYashchuk added a commit that referenced this pull request Apr 26, 2021
CPU and cuSOLVER path were fixed with refactoring of
`_linalg_qr_helper_default`.

Resolves #50576

ghstack-source-id: 6d83621
Pull Request resolved: #56257
@IvanYashchuk
Copy link
Collaborator Author

@mruberry, I extended the test_linalg.py tests with single matrix empty and batched empty inputs. The tests are failing on master and this PR resolves the failures.

@mruberry mruberry self-requested a review April 27, 2021 08:44
Copy link
Collaborator

@mruberry mruberry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

I've asked @xwang233 and @lezcano to help with the two unapproved PRs in the unmerged half of this stack.

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]
IvanYashchuk added a commit that referenced this pull request Apr 29, 2021
CPU and cuSOLVER path were fixed with refactoring of
`_linalg_qr_helper_default`.

Resolves #50576

ghstack-source-id: dfe3d15
Pull Request resolved: #56257
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]
IvanYashchuk added a commit to IvanYashchuk/pytorch that referenced this pull request Apr 29, 2021
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
@facebook-github-bot
Copy link
Contributor

@mruberry merged this pull request in f54aa85.

@facebook-github-bot facebook-github-bot deleted the gh/ivanyashchuk/18/head branch May 4, 2021 14:16
krshrimali pushed a commit to krshrimali/pytorch that referenced this pull request May 19, 2021
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed Merged module: linear algebra Issues related to specialized linear algebra operations in PyTorch; includes matrix multiply matmul open source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants