Skip to content

TorchAudio Conformer model doesn't lower to edge IR #7998

@freddan80

Description

@freddan80

🐛 Describe the bug

When exporting the TorchAudio Conformer model and lowering it to edge IR, it looks like some ops aren't properly lowered.

There's a draft: #7415 (I'll rebase this soon) that serves as a reproducer with:
pytest -c /dev/null --verbose --color=yes --log-level=DEBUG -s ./backends/arm/test/models/test_conformer.py

Versions

Collecting environment information...
PyTorch version: 2.6.0.dev20250104
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A

OS: macOS 14.6.1 (arm64)
GCC version: Could not collect
Clang version: 15.0.0 (clang-1500.3.9.4)
CMake version: version 3.29.0
Libc version: N/A

Python version: 3.10.0 (v3.10.0:b494f5935c, Oct 4 2021, 14:59:19) [Clang 12.0.5 (clang-1205.0.22.11)] (64-bit runtime)
Python platform: macOS-14.6.1-arm64-arm-64bit
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:
Apple M3 Pro

Versions of relevant libraries:
[pip3] executorch==0.6.0a0+205f6d0
[pip3] flake8==6.1.0
[pip3] flake8-breakpoint==1.1.0
[pip3] flake8-bugbear==23.9.16
[pip3] flake8-comprehensions==3.14.0
[pip3] flake8-plugin-utils==1.3.3
[pip3] flake8-pyi==23.5.0
[pip3] mypy==1.11.2
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.26.4
[pip3] optree==0.13.0
[pip3] pytorch_sphinx_theme==0.0.24
[pip3] torch==2.6.0.dev20250104
[pip3] torchao==0.8.0+git11333ba2
[pip3] torchao-nightly==2024.3.18
[pip3] torchaudio==2.6.0.dev20250104
[pip3] torchsr==1.0.4
[pip3] torchsummary==1.5.1
[pip3] torchtune==0.5.0
[pip3] torchvision==0.22.0.dev20250104
[conda] Could not collect

cc @JacobSzwejbka @angelayi @digantdesai @per @zingo @oscarandersson8218

Metadata

Metadata

Labels

module: exirIssues related to Export IR and the code under exir/partner: armFor backend delegation, kernels, demo, etc. from the 3rd-party partner, ArmtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions