Commit 69c3b1a
Remove unused pass and test to replace
Summary:
Disable failing test for unused pass that replaced aten linear.vector_norm with a custom operator.
We no longer get this operator in edge program so the test and the pass aren't needed anymore.
```
# Input program:
def forward(x):
return torch.linalg.vector_norm(x)
# Input size:
x = torch.randn(32)
```
```
# Edge program:
def forward(self, x: "f32[32]"):
aten_pow_tensor_scalar: "f32[32]" = executorch_exir_dialects_edge__ops_aten_pow_Tensor_Scalar(x, 2); x = None
aten_sum_dim_int_list: "f32[]" = executorch_exir_dialects_edge__ops_aten_sum_dim_IntList(aten_pow_tensor_scalar, None); aten_pow_tensor_scalar = None
aten_pow_tensor_scalar_1: "f32[]" = executorch_exir_dialects_edge__ops_aten_pow_Tensor_Scalar(aten_sum_dim_int_list, 0.5); aten_sum_dim_int_list = None
return (aten_pow_tensor_scalar_1,)
```
Differential Revision: D73235672linalg.vector_norm.1 parent b3963e6 commit 69c3b1a
File tree
2 files changed
+0
-56
lines changed- backends/cadence/aot
- tests
2 files changed
+0
-56
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1806 | 1806 | | |
1807 | 1807 | | |
1808 | 1808 | | |
1809 | | - | |
1810 | | - | |
1811 | | - | |
1812 | | - | |
1813 | | - | |
1814 | | - | |
1815 | | - | |
1816 | | - | |
1817 | | - | |
1818 | | - | |
1819 | | - | |
1820 | | - | |
1821 | | - | |
1822 | | - | |
1823 | | - | |
1824 | | - | |
1825 | | - | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
1829 | | - | |
1830 | | - | |
1831 | | - | |
1832 | | - | |
1833 | 1809 | | |
1834 | 1810 | | |
1835 | 1811 | | |
| |||
2243 | 2219 | | |
2244 | 2220 | | |
2245 | 2221 | | |
2246 | | - | |
2247 | 2222 | | |
2248 | 2223 | | |
2249 | 2224 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
1189 | 1188 | | |
1190 | 1189 | | |
1191 | 1190 | | |
1192 | | - | |
1193 | | - | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
1199 | | - | |
1200 | | - | |
1201 | | - | |
1202 | | - | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
1207 | | - | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
1211 | | - | |
1212 | | - | |
1213 | | - | |
1214 | | - | |
1215 | | - | |
1216 | | - | |
1217 | | - | |
1218 | | - | |
1219 | | - | |
1220 | | - | |
1221 | | - | |
1222 | 1191 | | |
1223 | 1192 | | |
1224 | 1193 | | |
| |||
0 commit comments