Removed deprecated torch.symeig and added torch.linalg.eigh#3272
Merged
JackCaoG merged 1 commit intopytorch:masterfrom Jan 24, 2023
Merged
Removed deprecated torch.symeig and added torch.linalg.eigh#3272JackCaoG merged 1 commit intopytorch:masterfrom
JackCaoG merged 1 commit intopytorch:masterfrom
Conversation
3 tasks
Contributor
Author
|
Build fails with The same failure is on the master branch. |
Collaborator
|
@IvanYashchuk We are working on the fix, I will keep you updated. |
1 task
JackCaoG
approved these changes
Jan 28, 2022
Collaborator
JackCaoG
left a comment
There was a problem hiding this comment.
Minor nits, don't want to block the merge if it is urgent.
| AllowedOpInfoEntry('linalg.cholesky_ex'), | ||
| AllowedOpInfoEntry('linalg.eig'), | ||
| # Tests fail because absolute values of eigenvectors should be compared | ||
| # AllowedOpInfoEntry('linalg.eigh'), |
Collaborator
There was a problem hiding this comment.
nit, can we move this line back to the below disabled list?
Contributor
|
@IvanYashchuk Should we revive this PR? |
Contributor
Author
|
Yes, I'll do it shortly. |
IvanYashchuk
added a commit
to IvanYashchuk/pytorch
that referenced
this pull request
Jan 24, 2023
Updating the pin pointing to pytorch/xla#3272 It should resolve XLA failures introduced after merging pytorch#70988
Contributor
Author
|
@JackCaoG, PR removing |
commit 61c7b32 Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Tue Jan 24 13:42:13 2023 +0200 clang-format commit 24540af Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Tue Jan 24 13:40:24 2023 +0200 Remove symeig, add linalg_eigh to the header commit 7247ed8 Merge: b83ae64 70cc629 Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Tue Jan 24 13:35:03 2023 +0200 Merge remote-tracking branch 'upstream/master' into remove-deprecated-symeig commit b83ae64 Merge: e425589 281f369 Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Wed Nov 23 11:01:53 2022 +0200 Merge remote-tracking branch 'upstream/master' into remove-deprecated-symeig commit e425589 Merge: 7eb9a56 a41a04b Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Sat Jan 29 16:45:49 2022 +0000 Merge remote-tracking branch 'upstream/master' into remove-deprecated-symeig commit 7eb9a56 Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Sat Jan 29 11:11:38 2022 +0000 Revert changes to test/test_ops.py commit 3ca7b74 Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Thu Jan 27 11:15:13 2022 +0000 clang-format-7 commit be7fd91 Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Thu Jan 27 10:30:26 2022 +0000 Skip eigh OpInfo test commit adae41f Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Thu Jan 27 10:26:58 2022 +0000 clang-format-7 commit a820fa7 Merge: b826a4b 138a70f Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Thu Jan 27 10:17:17 2022 +0000 Merge remote-tracking branch 'upstream/master' into remove-deprecated-symeig commit b826a4b Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Thu Jan 27 10:17:12 2022 +0000 Revert "Try branch with linalg_qr symbol" This reverts commit d01e622. commit d01e622 Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Thu Jan 13 01:41:21 2022 -0600 Try branch with linalg_qr symbol commit 83b1fa2 Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Fri Jan 14 03:46:35 2022 -0600 clang-format-7 commit 518d47a Merge: 37f3e0e 7ff6a2c Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Fri Jan 14 03:45:16 2022 -0600 Merge remote-tracking branch 'upstream/master' into remove-deprecated-symeig commit 37f3e0e Merge: d6c20a2 ddbc333 Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Fri Jan 7 08:24:31 2022 +0000 Merge remote-tracking branch 'upstream/master' into remove-deprecated-symeig commit d6c20a2 Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Mon Jan 3 14:34:57 2022 +0000 linalg::eigh -> linalg_eigh commit ac6db4d Author: Ivan Yashchuk <ivan.yashchuk@aalto.fi> Date: Mon Jan 3 14:23:13 2022 +0000 Removed torch.symeig and added torch.linalg.eigh
61c7b32 to
ac3973e
Compare
JackCaoG
added a commit
that referenced
this pull request
Jan 24, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
torch.symeigwas deprecated in 1.9 release and will be removed in the next 1.11 release. This PR removessymeigand replaces it withlinalg_eigh.pytorch/pytorch#69857 that removes deprecated functions in PyTorch is currently blocked by pytorch/xla (see this failing CI).