You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@GioPede, thanks for getting this going! A function that implies Hermitian input in its name but doesn't allow it is indeed a bug! :D I started a PR with some tests on your fork. Since you probably don't watch your own fork, I write a note about this here.
Also, just to make sure we have this discussion also here: This fix only works for non-distributed input, since the _eigh function for distributed input requires percentile, which requires sort, which doesn't allow complex input.
@GioPede, thanks for getting this going! A function that implies Hermitian input in its name but doesn't allow it is indeed a bug! :D I started a PR with some tests on your fork. Since you probably don't watch your own fork, I write a note about this here.
Also, just to make sure we have this discussion also here: This fix only works for non-distributed input, since the _eigh function for distributed input requires percentile, which requires sort, which doesn't allow complex input.
Addendum after discussing this in our meeting on Jun 8th.
ht.sort does not support complex dtypes because torch.sort doesn't. We could of course provide at least the CPU functionality via numpy.
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
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.
Description
Small relaxation of the checks in
linalg.eighto allow complex-valued matricesIssue/s resolved: #
#2327
Changes proposed:
Type of change
Does this change modify the behaviour of other functions? If so, which?
no