Commit 3a2c777
Remove non-existent aten.transpose.Dimname overload from quantizer
Summary:
The Arm quantizer's `_one_to_one_shared_input_qspec` set references
`torch.ops.aten.transpose.Dimname` at module load time. This named-tensor
overload no longer exists in the currently pinned torch version, so simply
importing `quantization_annotator.py` raises:
AttributeError: The underlying op of 'aten.transpose' has no overload name 'Dimname'
Because nearly every Arm test imports this module transitively
(test_pipeline -> arm_tester -> quantizer -> quantization_annotator), the
import error broke test listing/collection across the whole Arm backend test
suite (e.g. fbcode//executorch/backends/arm/test:decompose_int_pow_pass failed
at listing with 'collected 0 items / 1 error').
The `.Dimname` overload is for named tensors, which never appear in exported
edge-dialect graphs, so it is never matched in practice. Removing the line is
safe and restores all Arm tests.
Differential Revision: D1076888781 parent 5af1d7b commit 3a2c777
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
551 | 550 | | |
552 | 551 | | |
553 | 552 | | |
| |||
0 commit comments