Repository navigation
Commit dd3b096
authored
[executorch] Arm backend: Preserve Arm pass behavior for Conv1d conversion (pytorch#22086)
Keep the shared Conv1d-to-Conv2d transform on the Arm pass hierarchy so
whole-graph retracing retains Arm handling for quantized operators
without fake kernels. Restore targeted-pass filtering for convolution
graphs.
Add a quantized Conv1d-plus-LeakyReLU regression that exercises the
failure reported on D116841181.
Test plan:
- `buck test @fbcode//mode/dev-nosan
fbcode//executorch/backends/arm/test:conv1d -- --exact
"fbcode//executorch/backends/arm/test:conv1d -
test_conv1d.py::test_convolution_1d_with_leaky_relu_tosa_INT"`
- `arc lint -a` and `arc lint` on changed files
- Attempted the exact `test_ceres_u55_handwriting` CI repro; the Buck
daemon was killed by host OOM before completion.
- `python -m py_compile backends/arm/_passes/conv1d_unsqueeze_pass.py
backends/arm/test/ops/test_conv1d.py`
This PR was authored with Codex.
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils
@Sebastian-Larsson @robell @rascani1 parent ff679f5 commit dd3b096
2 files changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | | - | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
121 | 126 | | |
122 | 127 | | |
123 | 128 | | |
| |||
327 | 332 | | |
328 | 333 | | |
329 | 334 | | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
330 | 347 | | |
331 | 348 | | |
332 | 349 | | |
| |||
0 commit comments