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
Multiple operations on complex numbers default to cpu (visible by aten:: in metrics report) or just do not work.
Specifically I have found:
defaulting to cpu:
torch.real(x), x.real
torch.imag(x) x.imag
torch.conj(x)
not working:
torch.abs(x) when x.requires_grad==True
prints: abs does not support automatic differentiation for outputs with complex dtype
There are probably many more that I have not found and i am happy to add to this list if other people finde more.
This is my First Issue so feel free to tell me if any Information is missing, or additional steps I can take.
The text was updated successfully, but these errors were encountered:
Lowering real and imag are pretty easy but lowering them as a view operator is a bit tircky. @bdhirsh Do you think it would make sense to wait for your functionalization change. Real and imag also changes dtype of the tensor (complexfloat -> f32 for example) which makes it a bit more tricky.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
🚀 Feature
Multiple operations on complex numbers default to cpu (visible by aten:: in metrics report) or just do not work.
Specifically I have found:
defaulting to cpu:
not working:
prints: abs does not support automatic differentiation for outputs with complex dtype
There are probably many more that I have not found and i am happy to add to this list if other people finde more.
This is my First Issue so feel free to tell me if any Information is missing, or additional steps I can take.
The text was updated successfully, but these errors were encountered: