Improve error message for torch.fft.ihfft2 when input's dtype is complex#149692
Improve error message for torch.fft.ihfft2 when input's dtype is complex#149692shink wants to merge 2 commits intopytorch:mainfrom
torch.fft.ihfft2 when input's dtype is complex#149692Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/149692
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit 1192c9b with merge base 28cb3c0 ( UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
torch.fft.rfft2 when torch.fft.rfft2 when input's dtype is complex
torch.fft.rfft2 when input's dtype is complextorch.fft.ihfft2 when input's dtype is complex
|
@pytorchbot label "topic: not user facing" |
|
@pytorchbot rebase -b main |
|
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
|
Successfully rebased |
0d39398 to
1630d1a
Compare
|
@pytorchbot rebase -b main |
|
@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here |
|
Successfully rebased |
1630d1a to
1192c9b
Compare
|
@malfet Could you please help review this? Thanks! |
malfet
left a comment
There was a problem hiding this comment.
Looks great, thank you for updating error message
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
…mplex (pytorch#149692) Fixes pytorch#149625 For the case mentioned in the issue, will get: ``` RuntimeError: Only supports floating-point dtypes, but found: ComplexDouble ``` Pull Request resolved: pytorch#149692 Approved by: https://github.com/malfet
Fixes #149625
For the case mentioned in the issue, will get: