-
Notifications
You must be signed in to change notification settings - Fork 24.3k
[ONNX] STFT doesn't support complex inputs #107677
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Supported by the torch.onnx.dynamo_export exporter. Please test with the latest torch-nightly build. Thanks! |
still error, Traceback (most recent call last): code: class DataCov(nn.Module):
def export(): if name == 'main': version: Collecting environment information... OS: Ubuntu 22.04.3 LTS (x86_64) Python version: 3.11.4 (main, Jul 5 2023, 13:45:01) [GCC 11.2.0] (64-bit runtime) CPU: Versions of relevant libraries: ONNX Script: |
in windows 10: C:\Users\dell\miniconda3\envs\onnx_export\Lib\site-packages\torch\onnx_internal\exporter.py:130: UserWarning: torch.onnx.dynamo_export only implements opset version 18 for now. If you need to use a different opset version, please register them with register_custom_op. The above exception was the direct cause of the following exception: Traceback (most recent call last): |
What’s your onnx version? Could you test with the latest onnx (1.14)? |
after install onnxscript-preview onnx is 1.14 |
to see #107922 |
Have you solved this problem?
Have you solved this problem? |
I realized we needed to support a few more ops for stft. We are in the process of supporting that. @thiagocrepaldi @BowenBao for comments on windows support |
Already done or going on? |
It should be done. |
I‘m trying to transfer an pytorch pt model to onnx,but it failed. The code:
The software version:onnx 1.16.0 Thanks! |
Have you solved it? |
I try to use torch.onnx.dynamo_export, but got this: |
Uh oh!
There was an error while loading. Please reload this page.
🐛 Describe the bug
code:
error:
Versions
Collecting environment information...
PyTorch version: 2.1.0.dev20230821
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: Microsoft Windows 10 专业版
GCC version: (Rev5, Built by MSYS2 project) 13.1.0
Clang version: Could not collect
CMake version: version 3.26.4
Libc version: N/A
Python version: 3.11.4 | packaged by conda-forge | (main, Jun 10 2023, 17:59:51) [MSC v.1935 64 bit (AMD64)] (64-bit runtime)
Python platform: Windows-10-10.0.19045-SP0
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Revision=
Versions of relevant libraries:
[pip3] numpy==1.25.2
[pip3] torch==2.1.0.dev20230821
[pip3] torchaudio==2.1.0.dev20230822
[pip3] torchvision==0.16.0.dev20230821
[conda] blas 2.106 mkl conda-forge
[conda] cpuonly 2.0 0 pytorch-nightly
[conda] libblas 3.9.0 6_mkl conda-forge
[conda] libcblas 3.9.0 6_mkl conda-forge
[conda] liblapack 3.9.0 6_mkl conda-forge
[conda] liblapacke 3.9.0 6_mkl conda-forge
[conda] mkl 2020.4 hb70f87d_311 conda-forge
[conda] mpmath 1.2.1 py311_0 pytorch-nightly
[conda] numpy 1.25.2 py311h0b4df5a_0 conda-forge
[conda] pytorch 2.1.0.dev20230821 py3.11_cpu_0 pytorch-nightly
[conda] pytorch-mutex 1.0 cpu pytorch-nightly
[conda] torchaudio 2.1.0.dev20230822 py311_cpu pytorch-nightly
[conda] torchvision 0.16.0.dev20230821 py311_cpu pytorch-nightly
The text was updated successfully, but these errors were encountered: