-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ONNX][Complex] Support view_as_complex #49793
Comments
I'm also trying to do it myself, following this doc, but I'm quite new to pytorch. I'm not sure how to implement a new method which is not standardized in Onnx. |
@iou2much - We can put this on the backlog, but we do not have immediate plans for adding support for this. Please consider sending a PR for adding support. If you are trying to export this as custom op, I think this doc could be useful. |
Thank you. Let me try |
Is there still not enough interest to support this? Note that the STFT ONNX operator on PyTorch requires this and |
@urinieto we will need new onnx operators to support this. I can create an issue when I鈥檓 back |
Complex number support will be handled via the torch.onnx.dynamo_export exporter. |
When will this be available in dev builds? |
It is available. You can use the latest onnxscript |
It seems that there is still problem of exporting complex number with dynamo_export |
馃殌 Feature
would you support view_as_complex for converting to onnx model? Thanks a lot
Motivation
when I try to convert a nn contains complex tensor computation, it says:
Pytorch export onnx: RuntimeError Exporting the operator view_as_complex to ONNX opset version 9 is not supported. Please open a bug to request ONNX export support for the missing operator
also : onnx/onnx#3173
cc @houseroad @spandantiwari @lara-hdr @BowenBao @neginraoof
The text was updated successfully, but these errors were encountered: