Skip to content

Conversation

@kurtamohler
Copy link
Collaborator

@kurtamohler kurtamohler commented Aug 10, 2020

  • Adds support for n > k
  • Throw error if m >= n >= k is not true
  • Updates existing error messages to match argument names shown in public docs
  • Adds error tests

Fixes #41776

@kurtamohler kurtamohler force-pushed the orgqr-size-conditions-fix branch from e8cbeb8 to 83ca96b Compare August 10, 2020 19:38
@dr-ci
Copy link

dr-ci bot commented Aug 10, 2020

💊 CI failures summary and remediations

As of commit 4bf9557 (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 on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 3 times.

Copy link
Collaborator

@albanD albanD left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

There was no actual check that n==k before?

@mattip
Copy link
Contributor

mattip commented Aug 10, 2020

There was no actual check that n==k before?

Correct. The normative use for this function is as a chained function from the output of geqrf, i.e., Q = torch.orgqr(torch.geqrf(input)) so the current tests do not consider it separately from geqrf

Copy link
Contributor

@mattip mattip left a comment

Choose a reason for hiding this comment

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

LGTM. There is only CPU dispatch for this function, so we don't have to worry about the CUDA equivalent.

@smessmer smessmer added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Aug 10, 2020
Copy link
Collaborator

@albanD albanD left a comment

Choose a reason for hiding this comment

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

Sounds good. Thanks.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@albanD has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@albanD has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@albanD merged this pull request in 2c8cbd7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged open source triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

torch.orgqr aborts and core dump

7 participants