Skip to content

Enable complex tests that depend on batched matmul on CUDA#47910

Closed
IvanYashchuk wants to merge 6 commits intopytorch:masterfrom
IvanYashchuk:fix-batched-complex-tests
Closed

Enable complex tests that depend on batched matmul on CUDA#47910
IvanYashchuk wants to merge 6 commits intopytorch:masterfrom
IvanYashchuk:fix-batched-complex-tests

Conversation

@IvanYashchuk
Copy link
Copy Markdown
Collaborator

Now when #42553 is merged we can delete a bit of code from the tests and enable some of the skipped complex tests.

Unfortunately, test_pinverse_complex_xfailed and test_symeig_complex_xfailed had bugs and it wasn't caught automatically that these tests xpass. Need to be careful next time with unittest.expectedFailure.

@IvanYashchuk IvanYashchuk added the module: complex Related to complex number support in PyTorch label Nov 13, 2020
@dr-ci
Copy link
Copy Markdown

dr-ci Bot commented Nov 13, 2020

💊 CI failures summary and remediations

As of commit 95475fa (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 15 times.

@smessmer smessmer added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Nov 13, 2020
@IvanYashchuk
Copy link
Copy Markdown
Collaborator Author

lu_solve was reverted. I need to update this PR.

@IvanYashchuk IvanYashchuk marked this pull request as draft November 14, 2020 11:20
@IvanYashchuk IvanYashchuk marked this pull request as ready for review November 16, 2020 21:04
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 17, 2020

Codecov Report

Merging #47910 (95475fa) into master (550f26c) will decrease coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #47910      +/-   ##
==========================================
- Coverage   81.32%   81.17%   -0.16%     
==========================================
  Files        1839     1839              
  Lines      198601   198601              
==========================================
- Hits       161522   161218     -304     
- Misses      37079    37383     +304     

Copy link
Copy Markdown
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! Thanks @IvanYashchuk. It's great to see these "Better Engineering" PRs!

Copy link
Copy Markdown
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.

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@mruberry merged this pull request in 81b1673.

laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…7910)

Summary:
Now when pytorch#42553 is merged we can delete a bit of code from the tests and enable some of the skipped complex tests.

Unfortunately, `test_pinverse_complex_xfailed` and `test_symeig_complex_xfailed` had bugs and it wasn't caught automatically that these tests xpass. Need to be careful next time with `unittest.expectedFailure`.

Pull Request resolved: pytorch#47910

Reviewed By: zhangguanheng66

Differential Revision: D25052130

Pulled By: mruberry

fbshipit-source-id: 29512995c024b882f9cb78b7bede77733d5762d0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed Merged module: complex Related to complex number support in PyTorch 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.

5 participants